Bug 1545 - accept isn't interrupted by Environment.Exit
Summary: accept isn't interrupted by Environment.Exit
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2011-10-18 05:55 UTC by Rolf Bjarne Kvinge [MSFT]
Modified: 2013-08-23 12:54 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

test case (840 bytes, application/octet-stream)
2011-10-18 05:55 UTC, Rolf Bjarne Kvinge [MSFT]
t a a bt (4.06 KB, text/plain)
2011-10-18 05:56 UTC, Rolf Bjarne Kvinge [MSFT]

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Rolf Bjarne Kvinge [MSFT] 2011-10-18 05:55:51 UTC
Created attachment 713 [details]
test case

Compile and run attached test case. The program doesn't exit (with master, it does exit with 2.10).
Comment 1 Rolf Bjarne Kvinge [MSFT] 2011-10-18 05:56:43 UTC
Created attachment 714 [details]
t a a bt
Comment 2 Rolf Bjarne Kvinge [MSFT] 2011-10-18 05:57:26 UTC
Rodrigo, may this have something to do with the mach thread changes in master?
Comment 3 Gonzalo Paniagua Javier 2011-10-20 21:09:37 UTC
Rofl, this looks like a dupe of http://bugzilla.xamarin.com/show_bug.cgi?id=530
Comment 4 Rolf Bjarne Kvinge [MSFT] 2011-10-21 09:36:01 UTC
As far as I could tell thread_suspend is called on the accept'ing thread, but accept never returned. I'm not sure if that fits "the background thread is never signalled".
Comment 5 Rodrigo Kumpera 2013-08-23 12:54:28 UTC
Fixed in 3.2