[Mono-bugs] [Bug 75117][Maj] New - Trying to run any exe not as root segfaults.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 2 04:32:29 EDT 2005


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 djtm at gmx.net.

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

--- shadow/75117	2005-06-02 04:32:29.000000000 -0400
+++ shadow/75117.tmp.8000	2005-06-02 04:32:29.000000000 -0400
@@ -0,0 +1,131 @@
+Bug#: 75117
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: Debian GNU/Linux sarge 2.6.11.11
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: JIT
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: djtm at gmx.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Trying to run any exe not as root segfaults.
+
+Description of Problem: 
+mono.bin segfaults when running any .exe, even mcs.exe and even without 
+any parameters - if not run as root. 
+ 
+Steps to reproduce the problem: 
+1. /home/djtm/mono-1.1.7-1/bin/mono.bin /home/djtm/mono-1.1.7-1/lib/mono/1.0/mcs.exe 
+ 
+Actual Results: 
+Segmentation fault 
+ 
+Expected Results: 
+Anything else ;) 
+ 
+How often does this happen?  
+Every time not run as root. 
+ 
+Additional Information: 
+Backtrace with gdb: 
+ 
+ 
+(gdb) file /home/djtm/mono-1.1.7-1/bin/mono.bin 
+Reading symbols from /home/djtm/mono-1.1.7-1/bin/mono.bin...(no debugging 
+symbols found)...done. 
+Using host libthread_db library "/lib/tls/libthread_db.so.1". 
+(gdb) rzb 
+Undefined command: "rzb".  Try "help". 
+(gdb) run 
+Starting program: /home/djtm/mono-1.1.7-1/bin/mono.bin 
+(no debugging symbols found) 
+(no debugging symbols found) 
+(no debugging symbols found) 
+(no debugging symbols found) 
+(no debugging symbols found) 
+(no debugging symbols found) 
+(no debugging symbols found) 
+[Thread debugging using libthread_db enabled] 
+[New Thread -1208069472 (LWP 7262)] 
+(no debugging symbols found) 
+(no debugging symbols found) 
+(no debugging symbols found) 
+(no debugging symbols found) 
+Usage is: mono [options] program [program-options] 
+ 
+Development: 
+    --aot                  Compiles the assembly to native code 
+    --debug                Enable debugging support 
+    --profile[=profiler]   Runs in profiling mode with the specified 
+profiler module 
+    --trace[=EXPR]         Enable tracing, use --help-trace for details 
+    --help-devel           Shows more options available to developers 
+ 
+Runtime: 
+    --config FILE          Loads FILE as the Mono config 
+    --verbose, -v          Increases the verbosity level 
+    --help, -h             Show usage information 
+    --version, -V          Show version information 
+    --optimize=OPT         Turns on or off a specific optimization 
+                           Use --list-opt to get a list of optimizations 
+    --security             Turns on the security manager (unsupported, 
+default is off) 
+Program exited with code 01. 
+(gdb) set args /home/djtm/mono-1.1.7-1/lib/mono/1.0/mcs.exe 
+(gdb) run 
+Starting 
+program: /home/djtm/mono-1.1.7-1/bin/mono.bin /home/djtm/mono-1.1.7-1/lib/mono/1.0/mcs.exe 
+(no debugging symbols found) 
+(-''-) 
+[Thread debugging using libthread_db enabled] 
+[New Thread -1208069472 (LWP 7265)] 
+(no debugging symbols found) 
+(-''-) 
+[New Thread -1215992912 (LWP 7266)] 
+Program received signal SIGSEGV, Segmentation fault. 
+[Switching to Thread -1215992912 (LWP 7266)] 
+0x410901a3 in strcmp () from /lib/tls/libc.so.6 
+(gdb) bt full 
+#0  0x410901a3 in strcmp () from /lib/tls/libc.so.6 
+No symbol table info available. 
+#1  0x410309a1 in __gconv_get_alias_db () from /lib/tls/libc.so.6 
+No symbol table info available. 
+#2  0x4103042a in __gconv_get_alias_db () from /lib/tls/libc.so.6 
+No symbol table info available. 
+#3  0x4102f7d9 in iconv_close () from /lib/tls/libc.so.6 
+No symbol table info available. 
+#4  0x4102f3e5 in iconv_open () from /lib/tls/libc.so.6 
+No symbol table info available. 
+#5  0x414d11a6 in g_convert_error_quark () from /usr/lib/libglib-2.0.so.0 
+No symbol table info available. 
+#6  0x414d1245 in g_iconv_open () from /usr/lib/libglib-2.0.so.0 
+No symbol table info available. 
+#7  0x414d181f in g_iconv_close () from /usr/lib/libglib-2.0.so.0 
+No symbol table info available. 
+#8  0x414d1ab1 in g_convert () from /usr/lib/libglib-2.0.so.0 
+No symbol table info available. 
+#9  0x414d1e5f in g_convert_with_fallback () 
+from /usr/lib/libglib-2.0.so.0 
+No symbol table info available. 
+#10 0x414ef176 in g_assert_warning () from /usr/lib/libglib-2.0.so.0 
+No symbol table info available. 
+#11 0x414ef8e4 in g_log_default_handler () from /usr/lib/libglib-2.0.so.0 
+No symbol table info available. 
+#12 0x414eed9a in g_logv () from /usr/lib/libglib-2.0.so.0 
+No symbol table info available. 
+#13 0x414eef26 in g_log () from /usr/lib/libglib-2.0.so.0 
+No symbol table info available. 
+#14 0x080f41f8 in _wapi_namespace_timestamp_release () 
+No symbol table info available. 
+#15 0x080ee6e5 in mono_pthread_key_for_tls () 
+No symbol table info available. 
+#16 0x4126ab63 in start_thread () from /lib/tls/libpthread.so.0 
+No symbol table info available. 
+#17 0x410f118a in clone () from /lib/tls/libc.so.6 
+No symbol table info available.


More information about the mono-bugs mailing list