JDK-7004177 : JDK6u18 SIGSEGV: SEGV_ACCERR thrown when executing java.lang.ThreadLocal.get() method
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 6u18
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_10
  • CPU: x86
  • Submitted: 2010-12-02
  • Updated: 2010-12-14
  • Resolved: 2010-12-09
Related Reports
Duplicate :  
Description
From hs_err log file

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0xfffffd7ffdeaf8f8
SIGSEGV: SEGV_ACCERR /* Invalid permissions for mapped object.  */

 ......

Instructions: (pc=0xfffffd7ffb3c6578)
0xfffffd7ffb3c6568: 23 42 0c 45 3b c3 0f 83 99 01 00 00 4b 8d 2c cc
0xfffffd7ffb3c6578: 42 8b 4c 85 10 85 c9 74 17 41 8b 7c cc 0c 4c 8b
Built-in das output
fffffd7ffb3c6568  23 42 0c             and 0xc(%edx),%eax
fffffd7ffb3c656b  45                   inc %ebp
fffffd7ffb3c656c  3b c3                cmp %ebx,%eax
fffffd7ffb3c656e  0f 83 99 01 00 00 4b 8d op2: sbb $0x1,0x4b8d(%ecx)
fffffd7ffb3c6576  2c cc                sub $0xcc,%al
fffffd7ffb3c6578  42                   inc %edx
fffffd7ffb3c6579  8b 4c 85             mov 0x85(*sib),%ecx
fffffd7ffb3c657c  10 85 c9 74 17 41    addc %al,0xc9741741(%ebp)
fffffd7ffb3c6582  8b 7c cc             mov 0xcc(*sib),%edi
fffffd7ffb3c6585  0c 4c                or $0x4c,%al
External das output
fffffd7ffb3c6568 23 42 0c                and    0xc(%rdx),%eax
fffffd7ffb3c656b 45 3b c3                cmp    %r11d,%r8d
fffffd7ffb3c656e 0f 83 99 01 00 00       jae    0xfffffffffb3c670d
fffffd7ffb3c6574 4b 8d 2c cc             lea    (%r12,%r9,8),%rbp
---------------
fffffd7ffb3c6578 42 8b 4c 85 10          mov    0x10(%rbp,%r8,4),%ecx
fffffd7ffb3c657d 85 c9                   test   %ecx,%ecx
fffffd7ffb3c657f 74 17                   je     0xfffffffffb3c6598
fffffd7ffb3c6581 41 8b 7c cc 0c          mov    0xc(%r12,%rcx,8),%edi
fffffd7ffb3c6586 4c 8b ff                mov    %rdi,%r15
Stack: [0xfffffd7e9a5d9000,0xfffffd7e9a619000], sp=0xfffffd7e9a6183c0, free space=fc0000000000000001k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J java.lang.ThreadLocal.get()Ljava/lang/Object;

Comments
EVALUATION As was release-noted in 6u18, unless customers run with -XX:-ReduceInitialCardMarks when using 6u18, they are prone to run into all kinds of mysterious crashes. I'd suggest not entertaining any bug/service requests from customers who do not include -XX:-ReduceInitialCardMarks in their options list. This will keep sustaining from wasting their time re-analyzing crashes related to this. See 6896647. ---Ramki VM Arguments: jvm_args: -DWAPHOME=/opt/nawg/log/wps_var -DsystemRoot=/opt/nawg -DsystemBinRoot=/opt/nawg/bin -DsystemConfRoot=/opt/nawg/config -DsystemLogRoot=/opt/nawg/log -DmainConfigFileName=nawgmain.cfg -DcoreConfigFileName=wapcore.cfg -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=50 -XX:+UseParNewGC -XX:+CMSParallelRemarkEnabled -Xmx2G -Xms2G -XX:NewSize=600m -XX:MaxNewSize=600m -XX:PermSize=64m -XX:MaxPermSize=64m -Xss256k -XX:SurvivorRatio=20 -Xss512k -XX:MaxDirectMemorySize=512M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.net.spi.nameservice.provider.1=dns,dnsjava java_command: com.nokia.nawg.main.MainMainController Apparently the flag is default. Checked core file also confirmed this. As per communication from Asok, I closed this bug as dup.
09-12-2010