Package: openjdk-6-jre Version: 6b27-1.12.4-1 Severity: important Dear Maintainer,
On Debian 7.0 with pulseaudio (required by gnome-core), a Java application that attempts to play audio while pulseaudio is already playing another sound yields an exception: Unexpected error detected. java.util.ConcurrentModificationException null java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:782) at java.util.ArrayList$Itr.next(ArrayList.java:754) at org.classpath.icedtea.pulseaudio.PulseAudioLine.fireLineEvent(PulseAudioLine.java:75) at org.classpath.icedtea.pulseaudio.PulseAudioDataLine$2.update(PulseAudioDataLine.java:202) at org.classpath.icedtea.pulseaudio.Stream.underflowCallback(Stream.java:675) 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) After this exception, the Java application is incapable of playing audio until pulseaudio is restarted after calling "killall pulseaudio" and the Java application is shut down and restarted. Updating pulseaudio from version 2.0-6 to version 3.0-1 from Debian's experimental distribution yielded the same failure, with pulseaudio again unable to play more than one sound at a time without leading to this failure while playing a sound in the Java application. For reference, the output of "lsmod | grep snd" follows: snd_hda_codec_realtek 188858 1 snd_hda_intel 26259 2 snd_hda_codec 78031 2 snd_hda_intel,snd_hda_codec_realtek snd_hwdep 13186 1 snd_hda_codec snd_pcm 68083 2 snd_hda_codec,snd_hda_intel snd_page_alloc 13003 2 snd_pcm,snd_hda_intel snd_seq 45126 0 snd_seq_device 13176 1 snd_seq snd_timer 22917 2 snd_seq,snd_pcm snd 52889 12 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek soundcore 13065 1 snd Attempting to resolve the problem with pulseaudio, I installed and enabled "jdk-6u43-linux-x64.bin" with similar trouble with pulseaudio. I tried testing again with a Linux 3.4.39 kernel with no difference. Eventually, running "fakeroot make-jpkg jdk-7u17-linux-x64.tar.gz", installing "oracle-j2sdk1.7_1.7.0+update17_amd64.deb", and issuing "update-alternatives --config java" to select "j2sdk1.7-oracle" yielded successful output of audio from the Java application to pulseaudio that could be repeated with pulseaudio 2.0-6 or 3.0-1. Some other relatively minor quirks with pulseaudio 2.0-6 or 3.0-1 remained, but those appear to be more general bugs of pulseaudio. While I found a workable solution in Java 7, I'm reporting the problem here as Java pulseaudio fails in this case with the default Debian 7.0. -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages openjdk-6-jre depends on: ii libasound2 1.0.25-4 ii libatk-wrapper-java-jni 0.30.4-2 ii libc6 2.13-38 ii libgif4 4.1.6-10 ii libjpeg8 8d-1 ii libpng12-0 1.2.49-1 ii libpulse0 2.0-6 ii libx11-6 2:1.5.0-1 ii libxext6 2:1.3.1-2 ii libxi6 2:1.6.1-1 ii libxrender1 1:0.9.7-1 ii libxtst6 2:1.2.1-1 ii openjdk-6-jre-headless 6b27-1.12.4-1 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages openjdk-6-jre recommends: ii icedtea-netx 1.3.1-3 ii ttf-dejavu-extra 2.33-3 Versions of packages openjdk-6-jre suggests: pn icedtea-plugin <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org