firefox segfault while using java

Bug #323110 reported by Fernando Miguel
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenJDK
Fix Released
Medium
firefox (Ubuntu)
Invalid
Undecided
Unassigned
openjdk-6 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

While running this test http://broadband.mpi-sws.org/transparency/bttest-mlab.php
the icedted java plugin (64bits) will segfault firefox 3.0 and 3.1

$ gdb /usr/lib/firefox-3*/firefox
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(no debugging symbols found)
(no debugging symbols found)
(gdb) r
Starting program: /usr/lib/firefox-3.0.5/firefox
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0x7fbed2b66700 (LWP 15602)]
[New Thread 0x7fbec249c950 (LWP 15702)]
[New Thread 0x7fbec1a91950 (LWP 15703)]
[New Thread 0x7fbec017e950 (LWP 15704)]
[Thread 0x7fbec017e950 (LWP 15704) exited]
[New Thread 0x7fbec017e950 (LWP 15705)]
[New Thread 0x7fbebf696950 (LWP 15706)]
[New Thread 0x7fbebee95950 (LWP 15707)]
[New Thread 0x7fbebd8de950 (LWP 15723)]
[Thread 0x7fbec017e950 (LWP 15705) exited]
[New Thread 0x7fbec017e950 (LWP 15724)]
[Thread 0x7fbec017e950 (LWP 15724) exited]
[New Thread 0x7fbec017e950 (LWP 15725)]
[New Thread 0x7fbeb7df9950 (LWP 15726)]
[Thread 0x7fbeb7df9950 (LWP 15726) exited]
[New Thread 0x7fbeb7df9950 (LWP 15792)]
sh: acroread: not found
[New Thread 0x7fbeb47ed950 (LWP 15847)]
[New Thread 0x7fbeb3fec950 (LWP 15848)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fbeb47ed950 (LWP 15847)]
XPCJSContextStack::Pop (this=0x5230010, _retval=<value optimized out>) at xpcthreadcontext.cpp:111
111 xpcthreadcontext.cpp: No such file or directory.
 in xpcthreadcontext.cpp
Current language: auto; currently c++
(gdb) bt full
#0 XPCJSContextStack::Pop (this=0x5230010, _retval=<value optimized out>) at xpcthreadcontext.cpp:111
 e = (XPCJSContextInfo &) @0x180522fff8: <error reading variable>
 idx = <value optimized out>
#1 0x00007fbed0212207 in ~XPCCallContext (this=0x7fbeb47ec6b0) at xpccallcontext.cpp:333
 stack = (class XPCJSContextStack *) 0x5230018
#2 0x00007fbed0229d8b in nsXPCWrappedJSClass::CallMethod (this=0x2d7c020, wrapper=<value optimized out>, methodIndex=3,
    info=0xe64850, nativeParams=0x7fbeb47ec820) at xpcwrappedjsclass.cpp:1775
 stackbase = (jsval *) 0x526f088
 sp = (jsval *) 0x526f0a0
 i = 1 '\001'
 argc = 1 '\001'
 stack_size = <value optimized out>
 result = -2147483647
 paramCount = 1 '\001'
 retval = 0
 success = <value optimized out>
 readyToDoTheCall = 1
 param_iid = {m0 = 0, m1 = 0, m2 = 0, m3 = "\000\000\000\000\000\000\000"}
 outConversionFailedIndex = <value optimized out>
 name = 0xe648b0 "setJSStatus"
 fval = 22929984
 mark = (void *) 0x526f078
 foundDependentParam = 0
 xpcc = (XPCContext *) 0x5278ab0
 cx = (JSContext *) 0x525f640
 thisObj = (JSObject *) 0x301d7c0
 context = <value optimized out>
 ccx = {<nsAXPCNativeCallContext> = {_vptr.nsAXPCNativeCallContext = 0x7fbed0f9dff0},
  mState = XPCCallContext::HAVE_CONTEXT, mXPC = 0x8c1aa0, mThreadData = 0x52742d0, mXPCContext = 0x5278ab0,
---Type <return> to continue, or q <return> to quit---
  mJSContext = 0x525f640, mContextPopRequired = 1, mDestroyJSContextInDestructor = 0,
  mCallerLanguage = XPCContext::LANG_NATIVE, mPrevCallerLanguage = XPCContext::LANG_UNKNOWN, mPrevCallContext = 0x0,
  mOperandJSObject = 0x0, mCurrentJSObject = 0x0, mFlattenedJSObject = 0x0, mWrapper = 0x0, mTearOff = 0x0,
  mScriptableInfo = 0x0, mSet = 0x0, mInterface = 0x0, mMember = 0x0, mName = 0, mStaticMemberIsLocal = 0, mArgc = 0,
  mArgv = 0x0, mRetVal = 0x0, mExceptionWasThrown = 0, mReturnValueWasSet = 0, mMethodIndex = 0, mCallee = 0x15de240,
  mStringWrapperData = '\0' <repeats 47 times>}
 scriptEval = {mJSContext = 0x525f640, mState = 0x0, mOldErrorReporter = 0, mEvaluated = 1,
  mContextHasThread = 86457904}
 kungFuDeathGrip = {<nsCOMPtr_base> = {mRawPtr = 0x2d7c020}, <No data fields>}
 format = "%s \"%s\""
