GLBasic forum

Main forum => Bug Reports => Topic started by: MrTAToad on 2011-Aug-01

Title: PLAYMUSIC in Linux
Post by: MrTAToad on 2011-Aug-01
Some tunes in Linux seem to crash the running linux program with :

Quoteterminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

This happens with both 32 and 64 bit Linux

I've included the offending tune - I use STOPMUSIC to stop previous music.  As this is probably caused by running out of memory (!) I wonder if there is a size limit in Linux for music ?

The music does exist too...

[attachment deleted by admin]
Title: Re: PLAYMUSIC in Linux
Post by: MrTAToad on 2011-Aug-07
There does also seem to be a problem every so often with starting a program too (2 or 3 segment faults and then runs properly).
Title: Re: PLAYMUSIC in Linux
Post by: Kitty Hello on 2011-Aug-16
on a real computer or emulated? Darn....
Title: Re: PLAYMUSIC in Linux
Post by: MrTAToad on 2011-Aug-16
Real OS - emulated seems fine :/
Title: Re: PLAYMUSIC in Linux
Post by: Kitty Hello on 2011-Aug-17
oh my. And it's related to the music? Can you try with another codec? Maybe the mp3 lib is buggy?
Title: Re: PLAYMUSIC in Linux
Post by: MrTAToad on 2011-Aug-17
Yes, I'll try OGG music...