https://bugs.winehq.org/show_bug.cgi?id=45242
Bug ID: 45242 Summary: winedbg Internal crash when debugging win32 Product: Wine Version: 3.7 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winedbg Assignee: wine-bugs@winehq.org Reporter: luizluca@gmail.com Distribution: ---
Hello,
I cannot launch winedbg to any win32 exe:
$ winedbg Downloads/andale32.exe WineDbg starting on pid 002d 0009:fixme:dbghelp_dwarf:dwarf2_swallow_attribute Unhandled attribute form 1f20 0009:fixme:dbghelp_dwarf:dwarf2_swallow_attribute Unhandled attribute form 1f21 winedbg: Internal crash at 0x7e1cb182
$ winedbg Downloads/PsExec.exe WineDbg starting on pid 002d 0009:fixme:dbghelp_dwarf:dwarf2_swallow_attribute Unhandled attribute form 1f20 0009:fixme:dbghelp_dwarf:dwarf2_swallow_attribute Unhandled attribute form 1f21 winedbg: Internal crash at 0x7e1db182
For win64, it simply works.
$ winedbg Downloads/PsExec64.exe WineDbg starting on pid 0031 Process of pid=0031 has terminated
I was originally using wine-64bit but even installing wine.i586 and using a clean prefix, I get the same result.
$ file /usr/bin/wine /usr/bin/wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=37bf33eb8ca1b2a498fc9998fac1753ac70399a8, stripped
$ WINEPREFIX=~/win32 WINEARCH=win32 winedbg Downloads/PsExec.exe WineDbg starting on pid 002d 0009:fixme:dbghelp_dwarf:dwarf2_swallow_attribute Unhandled attribute form 1f20 0009:fixme:dbghelp_dwarf:dwarf2_swallow_attribute Unhandled attribute form 1f21 winedbg: Internal crash at 0x7e1c6182
When I try to attach from winedbg, it does not crash, but it returns the 'Unhandled attribute' and raises an exception:
$ WINEPREFIX=~/win32 WINEARCH=win32 winedbg Wine-dbg>info process pid threads executable (all id:s are in hex) 0000000e 8 'services.exe' 00000020 6 _ 'winedevice.exe' 0000001b 3 _ 'plugplay.exe' 00000011 6 _ 'winedevice.exe' Wine-dbg>attach 0x11 0009:fixme:dbghelp_dwarf:dwarf2_swallow_attribute Unhandled attribute form 1f20 0009:fixme:dbghelp_dwarf:dwarf2_swallow_attribute Unhandled attribute form 1f21
Exception c0000005 Wine-dbg>