[Mono-bugs] [Bug 78675][Maj] New - resgen segfaults when compiling resource

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jun 19 15:01:33 EDT 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 prensing at cimetrics.com.

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

--- shadow/78675	2006-06-19 15:01:33.000000000 -0400
+++ shadow/78675.tmp.18253	2006-06-19 15:01:33.000000000 -0400
@@ -0,0 +1,124 @@
+Bug#: 78675
+Product: Mono: Tools
+Version: 1.1
+OS: 
+OS Details: Fedora Core 5
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: tools
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: prensing at cimetrics.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: resgen segfaults when compiling resource
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+resgen and resgen2 produce a SIGSEGV when trying to compile a resource file
+containing a bitmap. The signal is caught by the runtime. Here is the output:
+
+> resgen2 FormSplash.resx 
+Read in 2 resources from 'FormSplash.resx'
+
+=================================================================
+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
+System.Drawing.Image:System.Runtime.Serialization.ISerializable.GetObjectData
+(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
+<0xffffffff>
+in
+System.Drawing.Image:System.Runtime.Serialization.ISerializable.GetObjectData
+(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)
+<0x63>
+in
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:GetObjectData
+(object,System.Runtime.Serialization.Formatters.Binary.TypeMetadata&,object&)
+<0x227>
+in System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObject
+(System.IO.BinaryWriter,long,object) <0x44>
+in
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectInstance
+(System.IO.BinaryWriter,object,bool) <0x108>
+in
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteQueuedObjects
+(System.IO.BinaryWriter) <0x2d>
+in
+System.Runtime.Serialization.Formatters.Binary.ObjectWriter:WriteObjectGraph
+(System.IO.BinaryWriter,object,System.Runtime.Remoting.Messaging.Header[])
+<0x37>
+in System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
+(System.IO.Stream,object,System.Runtime.Remoting.Messaging.Header[]) <0x1fa>
+in System.Runtime.Serialization.Formatters.Binary.BinaryFormatter:Serialize
+(System.IO.Stream,object) <0x15>
+in System.Resources.ResourceWriter:Generate () <0xbf9>
+in System.Resources.ResourceWriter:Dispose (bool) <0x33>
+in System.Resources.ResourceWriter:Close () <0xc>
+in ResGen:CompileResourceFile (string,string) <0x309>
+in ResGen:Main (string[]) <0x332>
+in (wrapper runtime-invoke) System.Object:runtime_invoke_int_string[]
+(object,intptr,intptr,intptr) <0x7ff7ac7>
+
+Native stacktrace:
+
+        /usr/bin/mono(mono_handle_native_sigsegv+0xbb) [0x8153d0b]
+        /usr/bin/mono [0x813e66f]
+        [0x170440]
+        /usr/bin/mono [0x813dd74]
+        /usr/bin/mono [0x813e0c2]
+        /usr/bin/mono [0x813e25a]
+        /usr/bin/mono(mono_compile_method+0x3a) [0x80d636a]
+        /usr/bin/mono(mono_magic_trampoline+0x1a) [0x815519a]
+        [0x160032]
+        [0x7e4500]
+        [0x7e3eed]
+        [0x7e3d09]
+        [0x7e3b36]
+        [0x7e39f8]
+        [0x7e1ba3]
+        [0x7e199e]
+        [0x7deb7a]
+        [0x7ddce4]
+        [0x7ddc95]
+        [0x1491da]
+        [0x146f1b]
+        [0x146a84]
+        /usr/bin/mono [0x813e520]
+        /usr/bin/mono(mono_runtime_invoke+0x27) [0x80d7b67]
+        /usr/bin/mono(mono_runtime_exec_main+0xb1) [0x80d8cf1]
+        /usr/bin/mono(mono_runtime_run_main+0x171) [0x80d88c1]
+        /usr/bin/mono(strftime+0x1ba2) [0x805c602]
+        /usr/bin/mono(mono_main+0x857) [0x805cfe7]
+        /usr/bin/mono(__fxstat64+0x12b) [0x805b9bb]
+        /lib/libc.so.6(__libc_start_main+0xdc) [0xa13724]
+        /usr/bin/mono(sinh+0x41) [0x805b911]
+Aborted
+
+I have other resource files which generate a long series of SIGSEGV. 
+
+Steps to reproduce the problem:
+1. Do "resgen  FormSplash.resx"
+2. 
+3. 
+
+Actual Results:
+Long output about SIGSEGV
+
+Expected Results:
+
+
+How often does this happen? 
+Always.
+
+Additional Information:
+I am using the Novell RPMs version mono-devel 1.1.15-0.novell.


More information about the mono-bugs mailing list