My game starts off by showing an intro video, after which it loads the main menu and plays a song. Below is the creation and execution of the song.
try
{System.out.println("?????????? create and play");
menuSong = MediaPlayer.create(this, R.raw.kindergarten_ska);
menuSong.setLooping(true);
menuSong.start();
}
catch (Exception e)
{
System.out.println("??????????? caught");
}
The error A/libc(1898): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
is thrown during MediaPlayer.create(). The annoying part is that instead of catching the error, the app goes back to the intro! Which then ends up in an infinite loop. Which means there's nothing (As far as I can see) I can do to handle the error.
Also, this error occurs when trying to run from my 4.0.4 tablet. It works just fine on my 2.2.1 phone.
An error like this would lead me to believe that something is null, but the only thing possible in this case is the R value. It's an ogg file so I don't see why it wouldn't work on the tablet.
Also interesting is that this is the only MediaPlayer usage where it crashes. MediaPlayer works just fine elsewhere in the code.