openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #07116
Bug#655936: icedtea-plugin: no sound, access denied for .../libpulse-java.so
Package: icedtea-plugin
Version: 1.1.4-1
Severity: normal
Steps to reproduce:
1) iceweasel http://www.ida.liu.se/~her/npp/demo.html
2) click "Sequence 1" in the java applet.
3) wait for 30 seconds.
Expected results
3) iceweasel does not print backtraces
Actual results:
3) iceweasel prints
Xlib: extension "RANDR" missing on display ":7.0".
Xlib: extension "RANDR" missing on display ":7.0".
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11pre) (6b24~pre2-1)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openImpl(PulseAudioMixer.java:654)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:588)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openLocal(PulseAudioMixer.java:584)
at org.classpath.icedtea.pulseaudio.PulseAudioMixer.open(PulseAudioMixer.java:579)
at org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:94)
at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:75)
at org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine.open(PulseAudioSourceDataLine.java:90)
at com.sun.media.sound.DataPusher.start(DataPusher.java:99)
at com.sun.media.sound.JavaSoundAudioClip.startImpl(JavaSoundAudioClip.java:182)
at com.sun.media.sound.JavaSoundAudioClip.play(JavaSoundAudioClip.java:137)
at sun.applet.AppletAudioClip.play(AppletAudioClip.java:136)
at java.applet.Applet.play(Applet.java:420)
at NuclearPlant.crashSound(NuclearPlant.java:283)
at Turbine.paint(NuclearPlant.java:1100)
at NuclearPlant.paint(NuclearPlant.java:180)
at NuclearPlant.update(NuclearPlant.java:193)
at sun.awt.RepaintArea.updateComponent(RepaintArea.java:255)
at sun.awt.X11.XRepaintArea.updateComponent(XRepaintArea.java:60)
at sun.awt.RepaintArea.paint(RepaintArea.java:232)
at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:712)
at java.awt.Component.dispatchEventImpl(Component.java:4705)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Component.dispatchEvent(Component.java:4455)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:608)
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Caused by: java.security.AccessControlException: access denied (java.io.FilePermission /usr/lib/jvm/java-6-openjdk-amd64/jre/lib/ext/libpulse-java.so read)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:393)
at java.security.AccessController.checkPermission(AccessController.java:553)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkPermission(JNLPSecurityManager.java:284)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.io.File.exists(File.java:748)
at sun.misc.Launcher$ExtClassLoader.findLibrary(Launcher.java:220)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1652)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at org.classpath.icedtea.pulseaudio.SecurityWrapper$1.run(SecurityWrapper.java:18)
at org.classpath.icedtea.pulseaudio.SecurityWrapper$1.run(SecurityWrapper.java:1)
at java.security.AccessController.doPrivileged(Native Method)
at org.classpath.icedtea.pulseaudio.SecurityWrapper.loadNativeLibrary(SecurityWrapper.java:24)
at org.classpath.icedtea.pulseaudio.EventLoop.<clinit>(EventLoop.java:97)
... 41 more
More info:
1) This looks similar to
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/525883
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/6 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages icedtea-plugin depends on:
ii icedtea-netx 1.1.4-1
ii libatk1.0-0 2.2.0-2
ii libc6 2.13-24
ii libcairo2 1.10.2-6.2
ii libfontconfig1 2.8.0-3
ii libfreetype6 2.4.8-1
ii libgcc1 1:4.6.2-11
ii libgdk-pixbuf2.0-0 2.24.0-2
ii libglib2.0-0 2.30.2-4
ii libgtk2.0-0 2.24.8-2
ii libpango1.0-0 1.29.4-2
ii libstdc++6 4.6.2-11
ii openjdk-6-jre 6b24~pre2-1
icedtea-plugin recommends no packages.
icedtea-plugin suggests no packages.
-- no debconf information