[Bug 29076] New: Critical section deadlock occurs when windows application receives SIGINT during reading from stdin
http://bugs.winehq.org/show_bug.cgi?id=29076 Bug #: 29076 Summary: Critical section deadlock occurs when windows application receives SIGINT during reading from stdin Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs(a)winehq.org ReportedBy: Chaos.A.D88(a)gmail.com Classification: Unclassified Critical section deadlock occurs when windows application receives SIGINT during reading from stdin. It is very strange, but the more complex my tests are - the easier to reproduce the hangup. Example 1 hangs in ~10% of cases when I press Ctrl+C in terminal: #include <iostream> int main() { char c; std::cin >> c; } Example 2 hangs more often, but also only when i press Ctrl+C: #include <string> #include <iostream> int main() { std::string s; std::getline(std::cin, s); } Example 3 hangs almost always when pressing Ctrl+C, and in ~50% of cases when I simply pass SIGINT to the application #include <string> #include <iostream> int main() { std::string s; std::getline(std::cin, s); std::cout << s << std::endl; } All examples compiled by Visual Studio 2010. Running just with `wine test.exe` -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29076 --- Comment #1 from Anatoly Kanivetsky <Chaos.A.D88(a)gmail.com> 2011-11-12 15:13:03 CST --- Here is some logs: Right after SIGINT is passed: fixme:console:CONSOLE_DefaultHandler Terminating process 28 on event 0 When hangup occurs: err:ntdll:RtlpWaitForCriticalSection section 0x78b54598 "?" wait timed out in thread 002a, blocked by 0029, retrying (60 sec) err:ntdll:RtlpWaitForCriticalSection section 0x7efec8e0 "loader.c: loader_section" wait timed out in thread 0029, blocked by 002a, retrying (60 sec) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29076 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |-unknown --- Comment #2 from Dmitry Timoshkov <dmitry(a)baikal.ru> 2011-11-13 06:04:51 CST --- Wine version? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29076 --- Comment #3 from Anatoly Kanivetsky <Chaos.A.D88(a)gmail.com> 2011-11-14 01:20:15 CST --- wine-1.3.32-122-g2e5f73e -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29076 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.32 -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29076 --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2013-12-05 21:51:03 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.7 or newer) wine? If so, please attach the terminal output in 1.7.7 (see http://wiki.winehq.org/FAQ#get_log). -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29076 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED --- Comment #5 from Ken Sharp <imwellcushtymelike(a)gmail.com> --- Abandoned. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=29076 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org