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.
https://bugs.winehq.org/show_bug.cgi?id=43395
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=43395
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com
--- Comment #1 from Jacek Caban jacek@codeweavers.com --- This patch should help: https://source.winehq.org/patches/data/136292
https://bugs.winehq.org/show_bug.cgi?id=43395
Jacek Caban jacek@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |rpc
https://bugs.winehq.org/show_bug.cgi?id=43395
--- Comment #2 from Zebediah Figura z.figura12@gmail.com --- (In reply to Jacek Caban from comment #1)
This patch should help: https://source.winehq.org/patches/data/136292
Thanks for the update; I'll run some stress tests and see if that fixes it.
https://bugs.winehq.org/show_bug.cgi?id=43395
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- (In reply to Zebediah Figura from comment #2)
(In reply to Jacek Caban from comment #1)
This patch should help: https://source.winehq.org/patches/data/136292
Thanks for the update; I'll run some stress tests and see if that fixes it.
I think it may have partially worked. I repeatedly ran a null program 6000 times, and while I still got 22 instances of the "section not acquired" message, I didn't get any crashes.
https://bugs.winehq.org/show_bug.cgi?id=43395
--- Comment #4 from Zebediah Figura z.figura12@gmail.com --- Still present in 2.21.
https://bugs.winehq.org/show_bug.cgi?id=43395
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #5 from Zebediah Figura z.figura12@gmail.com --- I don't think I've seen this recently, so closing for now.
https://bugs.winehq.org/show_bug.cgi?id=43395
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.3.