lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Carpenter <c...@alias-i.com>
Subject Re: JVM Crash
Date Tue, 13 Jun 2006 20:03:07 GMT
Java apps shouldn't throw these kind of seg faults.

Sounds like a problem with memory.  Especially if you can't
reproduce the error in the same location.  Double especially
if you have the same problems elsewhere under heavy
memory load.  I had all kinds of problems with seg faults
in the JVM until I replaced my memory with ECC memory
a couple of years ago, and haven't seg-faulted since.

- Bob Carpenter

Ross Rankin wrote:
> We keep getting JVM crashes on 1.4.3.  I found in the archive that setting a
> JVM parameter solved the problem for a few users.  We've tried that and it
> has not worked.  Here's our JVM parameters:
>
>      -Xms512m -Xmx1024m -XX:PermSize=256m
>
>  
>
> We're running Tomcat 5.5.16.  Any Idea?  
>
>  
>
> If it's any help, here's the JVM error we get:
>
> #
>
> # An unexpected error has been detected by HotSpot Virtual Machine:
>
> #
>
> #  SIGSEGV (0xb) at pc=0x0000002a95a5a300, pid=6020, tid=1084602720
>
> #
>
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 mixed mode)
>
> # Problematic frame:
>
> # V  [libjvm.so+0x4fa300]
>
> #
>
>  
>
> ---------------  T H R E A D  ---------------
>
>  
>
> Current thread (0x0000002b2a7852a0):  JavaThread "CompilerThread1" daemon
> [_thread_in_native, id=6029]
>
>  
>
> siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x0000000000000000
>
>  
>
> Registers:
>
> RAX=0x0000000000000000, RBX=0x0000002b2f306d78, RCX=0x0000000040a58df0,
> RDX=0x0000002b2f304c78
>
> RSP=0x0000000040a58d70, RBP=0x0000000040a58d90, RSI=0x0000002b2f304c48,
> RDI=0x0000000000000000
>
> R8 =0x0000000000000044, R9 =0x0000003998c10280, R10=0x0000000000000010,
> R11=0x0000000000000002
>
> R12=0x0000000040a58df0, R13=0x0000002b2d9c24c8, R14=0x0000000040a58df0,
> R15=0x0000002b2d9c24c8
>
> RIP=0x0000002a95a5a300, EFL=0x0000000000010246, CSGSFS=0x0000000000004390,
> ERR=0x0000000000000004
>
>   TRAPNO=0x000000000000000e
>
>  
>
> Top of Stack: (sp=0x0000000040a58d70)
>
> 0x0000000040a58d70:   0000002b2e26fe28 0000002b2f306d78
>
> 0x0000000040a58d80:   0000002a95d858b0 0000002b2f306d08
>
> 0x0000000040a58d90:   0000000040a58dd0 0000002a95a5a3c2
>
> 0x0000000040a58da0:   0000002b2d9c24c8 0000002b2d9c2568
>
> 0x0000000040a58db0:   0000002b2d9c24c8 0000000000000000
>
> 0x0000000040a58dc0:   0000000040a59570 0000000040a59570
>
> 0x0000000040a58dd0:   0000000040a58e40 0000002a95a5a876
>
> 0x0000000040a58de0:   0000000040a58e40 0000000040a58df0
>
> 0x0000000040a58df0:   0000000200000000 0000002b2f32f3c0
>
> 0x0000000040a58e00:   0000000000000000 0000002b2e26fd60
>
> 0x0000000040a58e10:   0000000040a59570 0000002a95d7e230
>
> 0x0000000040a58e20:   0000002b2d9c24c8 0000000040a59570
>
> 0x0000000040a58e30:   0000002b2d9c24c8 0000000040a59570
>
> 0x0000000040a58e40:   0000000040a58ea0 0000002a95ae051e
>
> 0x0000000040a58e50:   0000002b2e27c408 000000000000066c
>
> 0x0000000040a58e60:   0000002b2a6f7bd0 0000009340a59578
>
> 0x0000000040a58e70:   0000000040a595c0 0000002a95dafe10
>
> 0x0000000040a58e80:   0000002b2d9c24c8 0000002a95db62b0
>
> 0x0000000040a58e90:   0000000000000043 0000000040a59570
>
> 0x0000000040a58ea0:   0000000040a58ef0 0000002a95ae017c
>
> 0x0000000040a58eb0:   0000000040a58ef0 0000000040a597e0
>
> 0x0000000040a58ec0:   0000000040a597c0 0000000040a59520
>
> 0x0000000040a58ed0:   0000002a95db3ba0 0000000040a59e10
>
> 0x0000000040a58ee0:   0000000040a5acd0 0000000040a59570
>
> 0x0000000040a58ef0:   0000000040a598b0 0000002a9581968b
>
> 0x0000000040a58f00:   0000002a95dafe50 0000002b307fa400
>
> 0x0000000040a58f10:   0000000000000008 0000000040a59830
>
> 0x0000000040a58f20:   0000002b307ffda0 0000000000000002
>
> 0x0000000040a58f30:   0000000040a59020 0000002a95a90d04
>
> 0x0000000040a58f40:   0000000040a58f60 0000002b307fa400
>
> 0x0000000040a58f50:   0000000040a58fe0 00000000307ff469
>
> 0x0000000040a58f60:   0000002b307fa400 0000002b307f9890
>
>  
>
> Instructions: (pc=0x0000002a95a5a300)
>
> 0x0000002a95a5a2f0:   db 31 c0 e9 77 ff ff ff 48 8b 56 08 48 8b 7a 10
>
> 0x0000002a95a5a300:   48 8b 1f ff 53 50 e9 3b ff ff ff 90 66 66 66 90
>
>  
>
> Stack: [0x000000004095b000,0x0000000040a5c000),  sp=0x0000000040a58d70,
> free space=1015k
>
> Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native
> code)
>
> V  [libjvm.so+0x4fa300]
>
> V  [libjvm.so+0x4fa3c2]
>
> V  [libjvm.so+0x4fa876]
>
> V  [libjvm.so+0x58051e]
>
> V  [libjvm.so+0x58017c]
>
> V  [libjvm.so+0x2b968b]
>
> V  [libjvm.so+0x2b67ba]
>
> V  [libjvm.so+0x25f3c7]
>
> V  [libjvm.so+0x2bed06]
>
> V  [libjvm.so+0x2be6b2]
>
> V  [libjvm.so+0x6163f9]
>
> V  [libjvm.so+0x610ffe]
>
> V  [libjvm.so+0x554745]
>
>  
>
>  
>
> Current CompileTask:
>
> opto:600
> org.apache.lucene.index.IndexReader$1.doBody()Ljava/lang/Object; (99 bytes)
>
>  
>
> ---------------  P R O C E S S  ---------------
>
>  
>
> Java Threads: ( => current thread )
>
>   0x0000002b2f0e7450 JavaThread "Thread-59" daemon [_thread_in_Java,
> id=6303]
>
>   0x0000002b2eb58a70 JavaThread "TP-Monitor" daemon [_thread_blocked,
> id=6097]
>
>   0x0000002b2eb57660 JavaThread "TP-Processor4" daemon [_thread_in_native,
> id=6096]
>
>   0x0000002b2eb566a0 JavaThread "TP-Processor3" daemon [_thread_blocked,
> id=6095]
>
>   0x0000002b2f070280 JavaThread "TP-Processor2" daemon [_thread_blocked,
> id=6094]
>
>   0x0000002b2f6ffa50 JavaThread "TP-Processor1" daemon [_thread_blocked,
> id=6093]
>
>   0x0000002b2d83d9e0 JavaThread "http-443-Monitor" [_thread_blocked,
> id=6092]
>
>   0x0000002b2d83c5d0 JavaThread "http-443-Processor25" daemon
> [_thread_blocked, id=6091]
>
>   0x0000002b2e688700 JavaThread "http-443-Processor24" daemon
> [_thread_blocked, id=6090]
>
>   0x0000002b2e6872f0 JavaThread "http-443-Processor23" daemon
> [_thread_in_native, id=6089]
>
>   0x0000002b2d85d6d0 JavaThread "http-443-Processor22" daemon
> [_thread_blocked, id=6088]
>
>   0x0000002b2d85c2c0 JavaThread "http-443-Processor21" daemon
> [_thread_blocked, id=6087]
>
>   0x0000002b2e6d85a0 JavaThread "http-443-Processor20" daemon
> [_thread_blocked, id=6086]
>
>   0x0000002b2e6d7190 JavaThread "http-443-Processor19" daemon
> [_thread_blocked, id=6085]
>
>   0x0000002b2e594920 JavaThread "http-443-Processor18" daemon
> [_thread_blocked, id=6084]
>
>   0x0000002b2e593510 JavaThread "http-443-Processor17" daemon
> [_thread_blocked, id=6083]
>
>   0x0000002b2e31c4c0 JavaThread "http-443-Processor16" daemon
> [_thread_blocked, id=6082]
>
>   0x0000002b2e31b0b0 JavaThread "http-443-Processor15" daemon
> [_thread_blocked, id=6081]
>
>   0x0000002b2ea7ea80 JavaThread "http-443-Processor14" daemon
> [_thread_blocked, id=6080]
>
>   0x0000002b2e637720 JavaThread "http-443-Processor13" daemon
> [_thread_blocked, id=6079]
>
>   0x0000002b2e636310 JavaThread "http-443-Processor12" daemon
> [_thread_blocked, id=6078]
>
>   0x0000002b2e4c4c50 JavaThread "http-443-Processor11" daemon
> [_thread_blocked, id=6077]
>
>   0x0000002b2e048000 JavaThread "http-443-Processor10" daemon
> [_thread_blocked, id=6076]
>
>   0x0000002b2e046bf0 JavaThread "http-443-Processor9" daemon
> [_thread_blocked, id=6075]
>
>   0x0000002b2e646770 JavaThread "http-443-Processor8" daemon
> [_thread_blocked, id=6074]
>
>   0x0000002b2e799080 JavaThread "http-443-Processor7" daemon
> [_thread_blocked, id=6073]
>
>   0x0000002b2dac39d0 JavaThread "http-443-Processor6" daemon
> [_thread_blocked, id=6072]
>
>   0x0000002b2dac26e0 JavaThread "http-443-Processor5" daemon
> [_thread_blocked, id=6071]
>
>   0x0000002b2eed00c0 JavaThread "http-443-Processor4" daemon
> [_thread_blocked, id=6070]
>
>   0x0000002b2eecfcf0 JavaThread "http-443-Processor3" daemon
> [_thread_blocked, id=6069]
>
>   0x0000002b30447c80 JavaThread "http-443-Processor2" daemon
> [_thread_blocked, id=6068]
>
>   0x0000002b2f5dd2f0 JavaThread "http-443-Processor1" daemon
> [_thread_blocked, id=6067]
>
>   0x0000002b2f5da750 JavaThread "http-80-Monitor" [_thread_blocked, id=6066]
>
>   0x0000002b2f5d9600 JavaThread "http-80-Processor25" daemon
> [_thread_blocked, id=6065]
>
>   0x0000002b2f583400 JavaThread "http-80-Processor24" daemon
> [_thread_blocked, id=6064]
>
>   0x0000002b2f5ce2a0 JavaThread "http-80-Processor23" daemon
> [_thread_blocked, id=6063]
>
>   0x0000002b314f4740 JavaThread "http-80-Processor22" daemon
> [_thread_in_native, id=6062]
>
>   0x0000002b2f586d60 JavaThread "http-80-Processor21" daemon
> [_thread_blocked, id=6061]
>
>   0x0000002b2f585c50 JavaThread "http-80-Processor20" daemon
> [_thread_blocked, id=6060]
>
>   0x0000002b2f584b00 JavaThread "http-80-Processor19" daemon
> [_thread_blocked, id=6059]
>
>   0x0000002b2f591c70 JavaThread "http-80-Processor18" daemon
> [_thread_blocked, id=6058]
>
>   0x0000002b2f590b20 JavaThread "http-80-Processor17" daemon
> [_thread_blocked, id=6057]
>
>   0x0000002b2f58fac0 JavaThread "http-80-Processor16" daemon
> [_thread_blocked, id=6056]
>
>   0x0000002b2ec70440 JavaThread "http-80-Processor15" daemon
> [_thread_blocked, id=6055]
>
>   0x0000002b2e24fe70 JavaThread "http-80-Processor14" daemon
> [_thread_blocked, id=6054]
>
>   0x0000002b2e24e900 JavaThread "http-80-Processor13" daemon
> [_thread_blocked, id=6053]
>
>   0x0000002b2e2b0a90 JavaThread "http-80-Processor12" daemon
> [_thread_blocked, id=6052]
>
>   0x0000002b2e2af940 JavaThread "http-80-Processor11" daemon
> [_thread_blocked, id=6051]
>
>   0x0000002b2e2ae7f0 JavaThread "http-80-Processor10" daemon
> [_thread_blocked, id=6050]
>
>   0x0000002b2e21ee00 JavaThread "http-80-Processor9" daemon
> [_thread_blocked, id=6049]
>
>   0x0000002b2e21dd10 JavaThread "http-80-Processor8" daemon
> [_thread_blocked, id=6048]
>
>   0x0000002b2f47ced0 JavaThread "http-80-Processor7" daemon
> [_thread_blocked, id=6047]
>
>   0x0000002b2ec49920 JavaThread "http-80-Processor6" daemon
> [_thread_blocked, id=6046]
>
>   0x0000002b2ecb1c00 JavaThread "http-80-Processor5" daemon
> [_thread_blocked, id=6045]
>
>   0x0000002b2e2ca2d0 JavaThread "http-80-Processor4" daemon
> [_thread_blocked, id=6044]
>
>   0x0000002b2f5509d0 JavaThread "http-80-Processor3" daemon
> [_thread_blocked, id=6043]
>
>   0x0000002b2e22f730 JavaThread "http-80-Processor2" daemon
> [_thread_blocked, id=6042]
>
>   0x0000002b2f528200 JavaThread "http-80-Processor1" daemon
> [_thread_blocked, id=6041]
>
>   0x0000002b2f5928f0 JavaThread
> "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon
> [_thread_blocked, id=6040]
>
>   0x0000002b2a786ec0 JavaThread "Low Memory Detector" daemon
> [_thread_blocked, id=6030]
>
>   0x0000002b2a7852a0 JavaThread "CompilerThread1" daemon [_thread_in_native,
> id=6029]
>
>   0x0000002b2a783d00 JavaThread "CompilerThread0" daemon [_thread_blocked,
> id=6028]
>
>   0x0000002b2a7825b0 JavaThread "AdapterThread" daemon [_thread_blocked,
> id=6027]
>
>   0x0000002b2a7811f0 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
> id=6026]
>
>   0x0000002b2a76cfc0 JavaThread "Finalizer" daemon [_thread_blocked,
> id=6025]
>
>   0x0000002b2a76c6e0 JavaThread "Reference Handler" daemon [_thread_blocked,
> id=6024]
>
>   0x00000000401160c0 JavaThread "main" [_thread_in_native, id=6020]
>
>  
>
> Other Threads:
>
>   0x0000002b2a7682d0 VMThread [id=6023]
>
> Other Threads:
>
>   0x0000002b2a7682d0 VMThread [id=6023]
>
>   0x0000002b2a788b00 WatcherThread [id=6031]
>
>  
>
> VM state:not at safepoint (normal execution)
>
>  
>
> VM Mutex/Monitor currently owned by a thread: None
>
>  
>
> Heap
>
>  PSYoungGen      total 126976K, used 123816K [0x0000002b14d10000,
> 0x0000002b1f8a0000, 0x0000002b2a260000)
>
>   eden space 116672K, 97% used
> [0x0000002b14d10000,0x0000002b1bbea278,0x0000002b1bf00000)
>
>   from space 10304K, 100% used
> [0x0000002b1c070000,0x0000002b1ca80000,0x0000002b1ca80000)
>
>   to   space 29504K, 0% used
> [0x0000002b1dbd0000,0x0000002b1dbd0000,0x0000002b1f8a0000)
>
>  PSOldGen        total 349568K, used 17214K [0x0000002aea260000,
> 0x0000002aff7c0000, 0x0000002b14d10000)
>
>   object space 349568K, 4% used
> [0x0000002aea260000,0x0000002aeb32fa20,0x0000002aff7c0000)
>
>  PSPermGen       total 262144K, used 22207K [0x0000002ada260000,
> 0x0000002aea260000, 0x0000002aea260000)
>
>   object space 262144K, 8% used
> [0x0000002ada260000,0x0000002adb80ff30,0x0000002aea260000)
>
> Dynamic libraries:
>
> <SNIP>
>
> VM Arguments:
>
> jvm_args: -Djava.net.preferIPv4Stack=true -Xms512m -Xmx1024m
> -XX:PermSize=256m -XX:MaxPermSize=256m
> -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
> -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties
> -Djava.endorsed.dirs=/usr/local/tomcat/common/endorsed
> -Dcatalina.base=/usr/local/tomcat -Dcatalina.home=/usr/local/tomcat
> -Djava.io.tmpdir=/usr/local/tomcat/temp
>
> java_command: org.apache.catalina.startup.Bootstrap start
>
> Launcher Type: SUN_STANDARD
>
>  
>
> Environment Variables:
>
> JAVA_HOME=/usr/local/java
>
> CLASSPATH=:/usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/commons
> -logging-api.jar
>
> PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sb
> in:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/java/bin:/usr/local/ant
> /bin:/usr/local/tomcat/bin:/root/bin
>
> LD_LIBRARY_PATH=/usr/local/jdk1.5.0_06/jre/lib/amd64/server:/usr/local/jdk1.
> 5.0_06/jre/lib/amd64:/usr/local/jdk1.5.0_06/jre/../lib/amd64
>
> SHELL=/bin/bash
>
>  
>
>  
>
> ---------------  S Y S T E M  ---------------
>
>  
>
> OS:CentOS release 4.3 (Final)
>
>  
>
> uname:Linux 2.6.9-34.ELsmp #1 SMP Thu Mar 9 06:23:23 GMT 2006 x86_64
>
> libc:glibc 2.3.4 NPTL 2.3.4
>
> rlimit: STACK 10240k, CORE 0k, NPROC 16383, NOFILE 1024, AS infinity
>
> load average:0.00 0.00 0.00
>
>  
>
> CPU:total 2 amd64 3dnow
>
>  
>
> Memory: 4k page, physical 2056428k(849824k free), swap 2040212k(2040212k
> free)
>
>  
>
> vm_info: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05) for linux-amd64,
> built on Nov 10 2005 11:45:12 by java_re with gcc 3.2.2 (SuSE Linux)
>
>  
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message