tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hagger <mark.hag...@m-spatial.com>
Subject Re: Problem: An unexpected error has been detected by HotSpot Virtual Machine
Date Mon, 08 May 2006 08:53:04 GMT
No question that this is a Java VM problem, no java code should be able
to crash a VM, thats the point of java really.

Although back in the real world this is clearly a problem being
"tickled" by some code in tomcat.  You might want to check that your OS
is fully up to date, and possibly try using different GC/memory settings
which can sometimes avoid hitting these sort of problems.

Failing that, report it to Sun...

Mark


On Mon, 2006-05-08 at 10:45 +0200, Martijn Moret wrote:
> Hi,
> 
> We use tomcat 5.5.15 on Solaris 9 (latest recommended patches and j2se
> cluster). once in a  while tomcat crashes, the following message appears:
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> #  SIGSEGV (0xb) at pc=0xfee32868, pid=7483, tid=10
> #
> # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
> # Problematic frame:
> # V  [libjvm.so+0x632868]
> #
> # An error report file with more information is saved as hs_err_pid7483.log
> 
> Any ideas? is this java, tomcat or lucene?
> 
> Regards
> Martijn
> 
> hs_err_pid7483.log:
> #
> # An unexpected error has been detected by HotSpot Virtual Machine:
> #
> #  SIGSEGV (0xb) at pc=0xfee32868, pid=7483, tid=10
> #
> # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
> # Problematic frame:
> # V  [libjvm.so+0x632868]
> #
> 
> ---------------  T H R E A D  ---------------
> 
> Current thread (0x001495b8):  JavaThread "CompilerThread1" daemon
> [_thread_in_native, id=10]
> 
> siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000000
> 
> Registers:
>  O0=0x00000000 O1=0x019195dc O2=0x019195bc O3=0xfe9130bc
>  O4=0x0191ac9c O5=0x00000003 O6=0xb487e6a0 O7=0xfee3283c
>  G1=0x00114354 G2=0xfeffe43c G3=0x001143b8 G4=0x00000001
>  G5=0xfec07fc8 G6=0x00000000 G7=0xff351200 Y=0xffffffff
>  PC=0xfee32868 nPC=0xfee3286c
> 
> 
> Top of Stack: (sp=0xb487e6a0)
> 0xb487e6a0:   0011432c 0191ac74 fefbe000 b487e700
> 0xb487e6b0:   00000001 00000000 0191acb8 00000000
> 0xb487e6c0:   feffea58 b487ec5c 00000000 0191acb8
> 0xb487e6d0:   b487ec5c 00114390 b487e710 fe8f887c
> 0xb487e6e0:   b487e708 b487e70c b487e704 00000004
> 0xb487e6f0:   008ce780 00000004 00000002 b487ec5c
> 0xb487e700:   00000000 00000002 008ce7a0 00000000
> 0xb487e710:   00002000 b487ec84 fe90d5a4 ff001e84
> 
> Instructions: (pc=0xfee32868)
> 0xfee32858:   12 40 00 08 90 10 20 00 d2 02 a0 04 d0 02 60 08
> 0xfee32868:   ca 02 20 00 c8 01 60 30 9f c1 00 00 01 00 00 00
> 
> Stack: [0xb4800000,0xb4880000),  sp=0xb487e6a0,  free space=505k
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
> V  [libjvm.so+0x632868]
> V  [libjvm.so+0xf8884]
> V  [libjvm.so+0x1e3ba0]
> V  [libjvm.so+0x27f9f4]
> V  [libjvm.so+0x282748]
> V  [libjvm.so+0x278700]
> V  [libjvm.so+0x2793bc]
> V  [libjvm.so+0x335f28]
> V  [libjvm.so+0x2de2a4]
> V  [libjvm.so+0x664248]
> 
> 
> Current CompileTask:
> opto:1412  !  
> org.apache.lucene.index.IndexReader.open(Lorg/apache/lucene/store/Directory;Z)Lorg/apache/lucene/index/IndexReader;
> (36 bytes)
> 
> 
> ---------------  P R O C E S S  ---------------
> 
> Java Threads: ( => current thread )
>   0x001cd490 JavaThread "TP-Processor24" daemon [_thread_blocked, id=64]
>   0x009aa828 JavaThread "TP-Processor23" daemon [_thread_in_native, id=63]
>   0x0102e0d0 JavaThread "TP-Processor22" daemon [_thread_in_native, id=62]
>   0x006de9c0 JavaThread "TP-Processor21" daemon [_thread_blocked, id=61]
>   0x01bdf390 JavaThread "TP-Processor20" daemon [_thread_in_native, id=60]
>   0x004a5ce8 JavaThread "TP-Processor19" daemon [_thread_in_native, id=59]
>   0x00580af0 JavaThread "TP-Processor18" daemon [_thread_blocked, id=58]
>   0x006246d8 JavaThread "TP-Processor17" daemon [_thread_in_native, id=57]
>   0x01d7cb28 JavaThread "TP-Processor16" daemon [_thread_blocked, id=56]
>   0x0041f818 JavaThread "TP-Processor15" daemon [_thread_in_native, id=55]
>   0x00368598 JavaThread "TP-Processor14" daemon [_thread_blocked, id=54]
>   0x0191edb8 JavaThread "TP-Processor13" daemon [_thread_in_native, id=53]
>   0x00a45820 JavaThread "TP-Processor12" daemon [_thread_in_native, id=52]
>   0x01ba2d00 JavaThread "TP-Processor11" daemon [_thread_in_native, id=51]
>   0x01ba2b38 JavaThread "TP-Processor10" daemon [_thread_blocked, id=50]
>   0x00f67490 JavaThread "TP-Processor9" daemon [_thread_in_native, id=49]
>   0x00c352e8 JavaThread "TP-Processor8" daemon [_thread_in_native, id=48]
>   0x019a2118 JavaThread "TP-Processor7" daemon [_thread_in_native, id=47]
>   0x019dff78 JavaThread "TP-Processor6" daemon [_thread_in_native, id=46]
>   0x008aa3b0 JavaThread "TP-Processor5" daemon [_thread_blocked, id=45]
>   0x00e894d8 JavaThread "TP-Monitor" daemon [_thread_blocked, id=44]
>   0x00e884e0 JavaThread "TP-Processor4" daemon [_thread_in_native, id=43]
>   0x00e87928 JavaThread "TP-Processor3" daemon [_thread_in_native, id=42]
>   0x0021ef40 JavaThread "TP-Processor2" daemon [_thread_in_native, id=41]
>   0x007696d8 JavaThread "TP-Processor1" daemon [_thread_blocked, id=40]
>   0x007683a0 JavaThread "http-8080-Monitor" [_thread_blocked, id=39]
>   0x006570f0 JavaThread "http-8080-Processor25" daemon [_thread_in_native,
> id=38]
>   0x00656568 JavaThread "http-8080-Processor24" daemon [_thread_blocked,
> id=37]
>   0x002c0f60 JavaThread "http-8080-Processor23" daemon [_thread_blocked,
> id=36]
>   0x00780ec0 JavaThread "http-8080-Processor22" daemon [_thread_blocked,
> id=35]
>   0x007802a8 JavaThread "http-8080-Processor21" daemon [_thread_blocked,
> id=34]
>   0x0071dfc8 JavaThread "http-8080-Processor20" daemon [_thread_blocked,
> id=33]
>   0x0071d438 JavaThread "http-8080-Processor19" daemon [_thread_blocked,
> id=32]
>   0x00718318 JavaThread "http-8080-Processor18" daemon [_thread_blocked,
> id=31]
>   0x00717700 JavaThread "http-8080-Processor17" daemon [_thread_blocked,
> id=30]
>   0x001bfb78 JavaThread "http-8080-Processor16" daemon [_thread_blocked,
> id=29]
>   0x00444750 JavaThread "http-8080-Processor15" daemon [_thread_blocked,
> id=28]
>   0x00443b38 JavaThread "http-8080-Processor14" daemon [_thread_blocked,
> id=27]
>   0x0058d568 JavaThread "http-8080-Processor13" daemon [_thread_blocked,
> id=26]
>   0x0058c950 JavaThread "http-8080-Processor12" daemon [_thread_blocked,
> id=25]
>   0x00bd2d58 JavaThread "http-8080-Processor11" daemon [_thread_blocked,
> id=24]
>   0x00462fe8 JavaThread "http-8080-Processor10" daemon [_thread_blocked,
> id=23]
>   0x001de8a0 JavaThread "http-8080-Processor9" daemon [_thread_blocked,
> id=22]
>   0x0077da30 JavaThread "http-8080-Processor8" daemon [_thread_blocked,
> id=21]
>   0x0073dea0 JavaThread "http-8080-Processor7" daemon [_thread_blocked,
> id=20]
>   0x0073a8b8 JavaThread "http-8080-Processor6" daemon [_thread_blocked,
> id=19]
>   0x009c5ce8 JavaThread "http-8080-Processor5" daemon [_thread_blocked,
> id=18]
>   0x007d2c68 JavaThread "http-8080-Processor4" daemon [_thread_blocked,
> id=17]
>   0x008c7070 JavaThread "http-8080-Processor3" daemon [_thread_blocked,
> id=16]
>   0x00913320 JavaThread "http-8080-Processor2" daemon [_thread_blocked,
> id=15]
>   0x0076bd90 JavaThread "http-8080-Processor1" daemon [_thread_blocked,
> id=14]
>   0x008c56f0 JavaThread
> "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon
> [_thread_blocked, id=13]
>   0x0014a668 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11]
> =>0x001495b8 JavaThread "CompilerThread1" daemon [_thread_in_native, id=10]
>   0x00148748 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9]
>   0x00146e30 JavaThread "AdapterThread" daemon [_thread_blocked, id=8]
>   0x001460c8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7]
>   0x001394d8 JavaThread "Finalizer" daemon [_thread_blocked, id=6]
>   0x001390d8 JavaThread "Reference Handler" daemon [_thread_blocked, id=5]
>   0x00036b60 JavaThread "main" [_thread_in_native, id=1]
> 
> Other Threads:
>   0x00135858 VMThread [id=4]
>   0x0014be58 WatcherThread [id=12]
> 
> VM state:not at safepoint (normal execution)
> 
> VM Mutex/Monitor currently owned by a thread: None
> 
> Heap
>  PSYoungGen      total 48704K, used 47720K [0xe3800000, 0xe7c00000,
> 0xf9000000)
>   eden space 40768K, 97% used [0xe3800000,0xe5edfd90,0xe5fd0000)
>   from space 7936K, 99% used [0xe6330000,0xe6aea338,0xe6af0000)
>   to   space 13888K, 0% used [0xe6e70000,0xe6e70000,0xe7c00000)
>  PSOldGen        total 77824K, used 64980K [0xb8c00000, 0xbd800000,
> 0xe3800000)
>   object space 77824K, 83% used [0xb8c00000,0xbcb75350,0xbd800000)
>  PSPermGen       total 24576K, used 22137K [0xb4c00000, 0xb6400000,
> 0xb8c00000)
>   object space 24576K, 90% used [0xb4c00000,0xb619e628,0xb6400000)
> 
> Dynamic libraries:
> 0x00010000      /java/jre1.5.0_06/bin/java
> 0xff370000      /usr/lib/libthread.so.1
> 0xff3fa000      /usr/lib/libdl.so.1
> 0xff280000      /usr/lib/libc.so.1
> 0xff3a0000      /usr/platform/SUNW,Sun-Fire-V210/lib/libc_psr.so.1
> 0xfe800000      /java/jre1.5.0_06/lib/sparc/server/libjvm.so
> 0xff250000      /usr/lib/libsocket.so.1
> 0xff230000      /usr/lib/libsched.so.1
> 0xff200000      /usr/lib/libCrun.so.1
> 0xff1b0000      /usr/lib/libm.so.1
> 0xff080000      /usr/lib/libnsl.so.1
> 0xff180000      /usr/lib/libmp.so.2
> 0xff060000      /java/jre1.5.0_06/lib/sparc/native_threads/libhpi.so
> 0xff040000      /usr/lib/nss_files.so.1
> 0xfe7c0000      /java/jre1.5.0_06/lib/sparc/libverify.so
> 0xfe780000      /java/jre1.5.0_06/lib/sparc/libjava.so
> 0xfe750000      /java/jre1.5.0_06/lib/sparc/libzip.so
> 0xf90d0000      /java/jre1.5.0_06/lib/sparc/libnet.so
> 0xb48e0000      /usr/lib/nss_dns.so.1
> 0xb47a0000      /usr/lib/libresolv.so.2
> 
> VM Arguments:
> jvm_args:
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.util.logging.config.file=/usr/local/apache-tomcat-5.5.15/conf/logging.properties
> -Djava.endorsed.dirs=/usr/local/apache-tomcat-5.5.15/common/endorsed
> -Dcatalina.base=/usr/local/apache-tomcat-5.5.15
> -Dcatalina.home=/usr/local/apache-tomcat-5.5.15
> -Djava.io.tmpdir=/usr/local/apache-tomcat-5.5.15/temp
> java_command: org.apache.catalina.startup.Bootstrap start
> Launcher Type: SUN_STANDARD
> 
> Environment Variables:
> JAVA_HOME=/java/jre1.5.0_06
> PATH=/usr/bin::/usr/local/bin:/home/users/tomcat01/bin:/java/jre1.5.0_06/bin:/usr/local/jakarta-tomcat-3.3.2/bin
> LD_LIBRARY_PATH=/java/jre1.5.0_06/lib/sparc/server:/java/jre1.5.0_06/lib/sparc:/java/jre1.5.0_06/../lib/sparc:/usr/local/ssl/lib
> SHELL=/usr/bin/ksh
> 
> Signal Handlers:
> SIGSEGV: [libjvm.so+0x6f0ca8], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
> SIGBUS: [libjvm.so+0x6f0ca8], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
> SIGFPE: [libjvm.so+0x275d94], sa_mask[0]=0x7fbffeff, sa_flags=0x0000000c
> SIGPIPE: [libjvm.so+0x275d94], sa_mask[0]=0x7fbffeff, sa_flags=0x0000000c
> SIGILL: [libjvm.so+0x275d94], sa_mask[0]=0x7fbffeff, sa_flags=0x0000000c
> SIGUSR1: [libjvm.so+0x666744], sa_mask[0]=0x00000000, sa_flags=0x00000008
> SIGUSR2: [libjvm.so+0x275d94], sa_mask[0]=0x7fbffeff, sa_flags=0x0000000c
> SIGHUP: [libjvm.so+0x665424], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
> SIGINT: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
> SIGQUIT: [libjvm.so+0x665424], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
> SIGTERM: [libjvm.so+0x665424], sa_mask[0]=0x7fbffeff, sa_flags=0x00000004
> 
> 
> ---------------  S Y S T E M  ---------------
> 
> OS:                        Solaris 9 9/04 s9s_u7wos_09 SPARC
>            Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
>                         Use is subject to license terms.
>                              Assembled 29 June 2004
> 
> uname:SunOS 5.9 Generic_118558-25 sun4u  (T2 libthread)
> rlimit: STACK 8192k, CORE infinity, NOFILE 65536, AS infinity
> load average:0.32 0.29 0.25
> 
> CPU:total 2 has_v8, has_v9, has_vis1, has_vis2, is_ultra3
> 
> Memory: 8k page, physical 4194304k(2939496k free)
> 
> vm_info: Java HotSpot(TM) Server VM (1.5.0_06-b05) for solaris-sparc,
> built on Nov 10 2005 11:24:16 by unknown with unknown Workshop:0x550
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> ________________________________________________________________________
> This email has been scanned for all known viruses by the MessageLabs SkyScan service.


________________________________________________________________________
This email has been scanned for all known viruses by the MessageLabs SkyScan service.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message