Topic
  • No replies
PanduMutyala
PanduMutyala
1 Post

Pinned topic UbuntuX86_64 Validations# Java segfault : j9mm.316 * ** ASSERTION FAILED ** at MarkingScheme.cpp:302

‏2014-05-14T12:17:13Z |
Hi 
 
I am noticing the following JVM Assert when using IBM JDK on ubuntu machines i have, I am running 32 threaded JCC clients against a db locally and clients died because of the assert, i am using JDK from the DB2  builds  that is packaged with install images, We usually don't noticed any java segfaults in ours test, Can you please take a look or redirect me JDK contact who can look into the crash and why its happening on ubuntu?. I have the java core and crash report from java 
 
 uname -a
Linux qaubuntu01 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

this is a VM with 2 CPU and 16gb memory is where i am testing stuff.

 
 
 java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build pxa6470sr6-20131015_01(SR6))
IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 Compressed References 20131013_170512 (JIT enabled, AOT enabled)
J9VM - R26_Java726_SR6_20131013_1510_B170512
JIT  - r11.b05_20131003_47443
GC   - R26_Java726_SR6_20131013_1510_B170512_CMPRSS
J9CL - 20131013_170512)
JCL - 20131011_01 based on Oracle 7u45-b18
pmutyala@qaubuntu01:~$
 
 
 
 db2level
DB21085I  This instance or install (instance name, where applicable:
"pmutyala") uses "64" bits and DB2 code release "SQL10054" with level
identifier "0605010E".
Informational tokens are "DB2 v10.5.0.4", "s140511", "IP23623", and Fix Pack
"4".
Product is installed at "/opt/ibm/db2/V10.5".
 
pmutyala@qaubuntu01:~$
 
java -cp /home/pmutyala/sqllib/java/db2jcc4.jar com.ibm.db2.jcc.DB2Jcc -version
IBM Data Server Driver for JDBC and SQLJ 4.18.47
pmutyala@qaubuntu01:~$
 
>> /var/log/syslog
 
May 13 21:09:05 qaubuntu01 IBM Java[16419]: JVMDUMP039I Processing dump event "traceassert", detail "" at 2014/05/13 21:09:05 - please wait.
May 13 21:09:05 qaubuntu01 IBM Java[16419]: JVMDUMP032I JVM requested System dump using '/home/pmutyala/PVP/utility/T3JDBC/core.20140513.210905.16419.0001.dmp' in response to an event
May 13 21:09:05 qaubuntu01 kernel: [618811.585868] show_signal_msg: 12 callbacks suppressed
May 13 21:09:05 qaubuntu01 kernel: [618811.585879] jBH_E25[24198]: segfault at ffffffffffffffff ip 00007f2fc0252262 sp 00007f2fb78aad40 error 7 in libj9prt26.so[7f2fc023f000+46000]
May 13 21:11:24 qaubuntu01 IBM Java[16419]: JVMDUMP032I JVM requested Java dump using '/home/pmutyala/PVP/utility/T3JDBC/javacore.20140513.210905.16419.0002.txt' in response to an event
May 13 21:11:25 qaubuntu01 IBM Java[16419]: JVMDUMP032I JVM requested Snap dump using '/home/pmutyala/PVP/utility/T3JDBC/Snap.20140513.210905.16419.0003.trc' in response to an event
 
>> Assert
 
01:09:05.252 0x22797000    j9mm.316    *   ** ASSERTION FAILED ** at MarkingScheme.cpp:302: ((UDATA)0x99669966 == (((J9Class*)((UDATA)(((UDATA)((objectPtr))->clazz)) & (~((UDATA)((UDATA)(0x100 - 1)))))))->eyecatcher)
JVMDUMP039I Processing dump event "traceassert", detail "" at 2014/05/13 21:09:05 - please wait.
JVMDUMP032I JVM requested System dump using '/home/pmutyala/PVP/utility/T3JDBC/core.20140513.210905.16419.0001.dmp' in response to an event
JVMPORT030W /proc/sys/kernel/core_pattern setting "|/usr/share/apport/apport %p %s %c %P" specifies that the core dump is to be piped to an external program.  Attempting to rename either core or core.24198.
 
JVMDUMP010I System dump written to /home/pmutyala/PVP/utility/T3JDBC/core.20140513.210905.16419.0001.dmp
JVMDUMP032I JVM requested Java dump using '/home/pmutyala/PVP/utility/T3JDBC/javacore.20140513.210905.16419.0002.txt' in response to an event
JVMDUMP010I Java dump written to /home/pmutyala/PVP/utility/T3JDBC/javacore.20140513.210905.16419.0002.txt
JVMDUMP032I JVM requested Snap dump using '/home/pmutyala/PVP/utility/T3JDBC/Snap.20140513.210905.16419.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /home/pmutyala/PVP/utility/T3JDBC/Snap.20140513.210905.16419.0003.trc
JVMDUMP013I Processed dump event "traceassert", detail "".
pmutyala@qaubuntu01:~/PVP/utility$ 
 
