Crashes in winetest under wine

Austin Lund austin.lund at
Tue Jul 8 00:42:02 CDT 2008

2008/7/7 Austin Lund <austin.lund at>:
> 2008/7/3 Austin Lund <austin.lund at>:
>> I get a crash all the time in winetest since 1.0.  Seems there is not
>> a problem with any of the tests themselves (i.e. running make test).
>> The last few lines of output from winetest is:
>> fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 8
>> fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16
>> err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found
>> 1440x900x24 @0! (XRandR)
>> err:ntdll:RtlpWaitForCriticalSection section 0x7bc91824 "loader.c:
>> loader_section" wait timed out in thread 0039, blocked by 0036,
>> retrying (60 sec)
>> wine: Critical section 7bc91824 wait failed at address 0x7bc3ab60
>> (thread 0039), starting debugger...
>> err:seh:raise_exception Unhandled exception code c0000194 flags 0 addr
>> 0x7bc3ab60
>> And the output file made in /tmp has at the end:
>> uxtheme:system start dlls/uxtheme/tests/system.c -
>> system.c:491: Starting test_IsThemed()
>> system.c:87: Theming is inactive
>> system.c:495: Starting test_GetWindowTheme()
>> system.c:499: Starting test_SetWindowTheme()
>> system.c:503: Starting test_OpenThemeData()
>> system.c:263: No active theme, skipping rest of OpenThemeData tests
>> system.c:507: Starting test_GetCurrentThemeName()
>> system.c:511: Starting test_CloseThemeData()
>> system: 45 tests executed (11 marked as todo, 0 failures), 0 skipped.
>> uxtheme:system done (0)
>> It takes quite a long time to get to the point where it crashes so I'd
>> be open to ideas as to how to narrow this down quicker.
>> I'm running everything on a clean install with an empty ~/.wine directory.
> I still get this.  When doing "make test" in uxtheme everything is
> fine.  The next test to be run is version, but it also works fine.
> Does anyone have any idea how to start debuging this?

Well, I bisected this.  And the first commit which crashes for me is

commit 3434935f44eadecae1e8aa11d08142a40b671978
Author: Hans Leidekker <hans at>
Date:   Mon Jun 23 20:57:46 2008 +0200

    wininet: Clear last error upon successful return from HttpSendRequest.

There are no valgrind warnings for this code, so things must be more
complex than I'd like them to be.

More information about the wine-devel mailing list