https://bugs.winehq.org/show_bug.cgi?id=43395
Bug ID: 43395 Summary: Wine intermittently crashes after any program terminates Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: z.figura12@gmail.com Distribution: ---
Every so often, I see one of the following two outputs appear after Wine closes:
err:ntdll:RtlLeaveCriticalSection section 0x110940 is not acquired
and
wine: Unhandled page fault on write access to 0x695de019 at address 0x7bc4f41e (thread 0018), starting debugger... err:seh:start_debugger Couldn't start debugger ("winedbg --auto 14 96") (1115) Read the Wine Developers Guide on how to set up winedbg or another debugger
In the first message the section 0x110940 is constant; in the second the address 0x7bc4f41e is constant but the written address varies.
The critical section message appears because a critical section is deleted while owned. The critical section in question appears to be that of the database in services.exe.
The crash address is in ntdll/heap.c:HEAP_CreateFreeBlock. It is probably being triggered by code in RtlLeaveCriticalSection(), although it may have a different source.