>> java Core's stack trace
 
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `java -Xmx512m jbhl T3JDBC -config /home/pmutyala/PVP/utility/T3JDBC/t3jdbc.ini'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f2fc0252262 in j9dump_create () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9prt26.so
(gdb) where
#0  0x00007f2fc0252262 in j9dump_create () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9prt26.so
#1  0x00007f2fbb871977 in doSystemDump () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9dmp26.so
#2  0x00007f2fc025f79f in j9sig_protect () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9prt26.so
#3  0x00007f2fbb870478 in runDumpFunction () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9dmp26.so
#4  0x00007f2fbb874bf8 in runDumpAgent () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9dmp26.so
#5  0x00007f2fbb8862c2 in triggerDumpAgents () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9dmp26.so
#6  0x00007f2fbb649699 in twAssertion () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9trc26.so
#7  0x00007f2fb8fb9d50 in utsTraceV () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9ute26.so
#8  0x00007f2fbb64abfb in j9Trace () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9trc26.so
#9  0x00007f2fba281c22 in MM_MarkingScheme::scanMixedObject(MM_EnvironmentStandard*, J9Object*, MM_MarkingScheme::ScanReason) () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#10 0x00007f2fba283421 in MM_MarkingScheme::markLiveObjectsScan(MM_EnvironmentStandard*) () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#11 0x00007f2fba2442cd in MM_ParallelMarkTask::run(MM_EnvironmentModron*) () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#12 0x00007f2fba34aaf0 in MM_Dispatcher::run(MM_EnvironmentModron*, MM_Task*) () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#13 0x00007f2fba240897 in MM_ParallelGlobalGC::markAll(MM_EnvironmentStandard*, bool) () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#14 0x00007f2fba242da6 in MM_ParallelGlobalGC::masterThreadGarbageCollect(MM_EnvironmentStandard*, MM_AllocateDescription*, bool, bool) () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#15 0x00007f2fba26d632 in MM_ConcurrentGC::internalGarbageCollect(MM_EnvironmentModron*, MM_MemorySubSpace*, MM_AllocateDescription*) () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#16 0x00007f2fba217e58 in MM_Collector::garbageCollect(MM_EnvironmentModron*, MM_MemorySubSpace*, MM_AllocateDescription*, unsigned int, MM_ObjectAllocationInterface*, MM_MemorySubSpace*, MM_AllocationContext*) ()
   from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#17 0x00007f2fba35c0bf in MM_MemorySubSpaceGenerational::allocationRequestFailed(MM_EnvironmentModron*, MM_AllocateDescription*, MM_MemorySubSpace::AllocationType, MM_ObjectAllocationInterface*, MM_MemorySubSpace*, MM_MemorySubSpace*) () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#18 0x00007f2fba35d4ed in MM_MemorySubSpaceGeneric::allocateObject(MM_EnvironmentModron*, MM_AllocateDescription*, MM_MemorySubSpace*, MM_MemorySubSpace*, bool) ()
   from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#19 0x00007f2fba3658f5 in MM_TLHAllocationInterface::allocateObject(MM_EnvironmentModron*, MM_AllocateDescription*, MM_MemorySpace*, bool) () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#20 0x00007f2fba36134c in MM_MixedObjectAllocationModel::allocateMixedObject(MM_EnvironmentModron*, MM_AllocateDescription*, bool) () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#21 0x00007f2fba223cc1 in J9AllocateObject () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9gc26.so
#22 0x00007f2fc05b7be4 in internalCreateRAMClassFromROMClassImpl () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9vm26.so
#23 0x00007f2fc05bb328 in internalCreateRAMClassFromROMClass () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9vm26.so
#24 0x00007f2fba0c05eb in internalDefineClass () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libj9dyn26.so
#25 0x00007f2fb9b2e2bf in defineClassCommon () from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libjclse7b_26.so
#26 0x00007f2fb9b6df86 in Java_sun_misc_Unsafe_defineClass__Ljava_lang_String_2_3BIILjava_lang_ClassLoader_2Ljava_security_ProtectionDomain_2 ()
   from /opt/ibm/db2/V10.5/java/jdk64/jre/lib/amd64/compressedrefs/libjclse7b_26.so
#27 0x00007f2fb0e185a2 in ?? ()
#28 0x00000000228623c0 in ?? ()
#29 0x0000000000000000 in ?? ()
(gdb)
 
Thanks and Regards,
Pandu Mutyala