[Mono-bugs] [Bug 77855][Nor] New - Occasional segfaults in System.Drawing.Image:Save

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 20 07:04:29 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by juraj at hotfeet.ch.

http://bugzilla.ximian.com/show_bug.cgi?id=77855

--- shadow/77855	2006-03-20 07:04:29.000000000 -0500
+++ shadow/77855.tmp.13140	2006-03-20 07:04:29.000000000 -0500
@@ -0,0 +1,136 @@
+Bug#: 77855
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: FC4
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Drawing.
+AssignedTo: jordi at ximian.com                            
+ReportedBy: juraj at hotfeet.ch               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Occasional segfaults in System.Drawing.Image:Save
+
+When saving bitmaps to PNG files, We are getting segfaults occasionally. We
+have not yet found a way to reproduce the bug reliably, so we cannot offer
+a test case.
+
+Unfortunately, this bug brings down all of our ASP.NET websites, so it's
+pretty crucial for us to fix the problem.
+
+I'm using Mono 1.1.13.4.
+
+This is the stacktrace:
+
+=================================================================
+Got a SIGSEGV while executing native code. This usually indicates
+a fatal error in the mono runtime or one of the native libraries
+used by your application.
+=================================================================
+
+Stacktrace:
+
+in (wrapper managed-to-native)
+System.Runtime.InteropServices.Marshal:PtrToStringUni (intptr) <0x4>
+in (wrapper managed-to-native)
+System.Runtime.InteropServices.Marshal:PtrToStringUni (intptr) <0xfec12abe>
+in System.Drawing.GdipImageCodecInfo:MarshalTo
+(System.Drawing.GdipImageCodecInfo,System.Drawing.Imaging.ImageCodecInfo)
+<0x76>
+in System.Drawing.Imaging.ImageCodecInfo:GetImageEncoders () <0x1d2>
+in System.Drawing.Image:findEncoderForFormat
+(System.Drawing.Imaging.ImageFormat) <0x36>
+in System.Drawing.Image:Save
+(System.IO.Stream,System.Drawing.Imaging.ImageFormat) <0x19>
+in (wrapper remoting-invoke-with-check) System.Drawing.Image:Save
+(System.IO.Stream,System.Drawing.Imaging.ImageFormat) <0xfde7a720>
+in HotFeet.Vpds.Web.BarChartHandler:CreatePng (System.Web.HttpRequest) <0x848>
+in HotFeet.Vpds.Web.BarChartHandler:ServePng (System.Web.HttpContext) <0xd2>
+in HotFeet.Vpds.Web.BarChartHandler:ProcessRequest (System.Web.HttpContext)
+<0x5c>
+in <Pipeline>__1:MoveNext () <0x10a0>
+in System.Web.HttpApplication:Tick () <0x1f>
+in System.Web.HttpApplication:Start (object) <0x37>
+in
+System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest
+(System.Web.HttpContext,System.AsyncCallback,object) <0x68>
+in System.Web.HttpRuntime:RealProcessRequest (object) <0x1ab>
+in System.Web.HttpRuntime:ProcessRequest (System.Web.HttpWorkerRequest) <0x2c>
+in Mono.WebServer.MonoWorkerRequest:ProcessRequest () <0xa>
+in Mono.WebServer.BaseApplicationHost:ProcessRequest
+(Mono.WebServer.MonoWorkerRequest) <0x43>
+in Mono.WebServer.ModMonoApplicationHost:ProcessRequest
+(int,string,string,string,string,string,int,string,int,string,string[],string[])
+<0xdc>
+in (wrapper remoting-invoke-with-check)
+Mono.WebServer.ModMonoApplicationHost:ProcessRequest
+(int,string,string,string,string,string,int,string,int,string,string[],string[])
+<0xffffff0a>
+in (wrapper xdomain-dispatch)
+Mono.WebServer.ModMonoApplicationHost:ProcessRequest
+(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,int,string,string[],string[])
+<0xfbde8a4e>
+in (wrapper xdomain-invoke)
+Mono.WebServer.ModMonoApplicationHost:ProcessRequest
+(int,string,string,string,string,string,int,string,int,string,string[],string[])
+<0xffffff6a>
+in (wrapper remoting-invoke-with-check)
+Mono.WebServer.ModMonoApplicationHost:ProcessRequest
+(int,string,string,string,string,string,int,string,int,string,string[],string[])
+<0xffe5cb34>
+in Mono.WebServer.ModMonoWorker:InnerRun (object) <0x404>
+in Mono.WebServer.ModMonoWorker:Run (object) <0x17>
+in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object
+(object) <0xffffff95>
+in (wrapper runtime-invoke) System.Object:runtime_invoke_void_object
+(object,intptr,intptr,intptr) <0x7e0b44f>
+
+Native stacktrace:
+
+        /usr/lib/pkgconfig/../../bin/mono(mono_handle_native_sigsegv+0xbb)
+[0x814ee2b]
+        /usr/lib/pkgconfig/../../bin/mono [0x813b2cf]
+        [0xe46440]
+        [0x51f3acc]
+        [0x3e06567]
+        [0x3e060c3]
+        [0x3e05d5f]
+        [0x3e05c6a]
+        [0x3e05c10]
+        [0x1c802e1]
+        [0x1c7ec4b]
+        [0x1c7a0dd]
+        [0x1c5e3d1]
+        [0x1c5d258]
+        [0x1c58e20]
+        [0x1c58d01]
+        [0x1c4f8dc]
+        [0x1c4f40d]
+        [0x1c4f3cb]
+        [0x1c4e49c]
+        [0x46ebdcd]
+        [0x46eb534]
+        [0x46eb313]
+        [0x4d3a4f]
+        [0x4d388b]
+        [0x3302ed]
+        [0x32fe40]
+        [0x32fe04]
+        [0x32fd5e]
+        /usr/lib/pkgconfig/../../bin/mono [0x813b180]
+        /usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke+0x27) [0x80d63f7]
+        /usr/lib/pkgconfig/../../bin/mono(mono_runtime_invoke_array+0x270)
+[0x80d78c0]
+        /usr/lib/pkgconfig/../../bin/mono(mono_message_invoke+0xc5) [0x80d93d5]
+        /usr/lib/pkgconfig/../../bin/mono [0x80a509f]
+        /usr/lib/pkgconfig/../../bin/mono [0x80a58c9]
+        /usr/lib/pkgconfig/../../bin/mono [0x8099fb2]
+        /usr/lib/pkgconfig/../../bin/mono [0x80f5067]
+        /usr/lib/pkgconfig/../../bin/mono [0x8113175]
+        /lib/libpthread.so.0 [0x9e7b80]
+        /lib/libc.so.6(__clone+0x5e) [0x8699ce]


More information about the mono-bugs mailing list