[Bug 59875] New: Tagscanner: 64-bit version of the program won't open, application error.
http://bugs.winehq.org/show_bug.cgi?id=59875 Bug ID: 59875 Summary: Tagscanner: 64-bit version of the program won't open, application error. Product: Wine Version: 11.11 Hardware: x86-64 URL: https://web.archive.org/web/20260615231958/https://www .xdlab.ru/files/tagscan-6.1.21_x64-setup.exe OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: draviezz@proton.me Distribution: --- Created attachment 81181 --> http://bugs.winehq.org/attachment.cgi?id=81181 Window_wine_x64_default Instructions for reproduction/testing: 1. Create and use a clean, default WINEPREFIX (~/.wine). 2. Install the program normally. 3. Open the program normally. The 64-bit version of the program won't open, application error. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59875 --- Comment #1 from Draviez <draviezz@proton.me> --- Created attachment 81182 --> http://bugs.winehq.org/attachment.cgi?id=81182 LOG_wine_x64_default.txt -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59875 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download -- 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.
http://bugs.winehq.org/show_bug.cgi?id=59875 Bernhard Übelacker <bernhardu@mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu@mailbox.org --- Comment #2 from Bernhard Übelacker <bernhardu@mailbox.org> --- Created attachment 81318 --> http://bugs.winehq.org/attachment.cgi?id=81318 debugging.txt I tried to have a look and found a segfault happens in copy_user_result, when it tries to write to address 0xfffffffffe20cc80. This address gets calculated by a "movslq %r9d,%r9", with $r9d = 0xfe20cc80. Following this further shows a $rbp + 0x30 = 0x7ffffe20cc80, which originates from $rsp. So it looks like a pointer truncation caused by having the stack at an address exceeding the 32-bit address space. This remembered me of some debugging for another Delphi application in bug #55833. By commenting out the "free_reserved_memory( 0, (char *)0x7ffe0000 );" I got the userinterface showing up of Tagscanner. Wine executes this free_reserved_memory because HIGH_ENTROPY_VA and DYNAMIC_BASE are set. Unfortunately I could not find something obvious how Wine could detect this and avoid this call. If of any interest, the debugging details are in attached file, part of the objdump of the executable, and the minimal modification to make the userinterface appear. -- 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 (1)
-
WineHQ Bugzilla