http://bugs.winehq.org/show_bug.cgi?id=24415
Summary: Unhandled exception from RtlReAllocateHeap when starting PTR WoW.exe Product: Wine Version: 20050930 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: ajrich@earthlink.net
Created an attachment (id=30777) --> (http://bugs.winehq.org/attachment.cgi?id=30777) A backtrace, the last of many.
Using today's GIT (for the default locale function), I frequently (but do not always) crash with an unhelpful message - err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc49b72
winedbg points to RtlReAllocateHeap as the culprit. I'm not used to operating it so I don't know if the many exceptions (most labeled page fault, which if that's the page fault I'm familiar with is an entirely normal thing) that can be passed through to reach the unhandled exception are significant. A backtrace of only the last exception caught by winedbg before the crash is attached.
This crash does not occur 100% of the time - it does, however, occur more often than not.
http://bugs.winehq.org/show_bug.cgi?id=24415
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #1 from Jerome Leclanche adys.wh@gmail.com 2010-09-15 21:41:52 CDT --- Today's git version is 1.3.2, please set it correctly in the future.
I'm not getting this. Did it happen for you before today? If not, this may be a regression, you should run a regression test: http://wiki.winehq.org/RegressionTesting
Also this is unlikely to be ntdll, please do not guess components.
http://bugs.winehq.org/show_bug.cgi?id=24415
Alan J Richardson ajrich@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|ntdll |-unknown Version|20050930 |1.3.2
--- Comment #2 from Alan J Richardson ajrich@earthlink.net 2010-09-15 22:22:32 CDT --- It's difficult to ascertain if this is a regression, as the PTR is recent and this crash doesn't occur for me in WoW 3.3.5.
http://bugs.winehq.org/show_bug.cgi?id=24415
--- Comment #3 from Jerome Leclanche adys.wh@gmail.com 2010-09-15 22:24:23 CDT --- Does this happen on Cataclysm client (4.0.1.12942)?
http://bugs.winehq.org/show_bug.cgi?id=24415
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #4 from Dan Kegel dank@kegel.com 2010-09-15 22:37:29 CDT --- If it's heap corruption, WINEDEBUG=+heap might find it sooner.
If it's a bug in our wininet, winetricks wininet might work around it.
http://bugs.winehq.org/show_bug.cgi?id=24415
--- Comment #5 from Alan J Richardson ajrich@earthlink.net 2010-09-15 23:20:43 CDT --- Created an attachment (id=30781) --> (http://bugs.winehq.org/attachment.cgi?id=30781) Additional backtraces
I backed up my local git to the 1.3.2 release and applied the patch from bug 24332 to generate these three backtraces.
Some notes - the first two were run consecutively from the same terminal. The third was run from a new terminal, and also includes a bit more of the output illustrating a pattern I've noticed: the unhandled exception appears to be a repeat of a handled exception. (Or maybe that's just the first pass feature of the debugger?)
I let the launcher download up to "acceptable" before starting to play, taking advantage of the new "streaming" feature. Allowing the patcher to complete may be a workaround, if the crash is caused by the streaming code. Could those who don't see this crash check in with whether they are streaming or allowed the launcher to completely install the client before attempting play. Testing myself would involve many hours of downloading, especially if it is indeed a workaround and I'd have to start the install over again to reproduce the bug.
I'll try +heap next.
http://bugs.winehq.org/show_bug.cgi?id=24415
--- Comment #6 from Alan J Richardson ajrich@earthlink.net 2010-10-02 19:31:35 CDT --- Due to unrelated problems, I was unable to do further testing for a week or two and reformatted my Linux partition.
With a freshly updated Ubuntu 10.04 LTS, makefile build and install of today's git after apt-get build-dep wine, the problem persists. The trace consistently shows MMDRV_InitPerType and below, with a few ALSA functions sometimes appearing between that and RtlReAllocateHeap.
I'm going to try letting the launcher download to completion as soon as I can, to see if that works around the problem.
http://bugs.winehq.org/show_bug.cgi?id=24415
--- Comment #7 from Alan J Richardson ajrich@earthlink.net 2011-02-01 16:41:40 CST --- A new kernel version (which mentioned an ALSA fix) caused the misbehavior to end. So, bug not in wine, bug fixed. Resolve invalid, or fixed?
http://bugs.winehq.org/show_bug.cgi?id=24415
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #8 from Dan Kegel dank@kegel.com 2011-02-01 16:47:12 CST --- Sounds like invalid. Let us know if it comes back.
http://bugs.winehq.org/show_bug.cgi?id=24415
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Dmitry Timoshkov dmitry@codeweavers.com 2011-02-02 00:24:58 CST --- Closing invalid.