JDK-6952590 : SIGSEGV in GCTaskThread
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 6u18
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2010-05-14
  • Updated: 2010-07-29
  • Resolved: 2010-05-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u18Resolved
Related Reports
Duplicate :  
Description
I experienced a crash with the below signature in a long running database test (11 days, Java DB). I have a core dump available if needed.


# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xfeb8db21, pid=28406, tid=3
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Server VM (16.0-b13 mixed mode solaris-x86 )
# Problematic frame:
# V  [libjvm.so+0x58db21]
#

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

Current thread (0x08077400):  GCTaskThread [stack: 0xfb00e000,0xfb08e000] [id=3]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x0000000c

Registers:
EAX=0x00000000, EBX=0x00000008, ECX=0x00000000, EDX=0xfaefc138
ESP=0xfb08dac4, EBP=0xfb08db04, ESI=0x00000000, EDI=0xfaefc138
EIP=0xfeb8db21, EFLAGS=0x00010293

Top of Stack: (sp=0xfb08dac4)
0xfb08dac4:   00000ba9 080ecefc f5a93000 faf68000
0xfb08dad4:   00001000 08078500 fb08db24 feb8e212
0xfb08dae4:   080ecea8 faf6ac90 00000018 00000000
0xfb08daf4:   00000006 0000000d 080ecf00 08077330
0xfb08db04:   fb08db24 feb8e390 080ecea8 faefc138
0xfb08db14:   00000001 080ecefc 080ecf00 f5a1a5f4
0xfb08db24:   fb08db84 feb8d862 080ecea8 f5a93000
0xfb08db34:   f5a93200 fb112499 fb112501 fb08db6c 

Instructions: (pc=0xfeb8db21)
0xfeb8db11:   03 83 f8 03 0f 84 cf 05 00 00 8b 4f 04 8d 59 08
0xfeb8db21:   8b 41 0c 8b d0 c1 fa 02 89 55 f0 85 c0 7f 33 85 

Stack: [0xfb00e000,0xfb08e000],  sp=0xfb08dac4,  free space=1fefedf0004k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x58db21]
V  [libjvm.so+0x58e390]
V  [libjvm.so+0x58d862]
V  [libjvm.so+0x12e729]
V  [libjvm.so+0x12e7af]
V  [libjvm.so+0x1ce48b]
V  [libjvm.so+0x56a335]
C  [libc.so.1+0xa71c0]
C  [libc.so.1+0xa74b0]


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

Java Threads: ( => current thread )
  0x08be5400 JavaThread "DRDAConnThread_22" [_thread_in_native, id=40, stack(0xede8b000,0xededb000)]
  0x08a75400 JavaThread "DRDAConnThread_21" [_thread_in_native, id=39, stack(0xededc000,0xedf2c000)]
  0x083a2400 JavaThread "DRDAConnThread_20" [_thread_in_native, id=38, stack(0xedf2d000,0xedf7d000)]
  0x083a5400 JavaThread "DRDAConnThread_19" [_thread_in_native, id=37, stack(0xedf7e000,0xedfce000)]
  0x08386c00 JavaThread "DRDAConnThread_18" [_thread_in_native, id=36, stack(0xedfcf000,0xee01f000)]
  0x08386400 JavaThread "DRDAConnThread_17" [_thread_in_native, id=35, stack(0xee042000,0xee092000)]
  0x083b5400 JavaThread "DRDAConnThread_16" [_thread_in_native, id=34, stack(0xee093000,0xee0e3000)]
  0x087d4c00 JavaThread "DRDAConnThread_15" [_thread_in_native, id=33, stack(0xee0e4000,0xee134000)]
  0x083bdc00 JavaThread "DRDAConnThread_14" [_thread_in_native, id=32, stack(0xee135000,0xee185000)]
  0x08819000 JavaThread "DRDAConnThread_13" [_thread_blocked, id=31, stack(0xee186000,0xee1d6000)]
  0x087c9400 JavaThread "DRDAConnThread_12" [_thread_in_native, id=30, stack(0xee1d7000,0xee227000)]
  0x085df800 JavaThread "DRDAConnThread_11" [_thread_in_native, id=29, stack(0xee228000,0xee278000)]
  0x0850f400 JavaThread "DRDAConnThread_10" [_thread_in_native, id=28, stack(0xee279000,0xee2c9000)]
  0x087ca000 JavaThread "DRDAConnThread_9" [_thread_blocked, id=27, stack(0xee2ca000,0xee31a000)]
  0x08a78c00 JavaThread "DRDAConnThread_8" [_thread_in_native, id=26, stack(0xee31b000,0xee36b000)]
  0x08a78800 JavaThread "DRDAConnThread_7" [_thread_in_native, id=25, stack(0xee36c000,0xee3bc000)]
  0x083a6800 JavaThread "DRDAConnThread_6" [_thread_in_native, id=24, stack(0xee3bd000,0xee40d000)]
  0x084d6c00 JavaThread "DRDAConnThread_5" [_thread_in_native, id=23, stack(0xee40e000,0xee45e000)]
  0x08437400 JavaThread "derby.rawStoreDaemon" daemon [_thread_blocked, id=22, stack(0xee527000,0xee577000)]
  0x0818f800 JavaThread "DRDAConnThread_4" [_thread_blocked, id=21, stack(0xee45f000,0xee4af000)]
  0x083f2800 JavaThread "DRDAConnThread_3" [_thread_in_native, id=19, stack(0xee578000,0xee5c8000)]
  0x083d9400 JavaThread "NetworkServerThread_2" [_thread_in_native, id=18, stack(0xee5c9000,0xee619000)]
  0x08447000 JavaThread "Timer-0" daemon [_thread_blocked, id=17, stack(0xee61a000,0xee66a000)]
  0x08415800 JavaThread "derby.antiGC" daemon [_thread_blocked, id=16, stack(0xee66b000,0xee6bb000)]
  0x08384c00 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=14, stack(0xee73d000,0xee78d000)]
  0x083c1400 JavaThread "RMI TCP Accept-8005" daemon [_thread_in_native, id=13, stack(0xee78e000,0xee7de000)]
  0x08371000 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=12, stack(0xee7df000,0xee82f000)]
  0x0813d400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11, stack(0xee920000,0xee970000)]
  0x0813a800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=10, stack(0xee971000,0xee9f1000)]
  0x08138c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9, stack(0xee9f2000,0xeea72000)]
  0x08137400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8, stack(0xeea73000,0xeeac3000)]
  0x08122400 JavaThread "Finalizer" daemon [_thread_blocked, id=7, stack(0xeeac4000,0xeeb14000)]
  0x08120c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=6, stack(0xeeb15000,0xeeb65000)]
  0x08070400 JavaThread "main" [_thread_blocked, id=2, stack(0xfe34f000,0xfe39f000)]

Other Threads:
  0x0811e000 VMThread [stack: 0xeeb66000,0xeebe6000] [id=5]
  0x083d4800 WatcherThread [stack: 0xee6bc000,0xee73c000] [id=15]

=>0x08077400 (exited) GCTaskThread [stack: 0xfb00e000,0xfb08e000] [id=3]

VM state:at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread:  ([mutex/lock_event])
[0x0806f738] Threads_lock - owner thread: 0x0811e000
[0x0806fb48] Heap_lock - owner thread: 0x08819000

Heap
 PSYoungGen      total 42176K, used 42128K [0xf8400000, 0xfb000000, 0xfb000000)
  eden space 42112K, 100% used [0xf8400000,0xfad20000,0xfad20000)
  from space 64K, 25% used [0xfad20000,0xfad24000,0xfad30000)
  to   space 1664K, 74% used [0xfae60000,0xfaf967c0,0xfb000000)
 PSOldGen        total 88064K, used 47036K [0xf2e00000, 0xf8400000, 0xf8400000)
  object space 88064K, 53% used [0xf2e00000,0xf5bef038,0xf8400000)
 PSPermGen       total 55296K, used 35660K [0xeee00000, 0xf2400000, 0xf2e00000)
  object space 55296K, 64% used [0xeee00000,0xf10d31b8,0xf2400000)

