http://bugs.winehq.org/show_bug.cgi?id=9869
Summary: Tornado 2.2.1: Unhandled exception code 80000003 Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-msvcrt AssignedTo: wine-bugs@winehq.org ReportedBy: nick.couchman@seakr.com
Whenever I try to run Wind River Tornado 2.2.1 on Wine I get the following messages:
fixme:dbghelp_msc:pe_load_debug_directory This guy has FPO information err:syslevel:_EnterSysLevel (0x7ee220e0, level 2): Holding 0x7ed0eda0, level 3. Expect deadlock! err:syslevel:_EnterSysLevel (0x7ee220e0, level 2): Holding 0x7ed0eda0, level 3. Expect deadlock! err:syslevel:_CheckNotSysLevel Holding lock 0x7ed0eda0 level 3 err:seh:raise_exception Unhandled exception code 80000003 flags 0 addr 0x7b8888c0
and the application completely crashes. I've attached a (gzipped) trace log using "WINEDEBUG=+relay wine..." to run the application. I've also attached the output from winedbg at the point where the program crashes. I will be happy to provide more info if needed.
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #1 from Nick Couchman nick.couchman@seakr.com 2007-10-02 09:25:22 --- Created an attachment (id=8353) --> (http://bugs.winehq.org/attachment.cgi?id=8353) Winedbg output when program crashes.
http://bugs.winehq.org/show_bug.cgi?id=9869
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Tornado 2.2.1: Unhandled |Wind River Tornado 2.2.1 |exception code 80000003 |crashes
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #2 from Nick Couchman nick.couchman@seakr.com 2007-10-02 09:30:16 --- Created an attachment (id=8354) --> (http://bugs.winehq.org/attachment.cgi?id=8354) Relay tracing log file
Had to remove the first few hundred thousand lines to get the file to a size that would upload correctly.
http://bugs.winehq.org/show_bug.cgi?id=9869
Louis Lenders xerox_xerox2000@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox_xerox2000@yahoo.co.uk
--- Comment #3 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-10-02 12:09:57 --- I think this is just another dupe of #7380. Couls you try if this patch works around the bug: http://bugs.winehq.org/attachment.cgi?id=5564
Thx
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #4 from Nick Couchman nick.couchman@seakr.com 2007-10-02 15:18:42 --- (In reply to comment #3)
I think this is just another dupe of #7380. Couls you try if this patch works around the bug: http://bugs.winehq.org/attachment.cgi?id=5564
Thx
Okay, the app no longer goes away on its own, but it does generate an error and the following is the output on the console:
Font metrics: 100.0% done fixme:menu:GetSystemMenu not supported on other process window 0x10026 fixme:wtsapi:WTSEnumerateSessionsA Stub (nil) 0x00000000 0x00000001 0x6eeacc 0x6eead4 fixme:msvcrt:MSVCRT__sopen : pmode 0x168c40 ignored err:ntdll:RtlpWaitForCriticalSection section 0x7e657ee0 "x11drv_main.c: X11DRV_CritSection" wait timed out in thread 0009, blocked by 0000, retrying (60 sec)
I'll also attach the log file from the application, which seems to contain some more info...
http://bugs.winehq.org/show_bug.cgi?id=9869
Nick Couchman nick.couchman@seakr.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #8353 is|0 |1 obsolete| | Attachment #8354 is|0 |1 obsolete| |
--- Comment #5 from Nick Couchman nick.couchman@seakr.com 2007-10-02 15:20:20 --- Created an attachment (id=8355) --> (http://bugs.winehq.org/attachment.cgi?id=8355) Problem Log, after applying patch.
This is the output after applying the patch. I no longer get the previous error, but the application generates a dialog box with the text in the log file.
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #6 from Nick Couchman nick.couchman@seakr.com 2007-10-03 14:58:29 --- Created an attachment (id=8376) --> (http://bugs.winehq.org/attachment.cgi?id=8376) winedbg output after patch
Here's the winedbg output after applying the patch. Looks like the function "convert_888_to_565_asis" is causing problems??
http://bugs.winehq.org/show_bug.cgi?id=9869
Nick Couchman nick.couchman@seakr.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wine-msvcrt |wine-x11driver
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #7 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-10-03 15:23:12 --- uh, looks like it runs into a similar bug again :(
Is there a demo available that shows the same problem?
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #8 from Nick Couchman nick.couchman@seakr.com 2007-10-03 15:29:56 --- (In reply to comment #7)
uh, looks like it runs into a similar bug again :(
Is there a demo available that shows the same problem?
What sort of demo? The Tornado 2.2.1 application is pretty old - Wind River doesn't distribute it any more, as far as I can tell. We still have to run it, though, so here I am...
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #9 from Nick Couchman nick.couchman@seakr.com 2007-10-03 16:17:18 --- (In reply to comment #7)
uh, looks like it runs into a similar bug again :(
Is there a demo available that shows the same problem?
Well, in perusing the Wine Developers Guide, it looks like there's a thread somewhere that enters a critical section and then fails to leave properly? I could be completely off - I'm just reading the developers guide for the first time, but that seems to match the original error message I was getting.
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #10 from Nick Couchman nick.couchman@seakr.com 2007-10-04 10:56:31 --- (In reply to comment #6)
Created an attachment (id=8376)
--> (http://bugs.winehq.org/attachment.cgi?id=8376) [details]
winedbg output after patch
Here's the winedbg output after applying the patch. Looks like the function "convert_888_to_565_asis" is causing problems??
I tried it over NX from home last night and this time the function at the end of the list was convert_888_to_0888_asis instead of 565_asis. For what it's worth...
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #11 from Nick Couchman nick.couchman@seakr.com 2007-10-04 14:43:29 --- (In reply to comment #8)
(In reply to comment #7)
uh, looks like it runs into a similar bug again :(
Is there a demo available that shows the same problem?
What sort of demo? The Tornado 2.2.1 application is pretty old - Wind River doesn't distribute it any more, as far as I can tell. We still have to run it, though, so here I am...
Also meant to mention that I have a version of Tornado - 2.2 - that runs perfectly fine.
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #12 from Nick Couchman nick.couchman@seakr.com 2007-10-04 14:49:45 --- (In reply to comment #9)
(In reply to comment #7)
uh, looks like it runs into a similar bug again :(
Is there a demo available that shows the same problem?
Well, in perusing the Wine Developers Guide, it looks like there's a thread somewhere that enters a critical section and then fails to leave properly? I could be completely off - I'm just reading the developers guide for the first time, but that seems to match the original error message I was getting.
Traced it down to the following line in the function convert_888_to_565_asis: srcval1=srcpixel[0];
The function runs once prior to this just fine, but then fails this time. I'll attach the last few lines of output from the latest runs with some tracing turned on...
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #13 from Nick Couchman nick.couchman@seakr.com 2007-10-04 14:52:27 --- Created an attachment (id=8388) --> (http://bugs.winehq.org/attachment.cgi?id=8388) winedbg output with x11drv,bitmap tracing
Here's the output from winedbg with tracing turned on for x11drv and bitmap.
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #14 from Nick Couchman nick.couchman@seakr.com 2007-10-04 15:38:46 --- (In reply to comment #3)
I think this is just another dupe of #7380. Couls you try if this patch works around the bug: http://bugs.winehq.org/attachment.cgi?id=5564
Thx
I tried the original patch that you posted to the list for this bug (catching the exception in the conversion function), and this allows the application to run.
http://bugs.winehq.org/show_bug.cgi?id=9869
--- Comment #15 from Louis Lenders xerox_xerox2000@yahoo.co.uk 2007-10-04 15:59:53 --- So the application runs fine using that patch? If so, it's really a duplicate of that bug and should be resolved as such. Regards
http://bugs.winehq.org/show_bug.cgi?id=9869
Nick Couchman nick.couchman@seakr.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #16 from Nick Couchman nick.couchman@seakr.com 2007-10-04 16:02:00 --- Since the patches in bug 7380 seem to help/fix this problem, this looks like a duplicate bug of that issue. Same line of the code seems to be responsible for the issues with Tornado 2.2.1. Closing as a duplicate...
*** This bug has been marked as a duplicate of bug 7380 ***
http://bugs.winehq.org/show_bug.cgi?id=9869
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #17 from Austin English austinenglish@gmail.com 2008-10-29 14:17:35 --- Closing abandoned.
http://bugs.winehq.org/show_bug.cgi?id=9869
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
https://bugs.winehq.org/show_bug.cgi?id=9869
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |0.9.46. CC| |focht@gmx.net Component|winex11.drv |gdi32