[Bug 595] ExceptionInInitializerError/AccessControlException in AppletAudioClip.play()

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Sun Dec 5 06:45:50 PST 2010


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=595





------- Comment #2 from Paul-Ebermann at gmx.de  2010-12-05 14:45 -------
(In reply to comment #1)

> > Caused by: java.security.AccessControlException: access denied
> > (java.io.FilePermission
> > /usr/lib/jvm/java-6-openjdk/jre/lib/ext/i386/libpulse-java.so read)
> >    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
> [snip]
> >    at org.classpath.icedtea.pulseaudio.SecurityWrapper$1.run(SecurityWrapper.java:15)
> >    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:105)
> >    ... 24 more
> 
> Hm... this is quite interesting. SecurityWrapper loads the libpulse-java.so
> library will full privileges. I cant see why it would be denied permission. Do
> you have any custom policy files or anything that could deny these permissions?

Not that I know of. (And we today had the same error at another user, who
didn't even know he was using IcedTea until I said him how to check, so I'm
quite sure he didn't change any security settings.)

> Can you please confirm that the file
> usr/lib/jvm/java-6-openjdk/jre/lib/ext/i386/libpulse-java.so exists and is
> readable.

There is no such directory. Without the 'ext', I have it:

-rw-r--r-- 1 root root 46632 2010-11-23 07:30
/usr/lib/jvm/java-6-openjdk/jre/lib/i386/libpulse-java.so

> > On the same system/machine with Sun-Plugin I have no problem (I can hear the
> > sound).
> 
> That's quite expected. Oracle's proprietary plugin uses a different
> JDK/plugin/mixer, so it should not be affected by these Java problems.

OK.

> > Looks like there is something wrong with the security-settings.
> 
> Right, but I dont see this with the default setup. Have you changed any
> security settings in Java? Can you possibly retry with a fresh install?

Does this means "apt-get remove --purge" and "apt-get install", or do I have to
do more? (Can't afford a new computer now.)

> > (I'll be away for a week, but then I'll produce a minimal example, if
> > necessary.)
> 
> If you can reproduce the problem on new installs as well, then please post the
> example. I would like to take a look to see where the problem is.

Took a bit longer to find some time, but now I'm "on it" ... expect it within
the next day.


Paul


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list