Dynamic libraries:
0x08050000 	/usr/local/java/jdk1.6.0_18/jre/bin/java
0xfefb0000 	/lib/libthread.so.1
0xfef80000 	/usr/local/java/jdk1.6.0_18/jre/bin/../lib/i386/jli/libjli.so
0xfef60000 	/lib/libdl.so.1
0xfee30000 	/lib/libc.so.1
0xfe600000 	/usr/local/java/jdk1.6.0_18/jre/lib/i386/server/libjvm.so
0xfee10000 	/lib/libsocket.so.1
0xfefa0000 	/usr/lib/libsched.so.1
0xfe5e0000 	/lib/libm.so.1
0xfe5b0000 	/usr/lib/libCrun.so.1
0xfe590000 	/lib/libdoor.so.1
0xfe4f0000 	/lib/libnsl.so.1
0xfe490000 	/lib/libm.so.2
0xfe460000 	/lib/libscf.so.1
0xfe440000 	/lib/libuutil.so.1
0xfe420000 	/lib/libgen.so.1
0xfe400000 	/lib/libmd.so.1
0xfe3e0000 	/lib/libmp.so.2
0xfe310000 	/usr/local/java/jdk1.6.0_18/jre/lib/i386/libverify.so
0xfe2d0000 	/usr/local/java/jdk1.6.0_18/jre/lib/i386/libjava.so
0xfe2b0000 	/usr/local/java/jdk1.6.0_18/jre/lib/i386/native_threads/libhpi.so
0xfe250000 	/usr/local/java/jdk1.6.0_18/jre/lib/i386/libzip.so
0xfe230000 	/usr/local/java/jdk1.6.0_18/jre/lib/i386/libmanagement.so
0xee8f0000 	/usr/local/java/jdk1.6.0_18/jre/lib/i386/libnet.so
0xee8d0000 	/usr/local/java/jdk1.6.0_18/jre/lib/i386/libj2pkcs11.so
0xee8a0000 	/usr/lib/libpkcs11.so
0xee880000 	/usr/lib/libcryptoutil.so.1
0xee830000 	/usr/lib/security/pkcs11_softtoken_extra.so
0xee510000 	/usr/local/java/jdk1.6.0_18/jre/lib/i386/libnio.so
0xee4f0000 	/lib/librt.so.1
0xee4d0000 	/lib/libaio.so.1
0xee4b0000 	/usr/lib/libsendfile.so.1

VM Arguments:
jvm_args: -Xms128m -Xmx128m -XX:MaxPermSize=64m -XX:+HeapDumpOnOutOfMemoryError -XX:OnError="/export/home/tmp/javadb/longruntest/sendMailOnFatalError.bash" -XX:OnOutOfMemoryError="/export/home/tmp/javadb/longruntest/sendMailOnOutOfMemoryError.bash" -Dcom.sun.management.jmxremote.port=8005 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dderby.stream.error.file=/export/home/tmp/jagtmp/autoderbyLongRunningTest/LTT_0/log/derby.log 
java_command: org.apache.derby.drda.NetworkServerControl start -noSecurityManager -h 0.0.0.0 -p 1566
Launcher Type: SUN_STANDARD

Environment Variables:
LD_LIBRARY_PATH=/usr/local/java/jdk1.6.0_18/jre/lib/i386/server:/usr/local/java/jdk1.6.0_18/jre/lib/i386:/usr/local/java/jdk1.6.0_18/jre/../lib/i386

Signal Handlers:
SIGSEGV: [libjvm.so+0x63ef08], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGBUS: [libjvm.so+0x63ef08], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGFPE: [libjvm.so+0x12b518], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGPIPE: [libjvm.so+0x12b518], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGXFSZ: [libjvm.so+0x12b518], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGILL: [libjvm.so+0x12b518], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGQUIT: [libjvm.so+0x56be18], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
SIGHUP: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGINT: [libjvm.so+0x56be18], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
SIGTERM: [libjvm.so+0x56be18], sa_mask[0]=0xffbffeff, sa_flags=0x00000004
SIG39: [libjvm.so+0x56dafc], sa_mask[0]=0x00000000, sa_flags=0x00000008
SIG40: [libjvm.so+0x12b518], sa_mask[0]=0xffbffeff, sa_flags=0x0000000c


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

OS:                       Solaris 10 10/09 s10x_u8wos_08a X86
           Copyright 2009 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                           Assembled 16 September 2009

uname:SunOS 5.10 Generic_141445-09 i86pc  (T2 libthread)
rlimit: STACK 10240k, CORE infinity, NOFILE 65536, AS infinity
load average:0.02 0.02 0.02

CPU:total 2 (1 cores per cpu, 1 threads per core) family 15 model 37 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext

Memory: 4k page, physical 2096168k(1242536k free)

vm_info: Java HotSpot(TM) Server VM (16.0-b13) for solaris-x86 JRE (1.6.0_18-b07), built on Dec 17 2009 14:00:41 by "" with Workshop 5.8

time: Sat May  8 07:09:45 2010
elapsed time: 850081 seconds

Comments
EVALUATION Use the workaround for 6896647 -XX:-ReduceInitialCardMarks Reopen if the crash is reproducible with that flag.
25-05-2010