[Mono-bugs] [Bug 27694][Nor] New - mint crashes when run as a user in FreeBSD 4.5

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
12 Jul 2002 02:23:55 -0000


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 logic@phayze.com.

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

--- shadow/27694	Thu Jul 11 22:23:55 2002
+++ shadow/27694.tmp.22149	Thu Jul 11 22:23:55 2002
@@ -0,0 +1,63 @@
+Bug#: 27694
+Product: Mono/Runtime
+Version: unspecified
+OS: other
+OS Details: FreeBSD 4.5
+Status: NEW   
+Resolution: 
+Severity: 040 One week
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: logic@phayze.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mint crashes when run as a user in FreeBSD 4.5
+
+NB: Bug report was not filed from the machine upon which the error 
+occurred, so User-Agent fields (MSIE 6.0, .NET CLR v1.0.3705) do not 
+contain accurate values.
+
+Description of Problem:
+mint crashes when run as a user (as opposed to as root) on at least one 
+FreeBSD 4.5 machine.
+
+Steps to reproduce the problem:
+1. Install & compile mono on a FreeBSD 4.5 machine
+2. Run mint on a valid executable as a non-root user
+
+Actual Results:
+mint coredumps somewhere inside CreateSemaphore()
+
+Expected Results:
+mint runs the program
+
+How often does this happen? 
+always
+
+Additional Information:
+
+Stack backtrace at time of crash:
+
+(gdb) bt
+#0  0x2812ad7d in _atomic_lock () from /usr/lib/libc_r.so.4
+#1  0x2812acef in _spinlock_debug () from /usr/lib/libc_r.so.4
+#2  0x2812eaba in pthread_mutex_lock () from /usr/lib/libc_r.so.4
+#3  0x80a4f53 in _wapi_handle_lock_handle (handle=0x14) at ../../mono/io-
+layer/handles-private.h:168
+#4  0x80a4cc4 in CreateSemaphore (security=0x0, initial=0, max=2147483647, 
+name=0x0) at semaphores.c:140
+#5  0x808680b in mono_runtime_init (domain=0x80dfe00, start_cb=0) at 
+appdomain.c:55
+
+Tail of strace:
+
+poll([{fd=3, events=POLLRDNORM}, {fd=6, events=POLLRDNORM, 
+revents=POLLRDNORM}] 2, INFTIM) = 1
+gettimeofday({1026437632, 302519}, NULL) = 0
+recvfrom(6, "\1\0\0\0\4\0\0\0\23\0\0\0X\3112(\6\0\0\0", 20, 0, NULL, NULL) 
+= 20
+sigaction(SIGPIPE, {SIG_DFL}, NULL)     = 0
+--- SIGSEGV (Segmentation fault) ---