SIGSEGV - Adding Object to ArrayList

54 views
Skip to first unread message

Jeremiah Elliott

unread,
Aug 13, 2008, 5:21:30 PM8/13/08
to Google-We...@googlegroups.com
Yesterday I started getting this problem -
Anytime i run my gwt app in hosted mode it dies after a few seconds of
running. The hosted browser and server just close. Here is the output
that i get: Attached is the longer log file.

#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb7fbe540, pid=3168, tid=1988291472
#
# Java VM: Java HotSpot(TM) Server VM (10.0-b22 mixed mode linux-x86)
# Problematic frame:
# C [libpthread.so.0+0x7540] pthread_mutex_lock+0x20
#
# An error report file with more information is saved as:
# /home/geek/workspace/sgDash/hs_err_pid3168.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
After a _long_ debug session it seems that the root cause is adding
an object to an ArrayList
Neither the arrayList nor the Object are null.

I was running 1.5.0 but when i started having this problem I upgraded
to 1.5.1, with no change. I am running Linux 2.6.19 (Ubuntu 8.4),
sun's java 1.6.06.

If i deploy the app to tomcat it runs just fine. No crashes or
javascript errors.

I have been looking at this for over 8 hours now. Any help would be helpful.

hs_err_pid3168.log

Jeremiah Elliott

unread,
Aug 13, 2008, 6:03:35 PM8/13/08
to Google-We...@googlegroups.com
OOPS!! OK, I have some incorrect information here - The failure is not
caused by an ArrayList - Its actually this:

TabPanel.add(DockPanel,HorizontalPanel);


Also, if i am in the debugger eclipse gives me a popup with this error message:
Exception processing async thread queue
Exception processing async thread queue
Got IOException from Virtual Machine


-Jeremaih

browndar

unread,
Sep 8, 2008, 11:57:47 PM9/8/08
to Google Web Toolkit
Hi there,

I am a victim of the same thing. I am using gwt-maven to try to get
the project running in hosted mode. I have successfully deployed the
project in tomcat and it is working really well.

Here is my error message.

#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb7fbe540, pid=16282, tid=3011623824
#
# Java VM: Java HotSpot(TM) Client VM (10.0-b22 mixed mode, sharing
linux-x86)
# Problematic frame:
# C [libpthread.so.0+0x7540] pthread_mutex_lock+0x20
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
... lots o garbly gook

--------------- S Y S T E M ---------------

OS:lenny/sid

uname:Linux 2.6.24-19-generic #1 SMP Wed Aug 20 22:56:21 UTC 2008 i686
libc:glibc 2.7 NPTL 2.7
rlimit: STACK 8192k, CORE 0k, NPROC 16384, NOFILE 1024, AS infinity
load average:1.22 0.95 0.75

CPU:total 1 (2 cores per cpu, 1 threads per core) family 6 model 7
stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3

Memory: 4k page, physical 2075736k(280060k free), swap
1510068k(1470312k free)

vm_info: Java HotSpot(TM) Client VM (10.0-b22) for linux-x86 JRE
(1.6.0_06-b02), built on Mar 25 2008 00:39:19 by "java_re" with gcc
3.2.1-7a (J2SE release)

time: Mon Sep 8 20:42:49 2008
elapsed time: 11 seconds

Anyone else experiencing this? I see two others beside this thread:

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/a8420d8c4116cb3f/d718aa3f55cf1718?lnk=gst&q=pthread_mutex_lock#d718aa3f55cf1718

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/30b8d089d378ce7/abce0adb08808ac0?lnk=gst&q=pthread_mutex_lock#abce0adb08808ac0

On Aug 13, 3:03 pm, "Jeremiah Elliott" <jeremi...@gmail.com> wrote:
> OOPS!! OK, I have some incorrect information here - The failure is not
> caused by an ArrayList - Its actually  this:
>
> TabPanel.add(DockPanel,HorizontalPanel);
>
> Also, if i am in the debugger eclipse gives me a popup with this error message:
> Exception processing async thread queue
> Exception processing async thread queue
> Got IOException from Virtual Machine
>
> -Jeremaih
>

browndar

unread,
Sep 10, 2008, 3:31:03 AM9/10/08
to Google Web Toolkit

browndar

unread,
Sep 10, 2008, 3:37:57 AM9/10/08
to Google Web Toolkit
I hate copy-paste as I hate hell, all montagues and... ok this is the
link I meant to paste:

http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/e0373c36acf2dad6/2311467a1772c3b8?lnk=gst&q=libpthread#2311467a1772c3b8

On Sep 10, 12:31 am, browndar <darren.s.br...@gmail.com> wrote:
> Ah!  Someone has already posted a solution:
>
> http://groups.google.com/group/Google-Web-Toolkit/browse_thread/threa...
Reply all
Reply to author
Forward
0 new messages