[Bug 47119] New: winedbg truncates 64-bit address when compiled with mingw
https://bugs.winehq.org/show_bug.cgi?id=47119 Bug ID: 47119 Summary: winedbg truncates 64-bit address when compiled with mingw Product: Wine Version: 4.5 Hardware: x86 OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: winedbg Assignee: wine-bugs(a)winehq.org Reporter: madewokherd(a)gmail.com Distribution: --- Running "winedbg notepad" with a mingw-compiled winedbg on windows: Wine-dbg>break *0x123456789 Invalid address 0x0000000023456789, can't set breakpoint -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47119 Vincent Povirk <madewokherd(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47119 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu(a)mailbox.org --- Comment #1 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Created attachment 70251 --> https://bugs.winehq.org/attachment.cgi?id=70251 A few backtraces following the truncated address backwards in time. This line seems responsible: #3 0x000000000041f55f in dbg_lex () at .../wine-git/programs/winedbg/debug.l:159 159 {DIGIT}+ { sscanf(yytext, "%ld", &dbg_lval.integer); return tNUM; } Compiled with mingw, the line above calls into sscanf in include/msvcrt/stdio.h:314. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47119 Eric Pouech <eric.pouech(a)orange.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech(a)orange.fr --- Comment #2 from Eric Pouech <eric.pouech(a)orange.fr> --- at the time of your testing, winedbg (like many other components) wasn't ripe for being compiled under windows it should be the case now -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47119 --- Comment #3 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- I confirm wine-6.21-214-gbe0684dad50 does not show this truncation: Wine-dbg>break *0x123456789 Invalid address 0x0000000123456789, can't set breakpoint (Unfortunately I don't have permission to change the status of the bug.) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47119 Eric Pouech <eric.pouech(a)orange.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #4 from Eric Pouech <eric.pouech(a)orange.fr> --- thanks for testing. closing -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47119 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 6.22. -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla