Problems with java applets on PPC
Dear people,
I am trying to access my bank which, unfortunately, uses a
Java applet for password input (yes, I know it is stupid, but
I can't change the bank -- otherwise, I wouldn't receive the
financial support for my graduate study).
The problem is that when mozilla/galeon/etc tries to load the
applet in https://www2.bancobrasil.com.br/aapf/aai/login.pbk,
the place of the java applet shows "loading java applet" (or
something similar) and then browser immediately dies.
I'm currently using Debian's sid on an iBook 2, 600MHz, combo
(powerpc) and I installed the last version of the blackdown
Java sdk for powerpc (1.3.1 fcs02b).
When I go to other pages with applets (like java.sun.com), the
applets work fine, but that particular page seems to have a
problem and I unfortunately don't know anything about Java.
Debian's mozilla just dies silently, but Mozilla 1.0 compiled
for PowerPC/Linux taken from mozilla.org shows a backtrace
after the crash (I'm sending it with this message).
The crash is 100% reproducible with this computer.
BTW, the applet works with "other" operating systems (read:
MacOS X), which would indicate that probably the problem is
not with the applet.
So, is there any help? I'd love to be able to access my bank
with Linux. Is the problem the fact that the page is using
Secure HTTP?
Any comments are welcome. Please let me know if any extra
information is needed.
Thanks for any help, Roger.
P.S.: As a side comment, the Blackdown project announced that they
would release Debian packages of their last release, but it seems that
they haven't released anything yet. Is there any information on the
progress of the packaging available?
FATAL ERROR in native method: Native code expects wrong return type from Java callback
at sun.plugin.protocol.https.BrowserHttpsInputStream.readStream(Native Method)
at sun.plugin.protocol.https.BrowserHttpsInputStream.read(BrowserHttpsInputStream.java:167)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
at java.net.URLConnection.guessContentTypeFromStream(URLConnection.java:1160)
at sun.plugin.protocol.https.BrowserHttpsURLConnection.getInputStream(BrowserHttpsURLConnection.java:321)
at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:135)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:43)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:56)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:88)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:72)
at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:500)
at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:462)
at sun.misc.URLClassPath$2.run(URLClassPath.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:247)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:224)
at sun.misc.URLClassPath.getResource(URLClassPath.java:137)
at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:129)
at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:269)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:468)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:586)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1316)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:131)
at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:127)
at java.lang.Thread.run(Thread.java:484)
SIGABRT 6* abort (generated by abort(3) routine, also SIGIOT)
si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine, also SIGIOT)
si_errno [0]: Success
si_code [0]: SI_USER [pid: 8577, uid: 1000]
stackpointer=0x7dffe4ac
Full thread dump Classic VM (Blackdown-1.3.1-02b-FCS, native threads):
"Thread-4" (TID:0x30cef228, sys_thread_t:0x10411218, state:R, native ID:0x480e) prio=4
at sun.plugin.protocol.https.BrowserHttpsInputStream.readStream(Native Method)
at sun.plugin.protocol.https.BrowserHttpsInputStream.read(BrowserHttpsInputStream.java:167)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
at java.io.BufferedInputStream.read(BufferedInputStream.java:204)
at java.net.URLConnection.guessContentTypeFromStream(URLConnection.java:1160)
at sun.plugin.protocol.https.BrowserHttpsURLConnection.getInputStream(BrowserHttpsURLConnection.java:321)
at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:135)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:43)
at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:56)
at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:88)
at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:72)
at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:500)
at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:462)
at sun.misc.URLClassPath$2.run(URLClassPath.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:247)
at sun.misc.URLClassPath.getLoader(URLClassPath.java:224)
at sun.misc.URLClassPath.getResource(URLClassPath.java:137)
at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:129)
at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:269)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:468)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:586)
at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1316)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:131)
at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:127)
at java.lang.Thread.run(Thread.java:484)
"thread applet-br/com/bb/aapf/bbteclado/CampoTeclado.class" (TID:0x30cefad0, sys_thread_t:0x10428438, state:CW, native ID:0x440f) prio=4
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Thread.java:934)
at java.lang.Thread.join(Thread.java:987)
at sun.applet.AppletPanel.run(AppletPanel.java:328)
at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:131)
at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:127)
at java.lang.Thread.run(Thread.java:484)
"SunToolkit.PostEventQueue-1" (TID:0x30cef978, sys_thread_t:0x104215e8, state:CW, native ID:0x4011) prio=4
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at sun.awt.PostEventQueue.run(SunToolkit.java:491)
"AWT-EventQueue-1" (TID:0x30cef928, sys_thread_t:0x1041c068, state:CW, native ID:0x3c10) prio=4
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at java.awt.EventQueue.getNextEvent(EventQueue.java:260)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
"Thread-3" (TID:0x30cbcb10, sys_thread_t:0x103ff558, state:R, native ID:0x300d) prio=5
at sun.plugin.navig.motif.AThread.handleRequest(Native Method)
at sun.plugin.navig.motif.AThread.JNIHandleLoop(AThread.java:44)
at sun.plugin.navig.motif.AThread.run(AThread.java:36)
"Thread-2" (TID:0x30cbc168, sys_thread_t:0x103d9d00, state:CW, native ID:0x2c0c) prio=5
at java.lang.Thread.sleep(Native Method)
at sun.plugin.navig.motif.Plugin$Watcher.run(Plugin.java:517)
"TimerQueue" (TID:0x30cbbcc0, sys_thread_t:0x103d39f8, state:CW, native ID:0x280b) prio=5
at java.lang.Object.wait(Native Method)
at javax.swing.TimerQueue.run(TimerQueue.java:233)
at java.lang.Thread.run(Thread.java:484)
"Main Console Writer" (TID:0x30cbb6b0, sys_thread_t:0x103add90, state:CW, native ID:0x240a) prio=6
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at sun.plugin.MainConsoleWriter.run(MainConsoleWriter.java:82)
at java.lang.Thread.run(Thread.java:484)
"AWT-Motif" (TID:0x30cd4820, sys_thread_t:0x102d8370, state:R, native ID:0x2009) prio=6
at sun.awt.motif.MToolkit.run(Native Method)
at java.lang.Thread.run(Thread.java:484)
"SunToolkit.PostEventQueue-0" (TID:0x30cd6cd0, sys_thread_t:0x102b9068, state:CW, native ID:0x1c08) prio=6
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at sun.awt.PostEventQueue.run(SunToolkit.java:491)
"AWT-EventQueue-0" (TID:0x30cd6bd8, sys_thread_t:0x102b1b28, state:CW, native ID:0x1807) prio=6
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at java.awt.EventQueue.getNextEvent(EventQueue.java:260)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:106)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
"Thread-1" (TID:0x30cc6060, sys_thread_t:0x101ecb18, state:CW, native ID:0x1406) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at com.sun.media.sound.EventDispatcher.dispatchEvents(EventDispatcher.java:144)
at com.sun.media.sound.EventDispatcher.run(EventDispatcher.java:195)
"Thread-0" (TID:0x30cc5fa0, sys_thread_t:0x101eb2a8, state:CW, native ID:0x1005) prio=5
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at com.sun.media.sound.EventDispatcher.dispatchEvents(EventDispatcher.java:144)
at com.sun.media.sound.EventDispatcher.run(EventDispatcher.java:195)
"Finalizer" (TID:0x30cc0528, sys_thread_t:0x10061ab8, state:CW, native ID:0xc04) prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162)
"Reference Handler" (TID:0x30cc0300, sys_thread_t:0x1005bc18, state:CW, native ID:0x803) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)
"Signal Dispatcher" (TID:0x30cc0330, sys_thread_t:0x10059bb8, state:CW, native ID:0x402) prio=5
"main" (TID:0x30cc01b0, sys_thread_t:0x1001a8d8, state:R, native ID:0x400) prio=5
at sun.plugin.navig.motif.Worker.setHttpsReply(Worker.java:553)
at sun.plugin.navig.motif.Plugin.doit(Plugin.java:354)
at sun.plugin.navig.motif.Plugin.start(Plugin.java:101)
Monitor Cache Dump:
com.sun.media.sound.EventDispatcher@30CC5FA0/30E001C0: <unowned>
Waiting to be notified:
"Thread-0" (0x101eb2a8)
sun.awt.PostEventQueue@30CD6CD0/30E59490: <unowned>
Waiting to be notified:
"SunToolkit.PostEventQueue-0" (0x102b9068)
java.awt.EventQueue@30CD68F0/30E58E90: <unowned>
Waiting to be notified:
"AWT-EventQueue-0" (0x102b1b28)
sun.awt.PostEventQueue@30CEF978/30EAE3E8: <unowned>
Waiting to be notified:
"SunToolkit.PostEventQueue-1" (0x104215e8)
javax.swing.TimerQueue@30CBBCC8/30E88920: <unowned>
Waiting to be notified:
"TimerQueue" (0x103d39f8)
java.lang.ref.ReferenceQueue$Lock@30CC0540/30CF63A8: <unowned>
Waiting to be notified:
"Finalizer" (0x10061ab8)
java.lang.ref.Reference$Lock@30CC0310/30CF5F98: <unowned>
Waiting to be notified:
"Reference Handler" (0x1005bc18)
sun.misc.URLClassPath@30CEFC20/30EAD368: owner "Thread-4" (0x10411218) 1 entry
java.lang.Thread@30CEF228/30EB06D0: <unowned>
Waiting to be notified:
"thread applet-br/com/bb/aapf/bbteclado/CampoTeclado.class" (0x10428438)
sun.plugin.security.PluginClassLoader@30CBF738/30EA1550: owner "Thread-4" (0x10411218) 2 entries
java.io.BufferedInputStream@30CED0A0/30EBA380: owner "Thread-4" (0x10411218) 1 entry
sun.plugin.protocol.https.BrowserHttpsInputStream@30CED0B0/30EBA430: owner "Thread-4" (0x10411218) 1 entry
java.awt.EventQueue@30CEF8D8/30EAE1C8: <unowned>
Waiting to be notified:
"AWT-EventQueue-1" (0x1041c068)
java.util.LinkedList@30CBB5B8/30DFC7B8: <unowned>
Waiting to be notified:
"Main Console Writer" (0x103add90)
com.sun.media.sound.EventDispatcher@30CC6060/30E00580: <unowned>
Waiting to be notified:
"Thread-1" (0x101ecb18)
Registered Monitor Dump:
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "Thread-4" (0x10411218) 1 entry
Thread queue lock: owner "Thread-4" (0x10411218) 1 entry
Monitor registry: owner "Thread-4" (0x10411218) 1 entry
INTERNAL ERROR on Browser End: Pipe closed during read? State may be corrupt
System error?:: Success
Reply to: