http://bugs.winehq.org/show_bug.cgi?id=24068
Summary: Crash in dbghelp on 64-bit (WoW) Product: Wine Version: 1.3.1 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dbghelp AssignedTo: wine-bugs@winehq.org ReportedBy: adys.wh@gmail.com
See attached backtrace. Note: I cannot repro the crash that got me there in the first place, so I won't be able to give further logs. However, I was hinted on IRC the backtrace could contain enough data to figure the bug out.
[06:34:13] <KittyCat> looks like it's unwinding the stack, so it might just be a thrown exception. can't tell if it's unhandled or not.. [06:35:33] <@Thunderbird_> dwarf2_virtual_unwind does nothing with context it just passes it through at the end of the call to this helper function (perhaps it should have checked context before? I don't know the code) [06:40:56] <KittyCat> hmm. this doesn't look like it should even compile.. [06:42:08] <KittyCat> oh, wait. okay [06:43:08] <KittyCat> it's dereferenced so it can be copied to a temp and restored later [06:43:42] <KittyCat> and some of the switch cases may do something with it [06:44:44] <KittyCat> might have to ask Eric Pouech what's supposed to happen if it's given a NULL context pointer [06:46:11] <KittyCat> or AJ [06:55:56] <KittyCat> looks like that code was added in commit 036392c5d131d73e84ad0ed52a796b2cb9c1139d, on March 27th [07:02:13] <KittyCat> it seems, before that commit it'd have fallen back to a default_unwind() function, which would also take and use the context (unless sw_read_mem failed) [07:06:03] <KittyCat> it looks like it's calling StackWalk explicitly [07:09:08] <KittyCat> from the looks of it, wow is calling StackWalk with a NULL context. msdn doesn't seem to have StackWalk, but according to StackWalk64: [07:09:14] <KittyCat> "This parameter is required only when the MachineType parameter is not IMAGE_FILE_MACHINE_I386. However, it is recommended that this parameter contain a valid context record." [07:09:30] <KittyCat> and MachineType is being set to IMAGE_FILE_MACHINE_I386 [07:20:46] <KittyCat> from glancing at related commits, it doesn't look like StackWalk ever properly handled a NULL context parameter [07:21:46] <KittyCat> though it wasn't until about March 24th that it was actually used
http://bugs.winehq.org/show_bug.cgi?id=24068
--- Comment #1 from Juan Lang juan_lang@yahoo.com 2010-08-23 10:50:34 --- What backtrace?
http://bugs.winehq.org/show_bug.cgi?id=24068
--- Comment #2 from Jerome Leclanche adys.wh@gmail.com 2010-08-23 11:21:04 --- Created an attachment (id=30332) --> (http://bugs.winehq.org/attachment.cgi?id=30332) backtrace
(In reply to comment #1)
What backtrace?
Damn it, bugzilla...
http://bugs.winehq.org/show_bug.cgi?id=24068
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Crash in dbghelp on 64-bit |Crash in dbghelp (WoW) |(WoW) |
http://bugs.winehq.org/show_bug.cgi?id=24068
EG Galano eg.galano@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eg.galano@gmail.com
--- Comment #3 from EG Galano eg.galano@gmail.com 2010-09-02 16:31:06 CDT --- (In reply to comment #0)
See attached backtrace. Note: I cannot repro the crash that got me there in the...
I was able to reproduce this with the WoW Cataclysm Beta client.
You can reproduce this by attempting to view the WoW Burning Crusade Cinematic sequence from the main menu. Click on the Cinematics menu on the right hand side of the login screen and it will give you an option of which Cinematic scene to watch. On windows, clicking on any of the cinematic options causes the login screen to reload, on wine it causes the dbghelp crash.
Backtrace: =>0 0x7b25d819 dwarf2_virtual_unwind+0x189(csw=0x11cde38, ip=0x7edc71db, context=(nil), cfa=0x11cdcd8) [/home//wine-git/dlls/dbghelp/dwarf.c:2899] in dbghelp (0x011cdcf4)
http://bugs.winehq.org/show_bug.cgi?id=24068
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |poltsy@gmail.com
--- Comment #4 from Austin English austinenglish@gmail.com 2010-09-04 09:25:36 CDT --- *** Bug 24223 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=24068
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED AssignedTo|wine-bugs@winehq.org |eric.pouech@orange.fr Ever Confirmed|0 |1
--- Comment #5 from Eric Pouech eric.pouech@orange.fr 2010-09-11 01:17:49 CDT --- Created an attachment (id=30695) --> (http://bugs.winehq.org/attachment.cgi?id=30695) patch to setup on i386 a pseudo context in StackWalk if none has been provided
Please test if this helps
http://bugs.winehq.org/show_bug.cgi?id=24068
--- Comment #6 from Jerome Leclanche adys.wh@gmail.com 2010-09-11 01:41:36 CDT --- (In reply to comment #5)
Created an attachment (id=30695)
--> (http://bugs.winehq.org/attachment.cgi?id=30695) [details]
patch to setup on i386 a pseudo context in StackWalk if none has been provided
Please test if this helps
This patch fixes the issue and lets the WoW crash handler take care of the crash. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=24068
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |24332
http://bugs.winehq.org/show_bug.cgi?id=24068
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED
--- Comment #7 from Jerome Leclanche adys.wh@gmail.com 2010-09-13 17:28:30 CDT --- Fixed by 1e12e90cc9ff62a3fd4a6180326454fbedffa8e5.
http://bugs.winehq.org/show_bug.cgi?id=24068
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=24068
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2010-09-18 13:04:54 CDT --- Closing bugs fixed in 1.3.3.
http://bugs.winehq.org/show_bug.cgi?id=24068
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.x
http://bugs.winehq.org/show_bug.cgi?id=24068
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.2.x |---
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2010-10-08 10:40:22 CDT --- Removing 1.2.x milestone from bugs fixed in 1.2.1.
http://bugs.winehq.org/show_bug.cgi?id=24068
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |1e12e90cc9ff62a3fd4a6180326 | |454fbedffa8e5
http://bugs.winehq.org/show_bug.cgi?id=24068
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch URL| |http://worldofwarcraft.com