http://bugs.winehq.org/show_bug.cgi?id=15403
Summary: Microsoft's windbg can't load an executable Product: Wine Version: CVS/GIT Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: dbghelp AssignedTo: wine-bugs@winehq.org ReportedBy: mah@jump-ing.de
Steps to reproduce:
1) Download Microsoft's debugging tools from http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx. In this case, the most recent version was 6.9.3.113, which was used.
2) Install those:
cd mv .wine .wine-backup wine msiexec /i Debugging\ Tools*.msi
Follow the instructions, installation should work fine.
3) Run windbg (not winedbg):
cd $HOME/.wine/drive_c/Programme/Debugging\ Tools\ for\ Windows\ (x86) wine start windbg.exe
4) Use the menu of the upcoming window to load an executable, e.g. notepad.exe.
Expected behaviour:
Windbg would load/launch the executable.
Actual behaviour:
Windbg dies, leaving these messages at the Unix shell:
[...]ogramme/Debugging Tools for Windows (x86)$ wine windbg.exe fixme:system:SetProcessDPIAware stub! fixme:win:RegisterSystemThread (00000002, 00000000) fixme:win:SetLayeredWindowAttributes (0x1002a,0x00000000,200,2): stub! fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet fixme:dbghelp:SymSetParentWindow (0x1002c): stub fixme:richedit:RichEditWndProc_common EM_GETLANGOPTIONS: stub [duplicates removed] RaiseXception: RaiseExceptionRTL = 0x7b82f564 wine: Call from 0x7b847d98 to unimplemented function dbghelp.dll.SymAddSymbolW, aborting err:seh:raise_exception Unhandled exception code 80000100 flags 1 addr 0x7b847d98
http://bugs.winehq.org/show_bug.cgi?id=15403
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=15403
Eric Pouech eric.pouech@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech@orange.fr
--- Comment #1 from Eric Pouech eric.pouech@orange.fr 2008-10-02 14:36:55 --- current git should fix this issue then, you'll run into unimplemented functions in msvcrt (I'll send the patches later on) then, it should work, but very painfully as there are lots of other issues related to UI usually, the elder the version of windbg, the better it is (when it comes to running on wine), especially because of those UI artifacts A+
http://bugs.winehq.org/show_bug.cgi?id=15403
--- Comment #2 from Eric Pouech eric.pouech@orange.fr 2008-10-25 01:35:46 --- the commits to msvcrt are now in git please retest
http://bugs.winehq.org/show_bug.cgi?id=15403
--- Comment #3 from Austin English austinenglish@gmail.com 2008-10-25 21:47:41 --- Opens the executable fine, doesn't crash, but doesn't seem to be usable.
http://bugs.winehq.org/show_bug.cgi?id=15403
--- Comment #4 from Traumflug mah@jump-ing.de 2008-10-26 09:17:36 --- Created an attachment (id=16899) --> (http://bugs.winehq.org/attachment.cgi?id=16899) winedbg's dump/backtrace
There's clearly an advantage, the unimplemented function is gone , as well as the err: .
Now the debuggee runs a few steps, the hangs. Running inside winedbg gives me an illegal instruction as per attached dump.
Does it work better for you, Austin? Perhaps running Wine on AMD64 is asking for trouble ...
http://bugs.winehq.org/show_bug.cgi?id=15403
--- Comment #5 from Traumflug mah@jump-ing.de 2008-10-26 09:19:18 --- P.S.: Thanks a lot for your quick efforts, Eric.
http://bugs.winehq.org/show_bug.cgi?id=15403
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #6 from Austin English austinenglish@gmail.com 2008-10-26 23:43:46 --- (In reply to comment #4)
Created an attachment (id=16899)
--> (http://bugs.winehq.org/attachment.cgi?id=16899) [details]
winedbg's dump/backtrace
There's clearly an advantage, the unimplemented function is gone , as well as the err: .
Now the debuggee runs a few steps, the hangs. Running inside winedbg gives me an illegal instruction as per attached dump.
Does it work better for you, Austin? Perhaps running Wine on AMD64 is asking for trouble ...
I see the same results.
http://bugs.winehq.org/show_bug.cgi?id=15403
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |1.1.5
http://bugs.winehq.org/show_bug.cgi?id=15403
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #7 from Anastasius Focht focht@gmx.net 2009-04-12 04:51:22 --- Hello,
revisiting linked bugs to my appdb maintainerships.
I can't reproduce the issue (fc10 x86_64). Loading and running debuggee works. Though it won't be of much use due to bug 10522
Either post detailed steps with current 1.1.19 or close this bug.
Regards
http://bugs.winehq.org/show_bug.cgi?id=15403
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #8 from Austin English austinenglish@gmail.com 2010-08-27 23:52:46 CDT --- Works fine here, as far as I can tell.
File bugs for other problems.
http://bugs.winehq.org/show_bug.cgi?id=15403
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org 2010-09-03 14:05:34 CDT --- Closing bugs fixed in 1.3.2.
http://bugs.winehq.org/show_bug.cgi?id=15403
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |49a44342fa1774e35044f7b9e3e | |a43f2f82ca8cb URL| |http://msdn.microsoft.com/e | |n-us/windows/hardware/hh852 | |365