[Bug 55467] New: MAME 0.257: mame.exe -listxml crashes
https://bugs.winehq.org/show_bug.cgi?id=55467 Bug ID: 55467 Summary: MAME 0.257: mame.exe -listxml crashes Product: Wine Version: 8.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: pernegger(a)gmail.com Distribution: --- Created attachment 75027 --> https://bugs.winehq.org/attachment.cgi?id=75027 wine 8.14 terminal output Steps to reproduce: Run "wine mame.exe -listxml". Expected results: Very long XML dump, followed by programme exit. Actual result: Things crash and burn (see log). (This affects clrmamepro's ability to import data when being fed the MAME executable.) MAME's interactive mode, i.e. just "wine mame.exe" seems to work. I haven't tested any older versions of MAME, just 0.257. WINE-side, I've tried 8.13 and 8.14, both via the official Ubuntu 22.04 packages available via WINEHQ. So this isn't necessarily a regression. -- 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=55467 pernegger(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/mamedev/ | |mame/releases/download/mame | |0257/mame0257b_64bit.exe 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.
https://bugs.winehq.org/show_bug.cgi?id=55467 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernhardu(a)mailbox.org --- Comment #1 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- Could still reproduce this crash with wine-8.21. To avoid having the XML in stdout I used this: wine cmd.exe /C "mame.exe -listxml > ..\\xml.xml" This might be a threading issue because following made the crash go away: taskset -c 0 wine cmd.exe /C "mame.exe -listxml > ..\\xml.xml" Following draft contains a minimal test showing the crash and adds some locking in setlocale to avoid the crash: https://gitlab.winehq.org/wine/wine/-/merge_requests/4654 -- 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=55467 Piotr Caban <piotr.caban(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |msvcrt CC| |piotr.caban(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=55467 Piotr Caban <piotr.caban(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression --- Comment #2 from Piotr Caban <piotr.caban(a)gmail.com> --- The application works for me in wine 5.0. It updates wrong locale refcounts and possibly writes to just freed memory but it doesn't crash. Marking as regression. -- 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=55467 Bernhard Übelacker <bernhardu(a)mailbox.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|8.14 |5.22 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |3481d165d16587101857991a02c | |e169018d9e657 Regression SHA1| |f2482218708e038bf1ccb9491d0 | |da61fea4be34b --- Comment #3 from Bernhard Übelacker <bernhardu(a)mailbox.org> --- For completeness, a regression test brought me to this commit: f2482218708e038bf1ccb9491d0da61fea4be34b A fix got committed: https://gitlab.winehq.org/wine/wine/-/commit/3481d165d16587101857991a02ce169... Thanks Piotr for getting it committable. Resolving fixed, setting version to first broken release. -- 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=55467 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.1. -- 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