Can you say more precisely what you meant by "immediate Abort"?

DId a Java runtime error message appear (e.g. java exception)?  If you only saw 
"Aborted" and nothing else, then
it is likely the segv.  In that case please try the test using gdb as shown in 
the bug report; this will stop and display any signal.


________________________________
From: Kees Cook <k...@ubuntu.com>
To: james_av...@yahoo.com
Sent: Tue, November 17, 2009 7:45:54 PM
Subject: Re: [Bug 484414] Re: Segfault in _Jv_SetCurrentJNIEnv in 
/usr/lib/libgcj.so.10

Ah, yes.  Sorry, I forgot to mention that part.  I was not able to
reproduce the issue an non-updated Karmic.  I just get an immediate Abort
(not a Segv).

-- 
Segfault in _Jv_SetCurrentJNIEnv in /usr/lib/libgcj.so.10
https://bugs.launchpad.net/bugs/484414
You received this bug notification because you are a direct subscriber
of the bug.

Status in “gcj-4.4” package in Ubuntu: New

Bug description:
Interactive Brokers' Trader Workstation is a Java app which was working 
perfectly in Karmic until a recent update.  Now java aborts immediately at 
start-up with a segfault when running this application.

To reproduce this, please download the attached pluginsupport.jar file
into an empty directory, cd into that directory, and then run the
following command:

   /usr/bin/gij-4.4 -cp
jts.jar:pluginsupport.jar:riskfeed.jar:hsqldb.jar:jcommon-1.0.12.jar:jfreechart-1.0.9.jar:jhall.jar:other.jar:rss.jar
jclient.LoginFrame .

Notes: In real life I ran /usr/bin/java, which is a symlink to 
/etc/alternatives/java, which symlinks to /usr/bin/gij-4.4
The attached .jar file appears to be the only file needed to reproduce this 
segfault; if you want to have the full application, download it from 
http://individuals.interactivebrokers.com/en/p.php?f=tws (use the 'Unix 
Standalone' version TWS 899).
Regardless of what java code is or is not present, a segfault should never 
occur.

Here is a stack trace obtained by running under gdb:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6059d32 in _Jv_SetCurrentJNIEnv(_Jv_JNIEnv*) ()
   from /usr/lib/libgcj.so.10
(gdb) bt
#0  0x00007ffff6059d32 in _Jv_SetCurrentJNIEnv(_Jv_JNIEnv*) ()
   from /usr/lib/libgcj.so.10
#1  0x00007ffff60178ee in 
_Jv_GetJNIEnvNewFrameWithLoader(java::lang::ClassLoader*) () from 
/usr/lib/libgcj.so.10
#2  0x00007ffff60576ba in void java::lang::Runtime::_load(java::lang::String*, 
bool) () from /usr/lib/libgcj.so.10
#3  0x00007ffff63d3c42 in void 
java::lang::Runtime::loadLibrary(java::lang::String*) () from 
/usr/lib/libgcj.so.10
#4  0x00007ffff63bd284 in void 
java::lang::System::loadLibrary(java::lang::String*) () from 
/usr/lib/libgcj.so.10
#5  0x00007ffff63e441a in ?? () from /usr/lib/libgcj.so.10
#6  0x00007ffff63e993b in void java::math::BigInteger::__U3c_clinit__U3e_() ()
   from /usr/lib/libgcj.so.10
#7  0x00007ffff605374f in void java::lang::Class::initializeClass() ()
   from /usr/lib/libgcj.so.10^M
#8  0x00007ffff600db13 in _Jv_AllocObjectNoFinalizer ()^M
   from /usr/lib/libgcj.so.10^M
#9  0x00007ffff6142848 in int gnu::java::security::der::DERReader::readLength()
    () from /usr/lib/libgcj.so.10
...

ProblemType: Bug
Architecture: amd64
Date: Tue Nov 17 11:54:14 2009
DistroRelease: Ubuntu 9.10
Package: gcj-4.4-jre-headless 4.4.1-5ubuntu2
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: gcj-4.4
Uname: Linux 2.6.31-14-generic x86_64

-- 
Segfault in _Jv_SetCurrentJNIEnv in /usr/lib/libgcj.so.10
https://bugs.launchpad.net/bugs/484414
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to