#3 0x00007fbed098f515 in PrepareAndDispatch (self=0x302f4c0, methodIndex=<value optimized out>, args=0x7fbeb47ec920,
    gpregs=0x7fbeb47ec920, fpregs=0x7fbeb47ec950) at xptcstubs_x86_64_linux.cpp:151
 paramBuffer = {{val = {i8 = -16 '�', i16 = -13840, i32 = -1266759184, i64 = 140457048721904, u8 = 240 '�',
      u16 = 51696, u32 = 3028208112, u64 = 140457048721904, f = -2.37290578e-07, d = 6.9395002489742932e-310,
      b = -1266759184, c = -16 '�', wc = 51696, p = 0x7fbeb47ec9f0}}, {val = {i8 = 0 '\0', i16 = 0, i32 = 0, i64 = 0,
      u8 = 0 '\0', u16 = 0, u32 = 0, u64 = 0, f = 0, d = 0, b = 0, c = 0 '\0', wc = 0, p = 0x0}}, {val = {i8 = 0 '\0',
      i16 = 0, i32 = 0, i64 = 0, u8 = 0 '\0', u16 = 0, u32 = 0, u64 = 0, f = 0, d = 0, b = 0, c = 0 '\0', wc = 0, p = 0x0}},
  {val = {i8 = 0 '\0', i16 = 0, i32 = 0, i64 = 0, u8 = 0 '\0', u16 = 0, u32 = 0, u64 = 0, f = 0, d = 0, b = 0, c = 0 '\0',
      wc = 0, p = 0x0}}, {val = {i8 = 0 '\0', i16 = 0, i32 = 0, i64 = 0, u8 = 0 '\0', u16 = 0, u32 = 0, u64 = 0, f = 0,
      d = 0, b = 0, c = 0 '\0', wc = 0, p = 0x0}}, {val = {i8 = 127 '\177', i16 = -21633, i32 = -795235457,
      i64 = 140457520245631, u8 = 127 '\177', u16 = 43903, u32 = 3499731839, u64 = 140457520245631, f = -2.06252257e+10,
      d = 6.9395235453417642e-310, b = -795235457, c = 127 '\177', wc = 43903, p = 0x7fbed099ab7f}}, {val = {i8 = 0 '\0',
      i16 = 0, i32 = 0, i64 = 0, u8 = 0 '\0', u16 = 0, u32 = 0, u64 = 0, f = 0, d = 0, b = 0, c = 0 '\0', wc = 0, p = 0x0}},
  {val = {i8 = -48 '�', i16 = -13616, i32 = -1266758960, i64 = 140457048722128, u8 = 208 '�', u16 = 51920, u32 = 3028208336,
      u64 = 140457048722128, f = -2.37293762e-07, d = 6.9395002489853603e-310, b = -1266758960, c = -48 '�', wc = 51920,
      p = 0x7fbeb47ecad0}}, {val = {i8 = 18 '\022', i16 = 18, i32 = 18, i64 = 18, u8 = 18 '\022', u16 = 18, u32 = 18,
      u64 = 18, f = 2.52233724e-44, d = 8.8931816251424378e-323, b = 18, c = 18 '\022', wc = 18, p = 0x12}}, {val = {
      i8 = 18 '\022', i16 = 18, i32 = 18, i64 = 18, u8 = 18 '\022', u16 = 18, u32 = 18, u64 = 18, f = 2.52233724e-44,
      d = 8.8931816251424378e-323, b = 18, c = 18 '\022', wc = 18, p = 0x12}}, {val = {i8 = 0 '\0', i16 = 0, i32 = 0,
---Type <return> to continue, or q <return> to quit---
      i64 = 0, u8 = 0 '\0', u16 = 0, u32 = 0, u64 = 0, f = 0, d = 0, b = 0, c = 0 '\0', wc = 0, p = 0x0}}, {val = {
      i8 = 40 '(', i16 = -20696, i32 = -795234520, i64 = 140457520246568, u8 = 40 '(', u16 = 44840, u32 = 3499732776,
      u64 = 140457520246568, f = -2.06271447e+10, d = 6.9395235453880581e-310, b = -795234520, c = 40 '(', wc = 44840,
      p = 0x7fbed099af28}}, {val = {i8 = 11 '\v', i16 = 11, i32 = 11, i64 = 77309411339, u8 = 11 '\v', u16 = 11, u32 = 11,
      u64 = 77309411339, f = 1.54142831e-44, d = 3.8195924242809624e-313, b = 11, c = 11 '\v', wc = 11, p = 0x120000000b}}, {
    val = {i8 = 0 '\0', i16 = 0, i32 = 0, i64 = 0, u8 = 0 '\0', u16 = 0, u32 = 0, u64 = 0, f = 0, d = 0, b = 0, c = 0 '\0',
      wc = 0, p = 0x0}}, {val = {i8 = -92 '�', i16 = -12892, i32 = -1416835676, i64 = 2878131620, u8 = 164 '�', u16 = 52644,
      u32 = 2878131620, u64 = 2878131620, f = -1.0004675e-12, d = 1.4219859576514132e-314, b = -1416835676, c = -92 '�',
      wc = 52644, p = 0xab8ccda4}}, {val = {i8 = -48 '�', i16 = -13616, i32 = -1266758960, i64 = 140457048722128,
      u8 = 208 '�', u16 = 51920, u32 = 3028208336, u64 = 140457048722128, f = -2.37293762e-07, d = 6.9395002489853603e-310,
      b = -1266758960, c = -48 '�', wc = 51920, p = 0x7fbeb47ecad0}}}
 dispatchParams = (nsXPTCMiniVariant *) 0x7fbeb47ec820
 info = (const nsXPTMethodInfo *) 0xe64850
 paramCount = 1
 i = 4294967295
 result = <value optimized out>
 ap = <value optimized out>
 nr_gpr = 24
 nr_fpr = 1
 value = <value optimized out>
#4 0x00007fbed098e9c3 in SharedStub () from /usr/lib/xulrunner-1.9.0.5/libxul.so
No locals.
#5 0x00007fbed0765d42 in nsContentTreeOwner::SetStatusWithContext (this=0x289e820, aStatusType=<value optimized out>,
    aStatusText=@0x7fbeb47ec9f0, aStatusContext=0x0) at nsContentTreeOwner.cpp:452
 xulBrowserWindow = {<nsCOMPtr_base> = {mRawPtr = 0x302f4c0}, <No data fields>}
#6 0x00007fbed0766e5e in nsContentTreeOwner::SetStatus (this=0x289e820, aStatusType=1, aStatus=<value optimized out>)
    at nsContentTreeOwner.cpp:479
No locals.
#7 0x00007fbed03adb5d in nsPluginInstanceOwner::ShowStatus (this=<value optimized out>, aStatusMsg=0x7fbeb47ecaf0)
---Type <return> to continue, or q <return> to quit---
    at nsObjectFrame.cpp:2374
 rv = 0
 cont = {<nsCOMPtr_base> = {mRawPtr = 0x289dd08}, <No data fields>}
 docShellItem = {<nsCOMPtr_base> = {mRawPtr = 0x289ddf8}, <No data fields>}
 treeOwner = {<nsCOMPtr_base> = {mRawPtr = 0x289e820}, <No data fields>}
 browserChrome = {<nsCOMPtr_base> = {mRawPtr = 0x289e838}, <No data fields>}
#8 0x00007fbed03adbf5 in nsPluginInstanceOwner::ShowStatus (this=0x52859b0, aStatusMsg=0x529d018 "starting applet...")
    at nsObjectFrame.cpp:2341
 rv = <value optimized out>
#9 0x00007fbeb7053f2f in IcedTeaPluginFactory::HandleMessage ()
   from /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so
No symbol table info available.
#10 0x00007fbeb7056c5e in IcedTeaPluginFactory::ConsumeMsgFromJVM ()
   from /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so
No symbol table info available.
#11 0x00007fbeb7056df3 in IcedTeaPluginFactory::ProcessMessage ()
   from /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so
No symbol table info available.
#12 0x00007fbeb706516a in IcedTeaRunnableMethod<IcedTeaPluginFactory>::Run ()
   from /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/IcedTeaPlugin.so
No symbol table info available.
#13 0x00007fbed098463e in nsThread::ProcessNextEvent (this=0x523a690, mayWait=1, result=0x7fbeb47ed08c) at nsThread.cpp:510
 notifyGlobalObserver = 1
 obs = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
 event = {<nsCOMPtr_base> = {mRawPtr = 0x523a660}, <No data fields>}
 rv = 0
#14 0x00007fbed09598fe in NS_ProcessNextEvent_P (thread=0x5230018, mayWait=1) at nsThreadUtils.cpp:227
 val = <value optimized out>
#15 0x00007fbed0984cba in nsThread::ThreadFunc (arg=<value optimized out>) at nsThread.cpp:253
---Type <return> to continue, or q <return> to quit---
 self = (nsThread *) 0x523a690
 event = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
#16 0x00007fbed1169cb3 in _pt_root (arg=<value optimized out>) at ptthread.c:221
 thred = (PRThread *) 0x5273e30
 detached = 0
#17 0x00007fbed275d3ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#18 0x00007fbed1b1c0ad in clone () from /lib/libc.so.6
No symbol table info available.
#19 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: icedtea6-plugin 6b14-0ubuntu10
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_US.UTF-8
SourcePackage: openjdk-6
Uname: Linux 2.6.28-6-generic x86_64

Tags: apport-bug
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

if firefox crashes, it's certainly a bug in firefox. How do you reproduce the behaviour? please re-run from the command line with ICEDTEAPLUGIN_DEBUG set.

Changed in openjdk-6:
status: New → Incomplete
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :
Download full text (5.8 KiB)

$ ICEDTEAPLUGIN_DEBUG=1 firefox
ICEDTEA PLUGIN: Factory::IcedTeaPluginFactory
CONSTRUCTING FACTORY
ICEDTEAPLUGIN_DEBUG = 1
ICEDTEA PLUGIN: Factory::IcedTeaPluginFactory return
ICEDTEA PLUGIN: Factory::GetMIMEDescription
ICEDTEA PLUGIN: Factory::GetMIMEDescription return
ICEDTEA PLUGIN: Factory::GetValue
ICEDTEA PLUGIN: Factory::GetValue return
ICEDTEA PLUGIN: Factory::GetValue
ICEDTEA PLUGIN: Factory::GetValue return
ICEDTEA PLUGIN: Factory::~IcedTeaPluginFactory
DECONSTRUCTING FACTORY
ICEDTEA PLUGIN: Factory::~IcedTeaPluginFactory return
sh: acroread: not found
NSGetFactory called
ICEDTEA PLUGIN: NSGetFactory: Creating factory
ICEDTEA PLUGIN: Factory::IcedTeaPluginFactory
CONSTRUCTING FACTORY
ICEDTEAPLUGIN_DEBUG = 1
ICEDTEA PLUGIN: Factory::IcedTeaPluginFactory return
ICEDTEA PLUGIN: Factory::Initialize
ICEDTEA PLUGIN: Factory::Initialize: using /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/../../bin/java
ICEDTEA PLUGIN: thread manager
ICEDTEA PLUGIN: current thread
Initializing JVM...
ICEDTEA PLUGIN: get component manager
ICEDTEA PLUGIN: liveconnect
ICEDTEA PLUGIN: thread manager
ICEDTEA PLUGIN: Instance::StartAppletviewer
ICEDTEA PLUGIN: get component manager
ICEDTEA PLUGIN: create local file
ICEDTEA PLUGIN: init with path
ICEDTEA PLUGIN: create process
ICEDTEA PLUGIN: init process
ICEDTEA PLUGIN: clearing old input fifo (if any): /home/bugabundo/.icedteaplugin/icedtea-appletviewer-to-plugin
ICEDTEA PLUGIN: creating input fifo: /home/bugabundo/.icedteaplugin/icedtea-appletviewer-to-plugin
ICEDTEA PLUGIN: created input fifo: /home/bugabundo/.icedteaplugin/icedtea-appletviewer-to-plugin
ICEDTEA PLUGIN: got confirmation that appletviewer is running
ICEDTEA PLUGIN: clearing old output fifo (if any): /home/bugabundo/.icedteaplugin/icedtea-plugin-to-appletviewer
ICEDTEA PLUGIN: creating output fifo: /home/bugabundo/.icedteaplugin/icedtea-plugin-to-appletviewer
ICEDTEA PLUGIN: created output fifo: /home/bugabundo/.icedteaplugin/icedtea-plugin-to-appletviewer
ICEDTEA PLUGIN: run process
Listening for transport dt_socket at address: 8787
ICEDTEA PLUGIN: Instance::StartAppletviewer return
ICEDTEA PLUGIN: started appletviewer
ICEDTEA PLUGIN: Factory::Initialize return
ICEDTEA PLUGIN: Factory::CreateSecureEnv
ICEDTEA PLUGIN: JNIEnv::IcedTeaJNIEnv
ICEDTEA PLUGIN: JNIEnv::IcedTeaJNIEnv return
CREATESECUREENV
ICEDTEA PLUGIN: Factory::CreateSecureEnv return
ICEDTEA PLUGIN: Factory::CreateInstance
ICEDTEA PLUGIN: Instance::IcedTeaPluginInstance
ICEDTEA PLUGIN: Instance::IcedTeaPluginInstance return
ICEDTEA PLUGIN: Factory::CreateInstance return
ICEDTEA PLUGIN: Instance::Initialize
TAG FROM BROWSER = instance 1 tag http://loki10.mpi-sws.mpg.de/bb/bittorrent-blocking.php?measure=yes&down=yes&up=yes&port=-1&port2=-2&tcp=yes&duration=10 <applet archive="http://64.9.225.168:19981/BlockingDetector.jar" code="BlockingDetector" alt="Your Java plugin is not working!" height="40" width="200">
       <param name="ID" value="1233319608">
       <param name="server" value="64.9.225.168">
       <param name="port" value="-1">
       <param name="up" value="true">
       <param name="down" value="true">
       <param name="tcp" value="true">
       <param name="port2" value=...

Read more...

Changed in openjdk-6:
status: Incomplete → New
Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

$ java -version
java version "1.6.0_0"
IcedTea6 1.4 (6b14-0ubuntu10) Runtime Environment (build 1.6.0_0-b14)
OpenJDK 64-Bit Server VM (build 14.0-b08, mixed mode)

