Error When Using winedbg on 64-bit Ubuntu 12.04

John Edmonds john.a.edmonds at
Sat Jul 21 15:46:26 CDT 2012

I'm using 64-bit Ubuntu 12.04.  I built and installed wine using the 
instructions from  Whenever I try to 
debug an application using winedbg I get the following error message:

 > /var/chroot/usr/local/bin/winedbg 
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:

My source tree is synced to git commit 

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

John Edmonds

More information about the wine-devel mailing list