Stack overflow causes hotspot crash

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Stack overflow causes hotspot crash

Sebastiaan van Erk
Hi,

Just wanted to report a hotspot vm crash due to a stack overflow error.
The overflow was a stupid completion error (2 methods that started with
an A), but I don't think hotspot should crash. The log is attached.

Greetings,
Sebastiaan van Erk

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x2b57af50, pid=37542, tid=0x8972200
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0-p2-root_03_nov_2005_16_31 mixed mode)
# Problematic frame:
# J  java.lang.String.hashCode()I
#

---------------  T H R E A D  ---------------

Current thread (0x0873dc00):  JavaThread "http-8080-Processor1" daemon [_thread_in_Java, id=144122368]

siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0xbf42aff4

Registers:
EAX=0x326ec430, EBX=0x326ec1f0, ECX=0x2e3cd938, EDX=0x2b5d72a0
ESP=0xbf42dff4, EBP=0xbf42e010, ESI=0x2e3cd938, EDI=0x2e3bb038
EIP=0x2b57af50, EFLAGS=0x00010212

Top of Stack: (sp=0xbf42dff4)
0xbf42dff4:   2b5d72bf 2e3cd938 315f6e20 00000000
0xbf42e004:   00000000 00000000 00000000 bf42e030
0xbf42e014:   2b5a819d 2e3cd2a0 315f6e20 00000000
0xbf42e024:   00000000 bf42e048 2b5a819d bf42e068
0xbf42e034:   2b5ac23d 2e3cd2a0 32af9310 ffffffff
0xbf42e044:   2e45b9a8 bf42e080 2b5ac2b7 2e45b9a8
0xbf42e054:   2e3cd2a0 00000000 00000000 bf42e080
0xbf42e064:   2e3cd2a0 bf42e098 2b6efd09 2e3cd2a0

Instructions: (pc=0x2b57af50)
0x2b57af40:   90 90 90 90 90 90 90 3b 41 04 0f 85 30 b1 fe ff
0x2b57af50:   89 84 24 00 d0 ff ff 55 8b ec 83 ec 28 8b 55 08

Stack: [0xbf5f3000,0xbf633000),  sp=0xbf42dff4,  free space=-1813k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J  java.lang.String.hashCode()I
J  java.util.HashMap.hash(Ljava/lang/Object;)I
J  java.util.HashMap.get(Ljava/lang/Object;)Ljava/lang/Object;
J  org.apache.tapestry.services.impl.ComponentPropertySourceImpl.getSourceForComponent(Lorg/apache/tapestry/IComponent;)Lorg/apache/tapestry/engine/IPropertySource;
J  org.apache.tapestry.services.impl.ComponentPropertySourceImpl.getComponentProperty(Lorg/apache/tapestry/IComponent;Ljava/lang/String;)Ljava/lang/String;
J  $ComponentPropertySource_10757d04998.getComponentProperty(Lorg/apache/tapestry/IComponent;Ljava/lang/String;)Ljava/lang/String;
J  $Home_0.getAnonymousAccessAllowed()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
J  com.sebster.tapestry.pages.AuthenticatedPage.isUserAccessGranted()Z
...<more frames>...


---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x086eb600 JavaThread "TP-Monitor" daemon [_thread_blocked, id=141473792]
  0x086eb200 JavaThread "TP-Processor4" daemon [_thread_in_native, id=141472768]
  0x088b1e00 JavaThread "TP-Processor3" daemon [_thread_blocked, id=141471744]
  0x088a5800 JavaThread "TP-Processor2" daemon [_thread_blocked, id=141442560]
  0x0873d200 JavaThread "TP-Processor1" daemon [_thread_blocked, id=141810176]
  0x088b1200 JavaThread "http-8080-Monitor" [_thread_blocked, id=143332352]
  0x08972800 JavaThread "http-8080-Processor2" daemon [_thread_in_native, id=144124928]
=>0x0873dc00 JavaThread "http-8080-Processor1" daemon [_thread_in_Java, id=144122368]
  0x088a5a00 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=143285248]
  0x08165a00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135683072]
  0x08165400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135681536]
  0x08165000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135680512]
  0x0815c800 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=135645696]
  0x0815c400 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=135644672]
  0x0813d600 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=135518720]
  0x0813d200 JavaThread "Finalizer" daemon [_thread_blocked, id=135517184]
  0x0806be00 JavaThread "Reference Handler" daemon [_thread_blocked, id=135516160]
  0x08060e00 JavaThread "main" [_thread_in_native, id=134610944]