Revision history for this message
In , Matthias Klose (doko) wrote :
Download full text (5.8 KiB)

seen with IcedTea6 1.4 on amd64:

$ ICEDTEAPLUGIN_DEBUG=1 firefox
ICEDTEA PLUGIN: Factory::IcedTeaPluginFactory
CONSTRUCTING FACTORY
ICEDTEAPLUGIN_DEBUG = 1
ICEDTEA PLUGIN: Factory::IcedTeaPluginFactory return
ICEDTEA PLUGIN: Factory::GetMIMEDescription
ICEDTEA PLUGIN: Factory::GetMIMEDescription return
ICEDTEA PLUGIN: Factory::GetValue
ICEDTEA PLUGIN: Factory::GetValue return
ICEDTEA PLUGIN: Factory::GetValue
ICEDTEA PLUGIN: Factory::GetValue return
ICEDTEA PLUGIN: Factory::~IcedTeaPluginFactory
DECONSTRUCTING FACTORY
ICEDTEA PLUGIN: Factory::~IcedTeaPluginFactory return
sh: acroread: not found
NSGetFactory called
ICEDTEA PLUGIN: NSGetFactory: Creating factory
ICEDTEA PLUGIN: Factory::IcedTeaPluginFactory
CONSTRUCTING FACTORY
ICEDTEAPLUGIN_DEBUG = 1
ICEDTEA PLUGIN: Factory::IcedTeaPluginFactory return
ICEDTEA PLUGIN: Factory::Initialize
ICEDTEA PLUGIN: Factory::Initialize: using /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/../../bin/java
ICEDTEA PLUGIN: thread manager
ICEDTEA PLUGIN: current thread
Initializing JVM...
ICEDTEA PLUGIN: get component manager
ICEDTEA PLUGIN: liveconnect
ICEDTEA PLUGIN: thread manager
ICEDTEA PLUGIN: Instance::StartAppletviewer
ICEDTEA PLUGIN: get component manager
ICEDTEA PLUGIN: create local file
ICEDTEA PLUGIN: init with path
ICEDTEA PLUGIN: create process
ICEDTEA PLUGIN: init process
ICEDTEA PLUGIN: clearing old input fifo (if any): /home/bugabundo/.icedteaplugin/icedtea-appletviewer-to-plugin
ICEDTEA PLUGIN: creating input fifo: /home/bugabundo/.icedteaplugin/icedtea-appletviewer-to-plugin
ICEDTEA PLUGIN: created input fifo: /home/bugabundo/.icedteaplugin/icedtea-appletviewer-to-plugin
ICEDTEA PLUGIN: got confirmation that appletviewer is running
ICEDTEA PLUGIN: clearing old output fifo (if any): /home/bugabundo/.icedteaplugin/icedtea-plugin-to-appletviewer
ICEDTEA PLUGIN: creating output fifo: /home/bugabundo/.icedteaplugin/icedtea-plugin-to-appletviewer
ICEDTEA PLUGIN: created output fifo: /home/bugabundo/.icedteaplugin/icedtea-plugin-to-appletviewer
ICEDTEA PLUGIN: run process
Listening for transport dt_socket at address: 8787
ICEDTEA PLUGIN: Instance::StartAppletviewer return
ICEDTEA PLUGIN: started appletviewer
ICEDTEA PLUGIN: Factory::Initialize return
ICEDTEA PLUGIN: Factory::CreateSecureEnv
ICEDTEA PLUGIN: JNIEnv::IcedTeaJNIEnv
ICEDTEA PLUGIN: JNIEnv::IcedTeaJNIEnv return
CREATESECUREENV
ICEDTEA PLUGIN: Factory::CreateSecureEnv return
ICEDTEA PLUGIN: Factory::CreateInstance
ICEDTEA PLUGIN: Instance::IcedTeaPluginInstance
ICEDTEA PLUGIN: Instance::IcedTeaPluginInstance return
ICEDTEA PLUGIN: Factory::CreateInstance return
ICEDTEA PLUGIN: Instance::Initialize
TAG FROM BROWSER = instance 1 tag http://loki10.mpi-sws.mpg.de/bb/bittorrent-blocking.php?measure=yes&down=yes&up=yes&port=-1&port2=-2&tcp=yes&duration=10 <applet archive="http://64.9.225.168:19981/BlockingDetector.jar" code="BlockingDetector" alt="Your Java plugin is not working!" height="40" width="200">
       <param name="ID" value="1233319608">
       <param name="server" value="64.9.225.168">
       <param name="port" value="-1">
       <param name="up" value="true">
       <param name="down" value="true">
       <param name="tcp" value="true">...

