OpenMusic() makes Windows executable to crash

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

OpenMusic() makes Windows executable to crash

Post by jap » Sun Jul 29, 2012 10:51 pm

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: 856
Joined: Sun Feb 14, 2010 7:11 pm

Re: OpenMusic() makes Windows executable to crash

Post by Bugala » Mon Jul 30, 2012 9:41 am

did you try using different Mp3 file?

User avatar
airsoftsoftwair
Posts: 3441
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: OpenMusic() makes Windows executable to crash

Post by airsoftsoftwair » Tue Jul 31, 2012 12:38 am

Can you upload the problematic file somewhere?

User avatar
jap
Posts: 40
Joined: Sun Feb 14, 2010 12:24 pm
Contact:

Re: OpenMusic() makes Windows executable to crash

Post by jap » Tue Jul 31, 2012 4:22 am

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: 3441
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: OpenMusic() makes Windows executable to crash

Post by airsoftsoftwair » Tue Jul 31, 2012 10:44 pm

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: 40
Joined: Sun Feb 14, 2010 12:24 pm
Contact:

Re: OpenMusic() makes Windows executable to crash

Post by jap » Wed Aug 01, 2012 5:15 am

Great, thanks!

Post Reply