http://bugs.winehq.org/show_bug.cgi?id=32143
Bug #: 32143 Summary: Touhou Danmakufu crashes while trying to load .mp3 files Product: Wine Version: 1.5.15 Platform: x86 OS/Version: Mac OS X Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: andrewsuicune@gmail.com Classification: Unclassified
When using Touhou Danmakufu, the music runs at an accelerate pace. Sometimes, the computer will overload trying to play the .mp3 files (the .wav sound effects do not have the issue), and Danmakufu will crash.
According to the Terminal Window, the crash is because of the Frame Sync. (The .mp3 files all share this issue).
MacOSX 10.7.5 with a 2.4 GHz Intel Core i5. Danmakufu version 0.12m Wine Version 1.5.15 XQuartz Version 2.7.4 with xorg-server 1.13.0
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #1 from andrewsuicune@gmail.com 2012-11-06 09:45:41 CST --- Created attachment 42417 --> http://bugs.winehq.org/attachment.cgi?id=42417 Terminal Output after force quitting XQuartz
The error that takes up most of the pages is the error that freezes Danmakufu, resulting in either a crash or a required force quit of either X11 or Wine.
It was originally 75 Megabytes, so I cut away most of the error code (it's al the same).
http://bugs.winehq.org/show_bug.cgi?id=32143
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com Severity|major |normal
--- Comment #2 from Bruno Jesus 00cpxxx@gmail.com 2012-11-06 09:51:27 CST --- Not major, rad http://bugs.winehq.org/page.cgi?id=fields.html#importance
Is that application freely available for download?
http://bugs.winehq.org/show_bug.cgi?id=32143
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #42417|Terminal Saved Output |output.txt filename| | Attachment #42417|application/octet-stream |text/plain mime type| |
--- Comment #3 from Bruno Jesus 00cpxxx@gmail.com 2012-11-06 09:52:05 CST --- Comment on attachment 42417 --> http://bugs.winehq.org/attachment.cgi?id=42417 Terminal Output after force quitting XQuartz
Please, use .txt attachments for text console logs in the future.
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #4 from andrewsuicune@gmail.com 2012-11-06 13:06:11 CST --- It is free for download.
http://www.geocities.co.jp/SiliconValley-Oakland/9951/products/th_dnh.html
(In reply to comment #2)
Not major, rad http://bugs.winehq.org/page.cgi?id=fields.html#importance
Is that application freely available for download?
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #5 from andrewsuicune@gmail.com 2012-11-06 13:10:04 CST --- There are a large number of scripts and a few games that use Danmakufu as their engine; All of those that use mp3 bgm on a mac with this version of Wine will freeze and will require force quitting (they may crash as well). I do not know if this constitutes as major or normal, but since this application is not used for commercial purposes, normal may be fine.
(In reply to comment #2)
Not major, rad http://bugs.winehq.org/page.cgi?id=fields.html#importance
Is that application freely available for download?
http://bugs.winehq.org/show_bug.cgi?id=32143
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.geocities.co.jp/ | |SiliconValley-Oakland/9951/ | |products/th_dnh.html
http://bugs.winehq.org/show_bug.cgi?id=32143
Andrew Fan andrewsuicune@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Touhou Danmakufu crashes |Touhou Danmakufu freezes |while trying to load .mp3 |while trying to load .mp3 |files |files
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #6 from Andrew Fan andrewsuicune@gmail.com 2012-11-12 20:03:48 CST --- New info & confirmations:
1) Not ALL .mp3 files have errors. Those that do will activate the error upon going to the pause menu (press esc). 2) Scripts with a .mp3 file that cannot be run will freeze upon ending the script; no replays can be saved and you are not redirected to the main menu. 3) .mid files do not crash, but are not played correctly unless in the pause menu. 4) .wav files (sound effects, including long ones) run perfectly fine.
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #7 from Andrew Fan andrewsuicune@gmail.com 2012-11-12 20:24:05 CST --- Confirmed in Wine 1.5.17.
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #8 from Bruno Jesus 00cpxxx@gmail.com 2012-11-12 20:32:47 CST --- I tried downloading it but there the first link points to a 4Mb file that crashes for me in wine without displaying anything. And there are no audio files in the folder. The file is called "th_dnh.zip", what files from the link are required to test this bug?
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #9 from Andrew Fan andrewsuicune@gmail.com 2012-11-13 15:53:03 CST --- Since this is a scripting language, you must insert scripts. http://www.bulletforge.org/u/mmx/p/kappa-mechanics/v/09 The above script's background music will freeze the application, just to name one.
The application most likely crashed because it must be run in Japanese Locale LANG="ja_JP" wine th_dnh.exe
To use the program, first dump a script into the 'scripts' directory. Open the executable in Japanese Locale; the program uses the z, x, and arrowkeys for basic purposes. I, u, and h are used for other purposes. http://dmf.shrinemaiden.org/wiki/How_to_Play_(0.12m)
The background music should be bugged on MacOSX Lion with Wine 1.5.15 or 1.5.17 (and other versions are probably affected as well). If it does not bug within 20 seconds, press 'esc' to go to the pause menu. That should allow you to get a faster freezing of the engine.
Feel free to contact me if you have trouble with the program.
(In reply to comment #8)
I tried downloading it but there the first link points to a 4Mb file that crashes for me in wine without displaying anything. And there are no audio files in the folder. The file is called "th_dnh.zip", what files from the link are required to test this bug?
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #10 from Andrew Fan andrewsuicune@gmail.com 2012-12-16 16:30:12 CST --- Still present in Wine 1.5.19 (Mac OSX, compiled with MacPorts).
http://bugs.winehq.org/show_bug.cgi?id=32143
Andrew Fan andrewsuicune@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Touhou Danmakufu freezes |Touhou Danmakufu freezes |while trying to load .mp3 |after trying to load |files |certain .mp3 files
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #11 from Andrew Fan andrewsuicune@gmail.com 2013-01-27 14:43:24 CST --- Still present in Wine 1.5.22 (Mac OSX Lion, Wine compiled with MacPorts).
http://bugs.winehq.org/show_bug.cgi?id=32143
Andrew Fan andrewsuicune@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Touhou Danmakufu freezes |Touhou Danmakufu 0.12m |after trying to load |freezes after trying to |certain .mp3 files |load certain .mp3 files and | |either triggering an event | |or pausing the game
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #12 from Andrew Fan andrewsuicune@gmail.com 2013-04-14 09:10:02 CDT --- Still present in Wine 1.5.27.
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #13 from Andrew Fan andrewsuicune@gmail.com 2013-06-27 10:19:30 CDT --- Confirmed for Wine 1.6 rc-3
Additional data for MIDI issue: err:midi:MIDIOut_Data MusicDeviceMIDIEvent(0x97b3764c, 00b6, 004a, 0058, 0) return -10878
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #14 from Andrew Fan andrewsuicune@gmail.com 2013-07-01 08:47:11 CDT --- Confirmed for Wine 1.6 rc-4
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #15 from Andrew Fan andrewsuicune@gmail.com 2013-07-22 20:26:48 CDT --- Confirmed for Wine 1.6-rc5
http://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #16 from Andrew Fan andrewsuicune@gmail.com 2013-08-03 14:24:13 CDT --- Still present in 1.7.0
https://bugs.winehq.org/show_bug.cgi?id=32143
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #17 from joaopa jeremielapuree@yahoo.fr --- Is still a bug in current wine(3.20)?
https://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #18 from Andrew Fan andrewsuicune@gmail.com --- (In reply to joaopa from comment #17)
Is still a bug in current wine(3.20)?
As the application fails to run properly on macOS, I cannot test if this is still an issue. However, given that the replacement for this engine still has the same issue with mp3 files being usable on Wine, I would not be surprised if this bug is still relevant. Note that I have not tested this on Linux.
https://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #19 from Andrew Fan andrewsuicune@gmail.com --- Now that the application is working in Wine 4.0 rc6 and this issue can be tested, confirming that mp3s still play incorrectly and exhibit issues.
https://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #20 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.14? Is it this application: https://web.archive.org/web/20070214154958/http://www.geocities.co.jp/Silico...
https://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #21 from Andrew Fan andrewsuicune@gmail.com --- (In reply to joaopa from comment #20)
Does the bug still occur with wine-5.14? Is it this application: https://web.archive.org/web/20070214154958/http://www.geocities.co.jp/ SiliconValley-Oakland/9951/products/th_dnh.zip
As of 5.5, the bug is still present. I have not tested with newer versions of Wine since no official builds have been released for macOS since 5.7.
I believe that is the correct version of the application.
https://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #22 from joaopa jeremielapuree@yahoo.fr --- You can find binary here: https://github.com/Gcenx/macOS_Wine_builds
https://bugs.winehq.org/show_bug.cgi?id=32143
--- Comment #23 from Andrew Fan andrewsuicune@gmail.com --- (In reply to joaopa from comment #22)
You can find binary here: https://github.com/Gcenx/macOS_Wine_builds
See my follow up to https://bugs.winehq.org/show_bug.cgi?id=33765