mkalus / JSpaceAlertMissionGenerator

Java-based mission generator for Czech games' Space Alert board game.
http://www.boardgamegeek.com/article/6878862
GNU General Public License v3.0
8 stars 6 forks source link

app crashes on ubuntu when playing MP3 #5

Closed sebtoun closed 11 years ago

sebtoun commented 11 years ago

when launched with -p mp3, app crashes in native code with the following exception:

Exception in thread "PulseAudio Eventloop Thread" java.lang.IllegalStateException: drain failed at org.classpath.icedtea.pulseaudio.EventLoop.native_iterate(Native Method) at org.classpath.icedtea.pulseaudio.EventLoop.run(EventLoop.java:133) at java.lang.Thread.run(Thread.java:679)

ubuntu 12.10, java version "1.6.0_27" OpenJDK Runtime Environment (IcedTea6 1.12.3) (6b27-1.12.3-0ubuntu1~12.10.1) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)

tested with various language/sound pack: the crash appears at different moment depending on the pack.

mkalus commented 11 years ago

Might be some problem with PulseAudio and OpenJDK 1.6. I have tried with OpenJDK 1.7 on Ubuntu 12.04 and could not reproduce the problem. I have seen that there are plenty of people complaining about having similar issues on Ubuntu, though.

Can you narrow down the error on where it is happening in the code? Maybe we could write a workaround for these issues.

mkalus commented 11 years ago

Closing until anyone reports else having the problem.