Submitted On 19-JUL-2001
hsiddiqu
This bug report and
The java-1.3.1 installation notes for Linux
http://java.sun.com/j2se/1.3/install-linux-sdk.html
and the above discussion suggest that the problem is due to
glibc-2.2.x libraries.
However, I'm using RH Linux 7.0 (Guinness) and libc-2.1.92
and get a seg fault after compiling/running the SegFaultTest
class mentioned earlier. Again, the fault disappears if I
use the suggested workaround of ulimit -s 2048.
Submitted On 21-JUL-2001
huanghui1
But isn't "libc-2.1.92" a beta release of glibc-2.2?
The last glibc-2.1 release is 2.1.3.
Submitted On 18-AUG-2001
bojans
The latest glibc from Rawhide (glibc-2.2.4-5.i386.rpm,
glibc-common-2.2.4-5.i386.rpm etc.) seems to be fixing the
problem quite fine on RedHat 7.0, custom compiled kernel
2.4.9. Most other programs seem to be working with this
glibc as well (so far :-)
WARNING: Upgrading glibc on your system my break any number
of other programs. USE AT YOUR OWN RISK!!!
Submitted On 27-AUG-2001
aranganath
I'm running RedHat 7.1 Server install. I've installed the
compat-libstdc++ libraries for the server isntall, and i am
still getting this segfault. the ulimit workaround solves
it, but i still find it curious that this happens under
7.1. any ideas what the problem might be?
Submitted On 21-SEP-2001
huanghui1
Try "echo $LD_ASSUME_KERNEL"
If it says "2.2.x", then you need the "ulimit" hack.
Basically, RH-7.1 comes with two versions of libpthread,
i386 and i686. The i686 version (in /lib/i686) makes
use of 2.4 kernel features and has floating stack support.
The i386 version has the bug we mentioned in evaluation.
By default, Redhat 7.1 uses i686 version of libpthread, so
we say the bug does not affect Redhat 7.1. However, if you
set LD_ASSUME_KERNEL to 2.2.5 (I understand that's what
Redhat recommends in README), then the i386 version will
be loaded instead. This version has the bug. You need to
either limit stacksize or unset LD_ASSUME_KERNEL.
Submitted On 05-OCT-2001
ZhichaoH
I have tried jdk1.3.1-01 on RedHat7.1 with 2.4.3 kernel.
The JVM crashed
when I tried to run xalan samples. Use java -classic or
ulimit -s 2048
helps solved the problem. 2001-10-4
Submitted On 07-OCT-2001
ebourgeois
I tried the SegFaultTest above on RedHat7.0 and glibc 2.2-12
and I still receive the segmentation fault. However, if I
use the ulimit hack, I am thrown a NullPointerException. I
don't really feel like upgrading to RedHat7.1 for this. Has
anyone else in the same boat?
Submitted On 11-OCT-2001
22111978
This problem also occures when building MIDP 1.03 On a
RedHat 7.0 Box (Guinness) when using JDK 1.3.1_01.
The JavaCodeCompact tool crashes with a Seg. Fault when
generating ROMjavaUnix.c
Using -classis causes the JVM immediatly to crash and
dumping core. Using the "ulimit" hack works fine.
Submitted On 17-OCT-2001
schamp
just to let Debian users know: this doesn't appear to be a
problem on Debian/'woody' systems.
with Debian/woody, default libstdc, and kernel 2.4.9,
using Sun's JRE 1.4.0-beta2 :
SegFaultTest.java : produced the expected stack-overflow
errors
SegFaultTestNpe and SegFaultTestNpeNc : each produced an
ArrayIndexOutOfBoundsException
no segfaults.
Submitted On 06-NOV-2001
frankz99
For me, java -classic works but even ulimit doesn't fix
me. I'm on kernel 2.2.19 with glibc 2.1.3. What else
should I look for??
Submitted On 18-NOV-2001
ypokkine
I have Mandrake 8.1 ,it worked fine in the beginning but
after I tried to compile diver.java it crashed.
ulimit -s 2048 was not in use at the time
Submitted On 07-JAN-2002
b0nb0n0v
I'm using Slackware 8.0 and I also have runtime problem near
to this.
./javac: error while loading shared libraries: cannot open
shared object file: cannot load shared object file: No such
file or directory
Submitted On 27-JAN-2002
cgh_sun
I'm using Debian Woody with some packages from unstable
and glibc 2.2.4. JDK 1.4 Release Candidate immediately
segfaults with any invocation of any command line tool.
JDK 1.3.1 works with the classic VM ("java -classic").
ulimit -s 2048 does NOT solve any problems. IBM's JDK
works fine, but is incompatible with Sun's reference
implementation of the J2EE server. I'm uncertain about
breaking stuff by downgrading my version of glibc -- any
suggestions?
Submitted On 08-FEB-2002
skeet5
skeet5 can i play? I am tired of all the sign-up pages & regisitering &entering info & and can only read pages I own almost every game book there is. very frustrated!11 please help?skeet5@earthlink.net
Submitted On 05-NOV-2003
wfvoogd
schamp:
are you sure you used the -server option with mem settings,
because on my woody it did occur (build 1.4.0_01-b03) ulimit
-s 2048 did help, but not all the way, i got one out of my
tomcat yesterday :( Still looking for further opts. reading
this it might seem a good idea to look for
NullPointerExceptions catches in the code and replace them
by a pre check?
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|