2008-03-05 08:55:48 UTC
Just completing the report: I have now tested this on a PowerPC machine with OS X 10.4.11 and Firefox 2.0.0.12. Again, Firefox dies if jai-imageIO is installed. Safari always works.
If needed, I'll upload the jai-imageIO.jar file to a bugreport or whatever.
Crash logs:
/var/log/system.log:
firefox-bin: Java is generating its shared archive, version 1.5
firefox-bin: An unexpected Java error has been detected by HotSpot Virtual Machine.
firefox-bin: If this error is reproducible, please report it with the following information:
firefox-bin: 1. Provide the steps to reproduce, a test case, and any relevant information
firefox-bin: 2. The corresponding JavaNativeCrash_pid<num>.crash.log (Java state)
firefox-bin: 3. The corresponding <name>.crash.log (native state; generated by CrashReporter)
firefox-bin: 4. This data:
firefox-bin: Java VM: Java HotSpot(TM) Client VM (1.5.0_13-121 mixed mode)
firefox-bin: Bus Error (0xa) at pc=0x9cb44028
firefox-bin: Process ID: 1666, Current Thread: 41016832
firefox-bin: File report at:
http://bugreport.apple.com/
firefox-bin: An error report file has been written to:
firefox-bin: .../JavaNativeCrash_pid1666.crash.log
crashdump[1676]: firefox-bin crashed
crashdump[1676]: crash report written to: /Users/mija/Library/Logs/CrashReporter/firefox-bin.crash.log
firefox-bin.crash.log:
...
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0:
0 libSystem.B.dylib 0x900411f8 mach_wait_until + 8
1 libSystem.B.dylib 0x90040fc4 nanosleep + 388
2 libSystem.B.dylib 0x90044798 usleep + 88
3 JavaEmbeddingPlugin 0x07739c24 Java_java_lang_Object_wait_redirect + 8396
4 JavaEmbeddingPlugin 0x0771c5bc JEPCreateJavaVMAndInitAWT + 456
5 com.netscape.MRJPlugin 0x07568d80 JEPCreateJavaVMAndInitAWT + 120
6 com.netscape.MRJPlugin 0x07567208 MRJSession::open(char const*) + 780
7 com.netscape.MRJPlugin 0x075715b4 MRJPlugin::StartupJVM() + 388
8 com.netscape.MRJPlugin 0x07570ca8 MRJPlugin::CreateInstance(nsISupports*, nsID const&, void**) + 44
9 org.mozilla.firefox 0x0024081c nsPluginHostImpl::TrySetUpPluginInstance(char const*, nsIURI*, nsIPluginInstanceOwner*) + 928
...
JavaNativeCrash*.crash.log:
...
# An unexpected Java error has been detected by HotSpot Virtual Machine:
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_13-121 mixed mode)
#
# Bus Error (0xa) at pc=0x9cb44028, pid=1666, tid=41016832
--------------- T H R E A D ---------------
Current thread (0x0850c620): JavaThread "Thread-0" [_thread_in_vm, id=41603584]
Stack: [0xf0913000,0xf0993000)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j jep.AppletHandlerFactory.callRegisterNatives()V+0
j jep.AppletHandlerFactory.initProperties()V+39
v ~StubRoutines::call_stub
...
Java Console.log:
sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageReaderSpi: Provider com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReaderSpi not found
at sun.misc.Service.fail(Service.java:129)
at sun.misc.Service.access$000(Service.java:111)
at sun.misc.Service$LazyIterator.next(Service.java:273)
at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:188)
at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:120)
at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:141)
at apple.awt.CToolkit.registerDefaultServices(CToolkit.java:1226)
at apple.awt.CToolkit.<init>(CToolkit.java:136)
at apple.awt.MyCToolkit.<init>(MyCToolkit.java:67)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at java.awt.Toolkit$2.run(Toolkit.java:833)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
at sun.plugin.viewer.context.WebKitAppletContext.<clinit>(WebKitAppletContext.java:26)
at jep.AppletHandlerFactory.callRegisterNatives(Native Method)
at jep.AppletHandlerFactory.initProperties(AppletHandlerFactory.java:254)