Discussion:
Error When Using winedbg on 64-bit Ubuntu 12.04
John Edmonds
2012-07-21 20:46:26 UTC
Permalink
I'm using 64-bit Ubuntu 12.04. I built and installed wine using the
instructions from http://wiki.winehq.org/WineOn64bit. Whenever I try to
/var/chroot/usr/local/bin/winedbg
~/.wine/drive_c/windows/system32/notepad.exe
err:module:LdrInitializeThunk Main exe initialization for
L"C:\\windows\\system32\\notepad.exe" failed, status c0000022
WineDbg starting on pid 0023
couldn't load main module (2)
Process of pid=0023 has terminated

This is the output when the same command is run with WINEDEBUG=warn+all:
http://pastebin.com/RjErdbt8.

My source tree is synced to git commit
020a68e1350eaf7293718732c1c9203e460709c6.

Has anyone had success debugging Windows applications on 64-bit Linux?

Thanks,
John Edmonds
John Yani
2012-07-21 23:04:07 UTC
Permalink
I also have this. Only attach works for me:
http://www.winehq.org/pipermail/wine-devel/2012-July/096217.html
Post by John Edmonds
I'm using 64-bit Ubuntu 12.04. I built and installed wine using the
instructions from http://wiki.winehq.org/WineOn64bit. Whenever I try to
/var/chroot/usr/local/bin/winedbg
~/.wine/drive_c/windows/system32/notepad.exe
err:module:LdrInitializeThunk Main exe initialization for
L"C:\\windows\\system32\\notepad.exe" failed, status c0000022
WineDbg starting on pid 0023
couldn't load main module (2)
Process of pid=0023 has terminated
http://pastebin.com/RjErdbt8.
My source tree is synced to git commit
020a68e1350eaf7293718732c1c9203e460709c6.
Has anyone had success debugging Windows applications on 64-bit Linux?
Thanks,
John Edmonds
Eric Pouech
2012-07-22 14:03:15 UTC
Permalink
likely you're trying to debug a 32bit app using the 64bit debugger
this doesn't work yet

a+
Post by John Edmonds
I'm using 64-bit Ubuntu 12.04. I built and installed wine using the
instructions from http://wiki.winehq.org/**WineOn64bit<http://wiki.winehq.org/WineOn64bit>.
Whenever I try to debug an application using winedbg I get the following
/var/chroot/usr/local/bin/**winedbg ~/.wine/drive_c/windows/**
system32/notepad.exe
err:module:LdrInitializeThunk Main exe initialization for
L"C:\\windows\\system32\\**notepad.exe" failed, status c0000022
WineDbg starting on pid 0023
couldn't load main module (2)
Process of pid=0023 has terminated
http://pastebin.com/RjErdbt8.
My source tree is synced to git commit 020a68e1350eaf7293718732c1c920**
3e460709c6.
Has anyone had success debugging Windows applications on 64-bit Linux?
Thanks,
John Edmonds
--
--
Eric Pouech
Loading...