Read more...

Revision history for this message
In , Matthias Klose (doko) wrote :
Changed in openjdk:
status: Unknown → Confirmed
Revision history for this message
Micah Gersten (micahg) wrote :

I just tested this with the Sun version of Java and there is no problem with Firefox.

Changed in firefox (Ubuntu):
status: New → Invalid
Revision history for this message
In , Jon-vanalten (jon-vanalten) wrote :

I do not reproduce this segfault with current version.

java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.5) (fedora-22.b16.fc11-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b15, mixed mode)

I do instead find that the applet times out approx 25% through the long test, leaving browser intact. This may be due to the network environment I am in and the nature of the applet, I will also try from elsewhere. If anyone else who was seeing this issue could try with current build as well that would be great.

Revision history for this message
In , Jon-vanalten (jon-vanalten) wrote :

I've tried this several more times. Managed to crash firefox once. Unfortunately didn't run from the command line that time....

However, I have come to realize something about what happens when it 'times out'. The web site goes to a page indicating applet timed out, however the applet keeps on running (java process using high CPU) for some time before ending. Tried running from the command line and the applet seems to terminate normally, and at the end spits out a URL whose page indicates satisfactory test results. Not sure yet why the browser believes it has timed out and doesn't get sent to the URL generated.

I have occasionally had the applet simply fail to load, with output along the lines of:

<SNIP>
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet.
        at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:495)
        at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:441)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:620)
Caused by: java.lang.NullPointerException
        at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:481)
        ... 2 more
Caused by:
java.lang.NullPointerException
        at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:481)
        at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:441)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:620)
java.lang.NullPointerException
        at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:102)
        at sun.applet.AppletPanel.run(AppletPanel.java:380)
        at java.lang.Thread.run(Thread.java:636)
java.lang.NullPointerException
        at sun.applet.AppletPanel.run(AppletPanel.java:430)
        at java.lang.Thread.run(Thread.java:636)
</SNIP>

I've also been trying this with Sun's Java, and the timeout and failure to load issues happen there too (albeit with less frequency).

I suppose I should mention that all of this is using Firefox 3.5.

Revision history for this message
In , Matthias Klose (doko) wrote :

this doesn't crash anymore with 1.6.1, but keeps a running java process at 100% after the connection times out during the test

Revision history for this message
Matthias Klose (doko) wrote :

this doesn't crash anymore with karmic, but keeps a running java process at 100% after the connection times out during the test

Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Asu-3 (asu-3) wrote :

unable to reproduce.
The applet runs for a while then times out. After that, it redirects me to the error page regarding it's timeout. It does not leave a java process running after it has ended, nor has firefox crashed.

java version "1.6.0_17"
OpenJDK Runtime Environment (IcedTea6 1.7.1) (fedora-37.b17.fc13-x86_64)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)

My situation is similar to Jon's first comment [1]

[1]http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=290#c2

Revision history for this message
In , Matthias Klose (doko) wrote :

works for me with the icedtea6 1.8 branch

Revision history for this message
Matthias Klose (doko) wrote :

this works for me with 6b18-1.8-4ubuntu3

Changed in openjdk-6 (Ubuntu):
status: Confirmed → Fix Released
Changed in openjdk:
status: Confirmed → Fix Released
Changed in openjdk:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.