Wednesday, March 28, 2012

Yet another Linux showstopper

Good thing I fired up that linux test VM, because the music playback crashes the JVM. At least, it does on OpenJDK on Ubuntu.


Unable to open the sourceDataLine: javax.sound.sampled.LineUnavailableException: unable to prepare stream
java: /build/buildd/openjdk-6-6b23~pre11/build/../pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c:726: Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1cork: Assertion `operation' failed.
Bam, game over.

The internet suggests that the bug is between OpenJDK and Pulse Audio. But we will see. Goddam leaky abstractions.

No comments:

Post a Comment