OpenMusic() makes Windows executable to crash

Report any Hollywood bugs here
Post Reply
User avatar
jap
Posts: 61
Joined: Sun Feb 14, 2010 12:24 pm
Contact:

OpenMusic() makes Windows executable to crash

Post 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.
Bugala
Posts: 1178
Joined: Sun Feb 14, 2010 7:11 pm

Re: OpenMusic() makes Windows executable to crash

Post by Bugala »

did you try using different Mp3 file?
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: OpenMusic() makes Windows executable to crash

Post by airsoftsoftwair »

Can you upload the problematic file somewhere?
User avatar
jap
Posts: 61
Joined: Sun Feb 14, 2010 12:24 pm
Contact:

Re: OpenMusic() makes Windows executable to crash

Post 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.
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: OpenMusic() makes Windows executable to crash

Post 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.
User avatar
jap
Posts: 61
Joined: Sun Feb 14, 2010 12:24 pm
Contact:

Re: OpenMusic() makes Windows executable to crash

Post by jap »

Great, thanks!
Post Reply