[Mono-bugs] [Bug 78168][Maj] Changed - Unloading then reloading an assembly causes segfault

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Apr 23 12:37:21 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 colin at breame.net.

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

--- shadow/78168	2006-04-23 11:46:05.000000000 -0400
+++ shadow/78168.tmp.12172	2006-04-23 12:37:21.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 78168
 Product: Mono: Runtime
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Major
 Component: misc
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: colin at breame.net               
 QAContact: mono-bugs at ximian.com
@@ -55,6 +55,83 @@
 
 http://lists.ximian.com/pipermail/mono-patches/2006-April/073538.html
 
 
 ------- Additional Comments From colin at breame.net  2006-04-23 11:46 -------
 Applied the patch and it no longer segfaults. 
+
+------- Additional Comments From colin at breame.net  2006-04-23 12:37 -------
+I've made a few changes to my code and it's causing a different  
+segfault now (still using your patch). 
+  
+Stacktrace:  
+  
+in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom  
+(string,bool) <0x4>  
+in (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom  
+(string,bool) <0xffffffe4>  
+in System.Reflection.Assembly:LoadFrom (string)  
+(at /home/colin/src/mono-1.1.15/mcs/class/corlib/System.Reflection/Assembly.cs:427)  
+in web.assembly_loader_t:initialise (System.AppDomain,string,string)  
+(at /opt/confluence/web/assembly_loader.cs:18)  
+in (wrapper remoting-invoke-with-check)  
+web.assembly_loader_t:initialise (System.AppDomain,string,string)  
+<0xfffff302>  
+in (wrapper xdomain-dispatch) web.assembly_loader_t:initialise  
+(object,byte[]&,byte[]&,string,string) <0xfffdea55>  
+in (wrapper xdomain-invoke) web.assembly_loader_t:initialise  
+(System.AppDomain,string,string) <0xffffffa3>  
+in (wrapper remoting-invoke-with-check)  
+web.assembly_loader_t:initialise (System.AppDomain,string,string)  
+<0xfff9e684>  
+in web.factory_t:load (string,string) <0x17c>  
+in web.factory_t:make_instance (web.factory_t/voc_t,string) <0x15a>  
+in web.factory_t:make_controller_instance (string) <0x16>  
+in (wrapper remoting-invoke-with-check)  
+web.factory_t:make_controller_instance (string) <0xffdb4b96>  
+in web.web_dispatch_t:dispatch  
+(http.http_request_t,http.http_response_t) <0x106>  
+in http.http_server_t:dispatch  
+(http.http_request_t,http.http_response_t) <0xa4>  
+in http.http_server_t:process_request (System.Net.Sockets.TcpClient)  
+<0x173>  
+in colib.tcp_server_t:worker_entry () <0x35>  
+in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()  
+<0xffceec48>  
+in (wrapper runtime-invoke) System.Object:runtime_invoke_void  
+(object,intptr,intptr,intptr) <0xc71891c7>  
+  
+Native stacktrace:  
+  
+        mono(mono_handle_native_sigsegv+0xc3) [0x813ec93]  
+        mono [0x8129416]  
+        [0xffffe440]  
+        mono [0x80bfeb1]  
+        mono(mono_assembly_invoke_load_hook+0x2d) [0x8090f9d]  
+        mono(mono_assembly_open_full+0xfb) [0x809172b]  
+        mono [0x808f34d]  
+        [0x42989e6b]  
+        [0x42989e25]  
+        [0x42989da1]  
+        [0x42989d44]  
+        [0x42988fdb]  
+        [0x4296786e]  
+        [0x4296774c]  
+        [0x42905d85]  
+        [0x42903733]  
+        [0x4290351f]  
+        [0x429034c6]  
+        [0x426b8017]  
+        [0x426b78b5]  
+        [0x412b417c]  
+        [0x412b1556]  
+        [0x412b1508]  
+        [0x40fa0121]  
+        mono [0x81292c0]  
+        mono(mono_runtime_invoke+0x27) [0x80c34b7]  
+        mono(mono_runtime_delegate_invoke+0x38) [0x80c3e08]  
+        mono [0x80e25ac]  
+        mono [0x80f71bb]  
+        mono [0x8108f14]  
+        /lib/tls/libpthread.so.0 [0x400cdccd]  
+        /lib/tls/libc.so.6(__clone+0x5e) [0x401d9b0e]  
+  


More information about the mono-bugs mailing list