Other Threads:
  0x08120300 VMThread [id=134659072]
  0x0805ae00 WatcherThread [id=135737344]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 1792K, used 1504K [0x2d580000, 0x2d770000, 0x2da60000)
  eden space 1600K,  94% used [0x2d580000, 0x2d6f80d0, 0x2d710000)
  from space 192K,   0% used [0x2d710000, 0x2d710000, 0x2d740000)
  to   space 192K,   0% used [0x2d740000, 0x2d740000, 0x2d770000)
 tenured generation   total 23640K, used 14182K [0x2da60000, 0x2f176000, 0x31580000)
   the space 23640K,  59% used [0x2da60000, 0x2e839998, 0x2e839a00, 0x2f176000)
 compacting perm gen  total 24832K, used 24818K [0x31580000, 0x32dc0000, 0x35580000)
   the space 24832K,  99% used [0x31580000, 0x32dbc870, 0x32dbca00, 0x32dc0000)
No shared spaces configured.

Dynamic libraries:
0x08048000 /usr/local/jdk1.5.0/bin/java
0x28080000 /usr/lib/libpthread.so.2
0x280a5000 /lib/libc.so.6
0x2817d000 /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so
0x285cf000 /lib/libm.so.4
0x285e6000 /usr/local/jdk1.5.0/jre/lib/i386/native_threads/libhpi.so
0x285ef000 /usr/local/jdk1.5.0/jre/lib/i386/libjdwp.so
0x2862c000 /usr/local/jdk1.5.0/jre/lib/i386/libverify.so
0x28639000 /usr/local/jdk1.5.0/jre/lib/i386/libjava.so
0x28658000 /usr/local/jdk1.5.0/jre/lib/i386/libzip.so
0x2d57a000 /usr/local/jdk1.5.0/jre/lib/i386/libdt_socket.so
0x36777000 /usr/local/jdk1.5.0/jre/lib/i386/libnet.so
0x28055000 /libexec/ld-elf.so.1

VM Arguments:
jvm_args: -Dcatalina.home=/usr/home/sebster/applications/jakarta-tomcat5.5 -Djava.endorsed.dirs=/usr/home/sebster/applications/jakarta-tomcat5.5/common/endorsed -Dcatalina.base=/usr/home/sebster/applications/jakarta-tomcat5.5 -Djava.io.tmpdir=/usr/home/sebster/applications/jakarta-tomcat5.5/temp -Dorg.apache.tapestry.enable-reset-service=true -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,suspend=y,address=localhost:52122
java_command: org.apache.catalina.startup.Bootstrap -config /usr/home/sebster/applications/jakarta-tomcat5.5/conf/server.xml start

Environment Variables:
JAVA_HOME=/usr/local/jdk1.5.0
PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/sebster/bin:/usr/X11R6/bin:/home/sebster/bin
LD_LIBRARY_PATH=/usr/local/jdk1.5.0/jre/lib/i386/client:/usr/local/jdk1.5.0/jre/lib/i386:/usr/local/jdk1.5.0/jre/../lib/i386:/usr/X11R6/lib/mozilla::/usr/X11R6/lib/mozilla
SHELL=/bin/tcsh
DISPLAY=:0.0
HOSTTYPE=FreeBSD
OSTYPE=FreeBSD
MACHTYPE=i386


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

OS:FreeBSD
uname:FreeBSD 6.0-RC1 FreeBSD 6.0-RC1 #0: Sun Oct 30 09:44:10 CET 2005     [hidden email]:/usr/src/sys/i386/compile/GENERIC i386
rlimit: STACK 65536k, CORE infinity, NOFILE 10951
CPU:total 1 family 15, cmov, cx8, fxsr, mmx, ht

Memory: 4k page, physical 654296k

vm_info: Java HotSpot(TM) Client VM (1.5.0-p2-root_03_nov_2005_16_31) for freebsd-x86, built on Nov  3 2005 19:08:21 by root with gcc 3.4.4 [FreeBSD] 20050518


_______________________________________________
[hidden email] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "[hidden email]"