[Mono-bugs] [Bug 593955] ctrl-c makes process go into infinite sleep loop

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 7 07:28:01 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=593955

http://bugzilla.novell.com/show_bug.cgi?id=593955#c6


--- Comment #6 from Rolf Bjarne Kvinge <rkvinge at novell.com> 2010-04-07 13:28:00 CEST ---
Created an attachment (id=352814)
 --> (http://bugzilla.novell.com/attachment.cgi?id=352814)
stack trace showing threads we're waiting for

I added a few printfs to the runtime to see which threads we're waiting for,
and it always seems to be a threadpool thread (see attached log).

Also, if the following condition is changed to always set signal_suspend = true
in mono_thread_suspend_all_other_threads, the process shuts down:

if ((thread->state & ThreadState_SuspendRequested) == 0)
    signal_suspend = TRUE;

=>

//if ((thread->state & ThreadState_SuspendRequested) == 0)
signal_suspend = TRUE;

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list