Page 1 of 1

OpenMusic() makes Windows executable to crash

Posted: Sun Jul 29, 2012 10:51 pm
by jap
Hello,

I am trying to play an mp3 file with Hollywood. The playback works perfectly on AmigaOS 4 and Mac OS X, but not on Windows. On Windows calling the OpenMusic() function causes immediate crash. It is not the script which stops working but the executable. I have tested my program with Windows XP, Windows 7, AmigaOS 4, and Mac OS X 10.6, and it fails on both Window versions.

Information on the mp3 file:
Bit rate: 320 kb/s
Sample rate: 44.100 kHz
Channels: Joint Stereo

I tried lowering the bit rate to 128 kb/s but it did not help.

Re: OpenMusic() makes Windows executable to crash

Posted: Mon Jul 30, 2012 9:41 am
by Bugala
did you try using different Mp3 file?

Re: OpenMusic() makes Windows executable to crash

Posted: Tue Jul 31, 2012 12:38 am
by airsoftsoftwair
Can you upload the problematic file somewhere?

Re: OpenMusic() makes Windows executable to crash

Posted: Tue Jul 31, 2012 4:22 am
by jap
I found out that if the mp3 file has been linked into the executable, OpenMusic() is in trouble. But if the file is outside the executable, there is no problem.

Re: OpenMusic() makes Windows executable to crash

Posted: Tue Jul 31, 2012 10:44 pm
by airsoftsoftwair
Ok, then it's the same bug as described here:
viewtopic.php?f=4&t=423&start=0

It's already fixed in the current 5.1 WIP.

Re: OpenMusic() makes Windows executable to crash

Posted: Wed Aug 01, 2012 5:15 am
by jap
Great, thanks!