[Bug 18628] New: Assertion failure when setting a breakpoint (x86_64 host)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue May 26 07:08:01 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=18628

           Summary: Assertion failure when setting a breakpoint (x86_64
                    host)
           Product: Wine
           Version: 1.1.22
          Platform: PC-x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: dbghelp
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: sylvain.pasche at gmail.com


Wine crashes when trying to set breakpoints from winedbg, or when trying to run
winedbg with --gdb.

I've built wine from git (version wine-1.1.22-51-g85b6189) on Ubuntu 9.04
x86_64.

$ winedbg notepad

Wine-dbg>b GetMessageW
fixme:dbghelp:elf_new_wine_thunks Duplicate in L"shell32<elf>":
__stat<7ec53a10-00000032> stat<7ec53a10-32>
fixme:dbghelp:elf_new_wine_thunks Duplicate in L"shell32<elf>":
lstat<7ec53a50-00000032> __lstat<7ec53a50-32>
fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value zero
(a)
[...]
fixme:dbghelp_dwarf:dwarf2_parse_variable Unsupported form for const value one
(a)
fixme:dbghelp_dwarf:compute_location Unhandled attr op: e0
../../../wine-git/dlls/dbghelp/dwarf.c:1355: dwarf2_parse_variable: Assertion
`subpgm->func' failed.

Exception 80000101

Then I can continue, but the breakpoint is never hit.

When I try to run with --gdb, I'm getting a similar assertion:

winedbg --gdb --no-start notepad
0016:0017: create process 'C:\windows\system32\notepad.exe'/0x110660
@0x7ee3d388 (0<0>)
fixme:dbghelp_dwarf:compute_location Unhandled attr op: e0
../../../wine-git/dlls/dbghelp/dwarf.c:1355: dwarf2_parse_variable: Assertion
`subpgm->func' failed.
wine: Assertion failed at address 0xf7f99430 (thread 0009), starting
debugger...

Then I see the "Program Error" dialog box.


The strange thing is that with the same versions and same OS but i686
architecture, I don't get such assertions. Could gcc/binutils on x86_64 host
(i686 target) produce some different debug sections?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list