[Bug 46856] New: Exact Audio Copy: Unhandled exception at EACWnd2.264 -> INDEX-RANGE
https://bugs.winehq.org/show_bug.cgi?id=46856 Bug ID: 46856 Summary: Exact Audio Copy: Unhandled exception at EACWnd2.264 -> INDEX-RANGE Product: Wine Version: 4.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: newbie13xd(a)gmail.com Distribution: --- Greetings! Sometimes, not always, when I close a window in Exact Audio Copy (which I hereafter will refer to as EAC) EAC throws an error message to me with the title "Unhandled Exception" and body "at EACWnd2.264 -> INDEX-RANGE. Most recently this occurred after I had finished ripping a CD and pressed OK on the window where it shows you how well the ripping went. This error message appeared very shortly after said window had closed. After closing the error box by clicking "ok", EAC freezes, and moments after closes. EAC was downloaded from here: https://www.netzwelt.de/software-download/38342-exact-audio-copy-eac.html It is what seems to be the only official mirror, looking here: http://www.exactaudiocopy.de/en/index.php/resources/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.
https://bugs.winehq.org/show_bug.cgi?id=46856 --- Comment #1 from Newbyte <newbie13xd(a)gmail.com> --- Additional note: I'm using Exact Audio Copy 1.3 -- 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=46856 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://www.netzwelt.de/sof | |tware-download/38342-exact- | |audio-copy-eac.html Keywords| |download CC| |z.figura12(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.
http://bugs.winehq.org/show_bug.cgi?id=46856 nobodyimportant92@proton.me changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nobodyimportant92@proton.me --- Comment #2 from nobodyimportant92@proton.me --- Still an issue with Wine 11.14 and EAC 1.8. -- 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=46856 --- Comment #3 from nobodyimportant92@proton.me --- Created attachment 81762 --> http://bugs.winehq.org/attachment.cgi?id=81762 EAC 1.8 patcher -- 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=46856 nobodyimportant92@proton.me changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #81762|0 |1 is obsolete| | -- 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=46856 --- Comment #4 from nobodyimportant92@proton.me --- Created attachment 81763 --> http://bugs.winehq.org/attachment.cgi?id=81763 EAC 1.8 patcher -- 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=46856 nobodyimportant92@proton.me changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #81763|0 |1 is obsolete| | -- 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=46856 --- Comment #5 from nobodyimportant92@proton.me --- With some help from GPT-5.6 Sol and winedbg, I figured out that this was actually an EAC bug, not a WINE bug. The issue is with the main track list activating the lyrics column without a particular row selected. I've attached a Python script that will patch an EAC 1.8 binary to fix the crash. I'm also attaching GPT-5.6's document explaining the debug and disassembly process and the patch. -- 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=46856 --- Comment #6 from nobodyimportant92@proton.me --- Created attachment 81764 --> http://bugs.winehq.org/attachment.cgi?id=81764 EAC 1.8 patcher -- 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=46856 --- Comment #7 from nobodyimportant92@proton.me --- Created attachment 81765 --> http://bugs.winehq.org/attachment.cgi?id=81765 Debug report and patch description -- 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=46856 --- Comment #8 from Zeb Figura <z.figura12@gmail.com> --- If it works on Windows it's a Wine bug. I would not trust anything that comes from AI. -- 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=46856 --- Comment #9 from nobodyimportant92@proton.me --- Well, I can report that EAC is now working for me without crashes, anyway. It looks to me that the WINE bug would be in here: https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/comctl32/listview.c?r... iItem is returned as -1 because the row cannot be found, and iSubItem is calculated from the horizontal position to be 4. So, the click notification that EAC receives has a position of (-1, 4), and EAC throws an exception because it incorrectly assumes that iItem will be a nonnegative array index. I can look into how native comctl32 handles this, if the goal is a WINE patch. -- 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=46856 --- Comment #10 from nobodyimportant92@proton.me --- Ran a quick test with the native comctl32. Getting the same iItem and iSubItem from LVM_SUBITEMHITTEST, but the notification payload from NM_CLICK and NM_DBLCLK is different: (-1, 4) from the WINE implementation, (-1, 0) from the Windows one. So, the difference must be in how the click notification payload is filled after a no-row hit. -- 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=46856 --- Comment #11 from nobodyimportant92@proton.me --- To be clear, this is also an EAC bug that Windows seems to be papering over. Microsoft's docs point out that callers should use LVM_SUBITEMHITTEST to determine the click location under this circumstance: https://learn.microsoft.com/en-us/windows/win32/controls/nm-click-list-view https://learn.microsoft.com/en-us/windows/win32/controls/nm-dblclk-list-view -- 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=46856 --- Comment #12 from nobodyimportant92@proton.me --- Redid the test with the native v5 comctl32, it has the same behavior as WINE. So, this difference exists only for v6. Can put up a pull request today. -- 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=46856 --- Comment #13 from nobodyimportant92@proton.me --- See https://gitlab.winehq.org/wine/wine/-/merge_requests/11631 for the MR that fixes this 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla