https://bugzilla.novell.com/show_bug.cgi?id=654883
https://bugzilla.novell.com/show_bug.cgi?id=654883#c0 Summary: mono loops in sem_wait() unless a signal is sent Classification: Mono Product: Mono: Runtime Version: 2.8.x Platform: x86-64 OS/Version: OpenBSD Status: NEW Severity: Normal Priority: P5 - None Component: io-layer AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; OpenBSD amd64; en-US; rv:1.9.2.12) Gecko/20101101 Firefox/3.6.12 Hi The best way to reproduce the problem is to run NANt.exe -h and sometimes it will just hang until it gets a signal (SIGINFO in this case). (ws nant 15083)$ /home/pobj/mono-2.8.1/mono-2.8.1/mono/mini/mono /usr/local/share/NAnt/bin/NAnt.exe -h -- hangs -- sending SIGINFO from another terminal 0x208f44800 running 15 ------P--f 0000 0x207b1a800*running 15 -------d-f 0000 0x20da06000 cond_wait 15 -c-C-W-d-f 0000 0x20da98800 cond_wait 15 -c-C-W---f 0000 main NAnt 0.90 (Build 0.90.3780.0; release; 05/08/2010) Copyright (C) 2001-2010 Gerry Shaw http://nant.sourceforge.net NAnt comes with ABSOLUTELY NO WARRANTY. --- Thread 5 (process 14967, thread 0x206267000): #0 _thread_kern_sched (scp=0x0) at /usr/src/lib/libpthread/uthread/uthread_kern.c:482 #1 0x000000020631915f in pthread_cond_wait (cond=0x20084a050, mutex=0x20084a048) at /usr/src/lib/libpthread/uthread/uthread_cond.c:261 #2 0x0000000206312464 in sem_wait (sem=0xac8070) at /usr/src/lib/libpthread/uthread/uthread_sem.c:173 #3 0x00000000005d4f3a in mono_sem_wait (sem=0xac8070, alertable=0) at mono-semaphore.c:102 #4 0x000000000051bd0a in finalizer_thread (unused=Variable "unused" is not available. ) at gc.c:1048 #5 0x0000000000598bef in start_wrapper (data=Variable "data" is not available. ) at threads.c:747 #6 0x00000000005ca483 in thread_start_routine (args=0x2079352f8) at wthreads.c:285 #7 0x000000020e1127a8 in GC_inner_start_routine () from /usr/local/lib/libgc.so.3.0 #8 0x000000020e112824 in GC_start_routine () from /usr/local/lib/libgc.so.3.0 #9 0x0000000206313cfd in _thread_start () at /usr/src/lib/libpthread/uthread/uthread_create.c:242 #10 0x000000000000002b in ?? () #11 0x0000000000000164 in ?? () #12 0x0000000206b7fb38 in ?? () #13 0x0000000000000000 in ?? () Reproducible: Sometimes Steps to Reproduce: 1. Run NAnt.exe -h several times and it will stuck before printing it's header Actual Results: Send any signal (SIGINFO in this case) to mono. pkill -INFO -f mono Expected Results: Should not get stuck in sem_wait(). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
