Thread
:
Segmentation Fault during startup
View Single Post
#
14
(
permalink
)
March 31st, 2002
Unregistered
Guest
Posts: n/a
Re: Hapy Days! oh joy! oh Rapture!!!!
This still occurs on LimeWire 2.3 and Mandrake 8.0. I have 8.1 and 8.2 but have not yet tried it, but I imagine it will have the same problem.
Quote:
Originally posted by jalmon
Hey if you haven't figured this out yet I think I just found the answer in a thread down below try this out. I'll try it tonight and let you know.
-----------------------------------------
!!!! FIX !!!
in the java 1.3.1 release notes, i found this:
* For Linux users - The newer glibc-2.2.x libraries cannot correctly handle initial thread stack sizes larger than 6 MB. This can cause a segmentation fault on come Linux platforms that use the newer libraries. Such platforms include Red Hat 7.0, Mandrake 8.0, SuSe 7.2, and Debian 2.2. The problem will not occur on Linux platforms that are using glibc-2.1.x such as Red Hat 6.1 and 6.2. It will also not affect Red Hat 7.1 because it uses a different thread stack layout. This problem is being tracked as bug 4466587.
Workaround - Use "ulimit -s 2048" in bash shell or "limit stacksize 2048" in tcsh to limit the initial thread stack to 2 MB.
i added the line "ulimit -s 2048" to runlime.sh just before the call of java and now it works!
hope this will help you, too!
wingo
------------------------------------------------------