[Mono-bugs] [Bug 79009][Nor] New - SIGSEGV happens when displaying the profile output

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 4 03:44:58 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 andriy.tkach at stu-electronics.com.

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

--- shadow/79009	2006-08-04 03:44:58.000000000 -0400
+++ shadow/79009.tmp.13379	2006-08-04 03:44:58.000000000 -0400
@@ -0,0 +1,111 @@
+Bug#: 79009
+Product: Mono: Tools
+Version: 1.1
+OS: other
+OS Details: SUSE Linux 10.1
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: monop
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: andriy.tkach at stu-electronics.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: SIGSEGV happens when displaying the profile output
+
+Description of Problem:
+
+Every Time I try to profile mod-mono-server.exe SIGSEGV happens when
+displaying the profile output.
+
+Steps to reproduce the problem:
+1. Perform actions according to given by Gonzallo step-by-step instructions 
+http://www.mono-project.com/Mod_mono#Profiling_mod-mono-server
+
+And when supposed to be emition of profile output, this bug happens.
+
+Actual Results:
+
+Here is output incliding profile.
+Output stack --------------------------------------------------------------
+
+suse:/home/user # sudo -u wwwrun  /usr/lib/pkgconfig/../../bin/mono
+--profile /usr/lib/pkgconfig/../../lib/xsp/1.0/mod-mono-server.exe
+--filename /tmp/mod_mono_server_global --applications
+/TestMono:/srv/www/htdocs/TestMono,/TestMonoLoad:/srv/www/htdocs/TestMon
+oLoad,/TestMonoSimple:/srv/www/htdocs/TestMonoSimple,/TestMonoSVS:/srv/w
+ww/htdocs/TestMonoSVS --nonstop --master
+mod-mono-server
+Listening on: /tmp/mod_mono_server_global
+Root directory: /home/user
+
+
+Total time spent compiling 7099 methods (sec): 11.09
+Slowest method to compile (sec): 0.407:
+System.IO.SearchPattern2::Compile(string)
+Time(ms) Count   P/call(ms) Method name
+########################
+ 142672.635       6  23778.773
+Mono.WebServer.ModMonoApplicationHost::ProcessRequest(int,string,string,
+string,string,string,int,string,int,string,string[],string[])
+  Callers (with count) that contribute at least for 1%:
+           3  50 % Mono.WebServer.ModMonoWorker::InnerRun(object)
+           3  50 %
+Mono.WebServer.ModMonoApplicationHost::ProcessRequest(object,byte[]&,byt
+e[]&,int,string,string,string,string,string,int,string,int,string,string
+[],string[])
+########################
+ 82363.542     100  823.635   System.Threading.Thread::Sleep(int)
+  Callers (with count) that contribute at least for 1%:
+          93  93 % System.IO.DefaultWatcher::Monitor()
+
+=================================================================
+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:
+
+
+Native stacktrace:
+
+ 
+/usr/lib/pkgconfig/../../bin/mono(mono_handle_native_sigsegv+0xe6)
+[0x81594a6]
+        /usr/lib/pkgconfig/../../bin/mono [0x8143727]
+        [0xffffe440]
+        /lib/libc.so.6(vasprintf+0xbc) [0xb7d30d8c]
+        /opt/gnome/lib/libglib-2.0.so.0(g_vasprintf+0x37) [0xb7e9c4c7]
+        /opt/gnome/lib/libglib-2.0.so.0(g_strdup_vprintf+0x32)
+[0xb7e8dc12]
+        /opt/gnome/lib/libglib-2.0.so.0(g_strdup_printf+0x27)
+[0xb7e8dc47]
+        /usr/lib/pkgconfig/../../bin/mono [0x80c43f1]
+        /usr/lib/pkgconfig/../../bin/mono [0x80c47c3]
+        /usr/lib/pkgconfig/../../bin/mono [0x80c45a7]
+        /usr/lib/pkgconfig/../../bin/mono [0x80c55fe]
+        /usr/lib/pkgconfig/../../bin/mono(mono_profiler_shutdown+0x25)
+[0x80c3f85]
+        /usr/lib/pkgconfig/../../bin/mono [0x8144bb1]
+        /usr/lib/pkgconfig/../../bin/mono(mono_main+0x867) [0x805d357]
+        /usr/lib/pkgconfig/../../bin/mono(__fxstat64+0x137) [0x805bd0b]
+        /lib/libc.so.6(__libc_start_main+0xdc) [0xb7ce987c]
+        /usr/lib/pkgconfig/../../bin/mono(sinh+0x4d) [0x805bc61]
+
+
+
+Expected Results:
+Full stacktrace of output
+
+How often does this happen? 
+Every time
+
+Additional Information:
+Not sure whether I address to proper component. Feel free to forward this
+bug to real owner.
+
+---
+Andrey Tkach


More information about the mono-bugs mailing list