JRE (pthreads) aborting in hosted mode?

5 views
Skip to first unread message

seven.reeds

unread,
Jun 11, 2008, 5:19:24 PM6/11/08
to Google Web Toolkit
Hi,

My office machine was recently updated from an ancient redhat version
to redhat enterprise 5. I installed the latest Java

$ java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)

and I can "compile" my gwt app. I can not run it in shell/hosted mode
though. I get a brief message of

#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00c5a3a0, pid=4452, tid=4102826896
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing
linux-x86)
# Problematic frame:
# C [libpthread.so.0+0x73a0] pthread_mutex_lock+0x20
#
# An error report file with more information is saved as:
# /www/local/www/calendars/ITGCalendar/hs_err_pid4452.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

There is a much larger log file that is dumped if you are interested.

Am I right in thinking that I need a more recent pthreads lib?

seven.reeds

unread,
Jun 16, 2008, 5:42:44 PM6/16/08
to Google Web Toolkit
Five days... seems like only a year ago... I hope this is not
happening to anyone else.

The saga, in as much of a nutshell as I can manage is that about 6
days ago the group admin noticed that I was running an ancient version
of 64bit redhat or fedora, whatever, it worked. My machine was
upgraded to the latest version and I came in to work on the various
GWT projects I have going. I got the message above about the java VM
segfaulting over pthreads.

We tried installing the most recent java sdk/jre but got nowhere.

We could not figure this out. We downgraded my box back to the oldest
supported os version that was still hanging around and it did not work
there.

I found some mention that GWT "does not work with 64bit java VM" so
just today we re-re-(*)-installed my stupid box but this time to a
32bit os version. After the install was complete I recompiled my GWT
app. That seems to have worked. I tried going into hosted mode but
got an error that "libstdc++.so.5" could not be found! [I'm hating
fedora just now]. I was able to find another rpm at rpm.pbone.net
that gave me that lib.

I tried hosted mode again and ... blam-o... I'm back to a bad pthreads
library.

I tried getting an rpm from pbone with pthreads in it but none of them
successfully installed.

So, part of this story is becareful with the newer Fedora/RedHat
installs.
Reply all
Reply to author
Forward
0 new messages