I have a C program calling Java API through JNI. However, my program suddenly crash and received a java core dump file. Following are some part of the java core dump content. Could anyone please help to provide some guidance on what the problem in my program which cause to generate this java core dump. The details core file is provided in the attachment.
Thanks
NULL ------------------------------------------------------------------------
0SECTION TITLE subcomponent dump routine
NULL ===============================
1TISIGINFO Dump Event "gpf" (00002000) received
1TIDATETIME Date: 2014/02/10 at 19:59:14
1TIFILENAME Javacore filename: /home/sccim1/sccim01src/ibus/javacore.20140210.195858.491614.0002.txt
1TIREQFLAGS Request Flags: 0x81 (exclusive+preempt)
1TIPREPSTATE Prep State: 0x100 ()
1TIPREPINFO Exclusive VM access not taken: data may not be consistent across javacore sections
NULL ------------------------------------------------------------------------
0SECTION GPINFO subcomponent dump routine
NULL ================================
2XHOSLEVEL OS Level : AIX 5.3
2XHCPUS Processors -
3XHCPUARCH Architecture : ppc
3XHNUMCPUS How Many : 4
3XHNUMASUP NUMA is either not supported or has been disabled by user
NULL
1XHEXCPCODE J9Generic_Signal_Number: 00000004
1XHEXCPCODE Signal_Number: 0000000B
1XHEXCPCODE Error_Value: 00000000
1XHEXCPCODE Signal_Code: 00000032
1XHEXCPCODE Handler1: F264B4F4
1XHEXCPCODE Handler2: F2645FC4
NULL
1XHEXCPMODULE Module: /usr/java6/jre/lib/ppc/libj9vm24.so
1XHEXCPMODULE Module_base_address: D5639000
NULL
NULL ------------------------------------------------------------------------
0SECTION THREADS subcomponent dump routine
NULL =================================
NULL
1XMCURTHDINFO Current thread
NULL ----------------------
3XMTHREADINFO "main" J9VMThread:0x20336800, j9thread_t:0x2001078C, java/lang/Thread:0x30001560, state:R, prio=5
3XMJAVALTHREAD (java/lang/Thread getId:0x1, isDaemon:false)
3XMTHREADINFO1 (native thread ID:0x22A065, native priority:0x5, native policy:UNKNOWN)
3XMTHREADINFO3 No Java callstack associated with this thread
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK (0xD5652B10 [libj9vm24.so+0x19b10])
4XENATIVESTACK (0xD564D120 [libj9vm24.so+0x14120])
4XENATIVESTACK (0xD5665998 [libj9vm24.so+0x2c998])
4XENATIVESTACK (0xD56D1BAC [libj9prt24.so+0x1bac])
4XENATIVESTACK (0xD5665A84 [libj9vm24.so+0x2ca84])
4XENATIVESTACK (0xD564D734 [libj9vm24.so+0x14734])
4XENATIVESTACK (0xD5651160 [libj9vm24.so+0x18160])
4XENATIVESTACK exception+0x90 (0xD3AE4654 [libirules.so+0x654])
4XENATIVESTACK vcos_execute+0x1a4 (0xD3AE4CF0 [libirules.so+0xcf0])
4XENATIVESTACK execIRulesEngine+0x64 (0x1000050C [testRE.exe+0x50c])
4XENATIVESTACK singleThread+0x64 (0x10000618 [testRE.exe+0x618])
4XENATIVESTACK main+0xa04 (0x1000105C [testRE.exe+0x105c])
4XENATIVESTACK __start (0x100001DC [testRE.exe+0x1dc])
NULL
NULL
1XMTHDINFO Thread Details
NULL ------------------
NULL
3XMTHREADINFO Anonymous native thread
3XMTHREADINFO1 (native thread ID:0xF40B7, native priority: 0x0, native policy:UNKNOWN)
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK _event_wait+0x294 (0xD0121A78 [libpthread.a+0x13a78])
4XENATIVESTACK _cond_wait_local+0x424 (0xD012BA08 [libpthread.a+0x1da08])
4XENATIVESTACK _cond_wait+0x48 (0xD012C018 [libpthread.a+0x1e018])
4XENATIVESTACK pthread_cond_timedwait+0x274 (0xD012C908 [libpthread.a+0x1e908])
4XENATIVESTACK (0xD56BE288 [libj9thr24.so+0x2288])
4XENATIVESTACK (0xD5CC7774 [libj9jit24.so+0x527774])
4XENATIVESTACK (0xD56BDCC0 [libj9thr24.so+0x1cc0])
4XENATIVESTACK _pthread_body+0x100 (0xD0111444 [libpthread.a+0x3444])
NULL
3XMTHREADINFO Anonymous native thread
3XMTHREADINFO1 (native thread ID:0xC8011, native priority: 0x0, native policy:UNKNOWN)
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK (0xD56D29D8 [libj9prt24.so+0x29d8])
4XENATIVESTACK (0xD56BDCC0 [libj9thr24.so+0x1cc0])
4XENATIVESTACK _pthread_body+0x100 (0xD0111444 [libpthread.a+0x3444])
NULL
3XMTHREADINFO "Attach API wait loop" J9VMThread:0x216F0300, j9thread_t:0x21B5327C, java/lang/Thread:0x30068328, state:R, prio=10
3XMJAVALTHREAD (java/lang/Thread getId:0xA, isDaemon:true)
3XMTHREADINFO1 (native thread ID:0xFF0E3, native priority:0xA, native policy:UNKNOWN)
3XMTHREADINFO3 Java callstack:
4XESTACKTRACE at com/ibm/tools/attach/javaSE/IPC.waitSemaphore(Native Method)
4XESTACKTRACE at com/ibm/tools/attach/javaSE/CommonDirectory.waitSemaphore(CommonDirectory.java :193)
4XESTACKTRACE at com/ibm/tools/attach/javaSE/AttachHandler$WaitLoop.waitForNotification(AttachH andler.java:349)
4XESTACKTRACE at com/ibm/tools/attach/javaSE/AttachHandler$WaitLoop.run(AttachHandler.java:434)
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK (0xD56D0590 [libj9prt24.so+0x590])
4XENATIVESTACK (0xD56F5118 [libj9prt24.so+0x25118])
4XENATIVESTACK (0xD5FBFF94 [libjclscar_24.so+0x5f94])
4XENATIVESTACK (0xD5684798 [libj9vm24.so+0x4b798])
4XENATIVESTACK (0xD56471F0 [libj9vm24.so+0xe1f0])
4XENATIVESTACK (0xD56D1BAC [libj9prt24.so+0x1bac])
4XENATIVESTACK (0xD5647110 [libj9vm24.so+0xe110])
4XENATIVESTACK (0xD56BDCC0 [libj9thr24.so+0x1cc0])
4XENATIVESTACK _pthread_body+0x100 (0xD0111444 [libpthread.a+0x3444])
NULL
3XMTHREADINFO "Gc Slave Thread" J9VMThread:0x216B1200, j9thread_t:0x214C804C, java/lang/Thread:0x30039480, state:CW, prio=5
3XMJAVALTHREAD (java/lang/Thread getId:0x6, isDaemon:true)
3XMTHREADINFO1 (native thread ID:0x18B057, native priority:0x5, native policy:UNKNOWN)
3XMTHREADINFO3 No Java callstack associated with this thread
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK _event_wait+0x294 (0xD0121A78 [libpthread.a+0x13a78])
4XENATIVESTACK _cond_wait_local+0x444 (0xD012BA28 [libpthread.a+0x1da28])
4XENATIVESTACK _cond_wait+0x48 (0xD012C018 [libpthread.a+0x1e018])
4XENATIVESTACK pthread_cond_wait+0x180 (0xD012CB64 [libpthread.a+0x1eb64])
4XENATIVESTACK (0xD56C01E4 [libj9thr24.so+0x41e4])
4XENATIVESTACK (0xD56BFF88 [libj9thr24.so+0x3f88])
4XENATIVESTACK (0xD56BFF20 [libj9thr24.so+0x3f20])
4XENATIVESTACK (0xD5E80818 [libj9gc24.so+0x29818])
4XENATIVESTACK (0xD5E8064C [libj9gc24.so+0x2964c])
4XENATIVESTACK (0xD56D1BAC [libj9prt24.so+0x1bac])
4XENATIVESTACK (0xD5E80784 [libj9gc24.so+0x29784])
4XENATIVESTACK (0xD56BDCC0 [libj9thr24.so+0x1cc0])
4XENATIVESTACK _pthread_body+0x100 (0xD0111444 [libpthread.a+0x3444])
NULL
3XMTHREADINFO "Gc Slave Thread" J9VMThread:0x215FB100, j9thread_t:0x214C7DA4, java/lang/Thread:0x300392F8, state:CW, prio=5
3XMJAVALTHREAD (java/lang/Thread getId:0x5, isDaemon:true)
3XMTHREADINFO1 (native thread ID:0x12B0EB, native priority:0x5, native policy:UNKNOWN)
3XMTHREADINFO3 No Java callstack associated with this thread
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK _event_wait+0x294 (0xD0121A78 [libpthread.a+0x13a78])
4XENATIVESTACK _cond_wait_local+0x444 (0xD012BA28 [libpthread.a+0x1da28])
4XENATIVESTACK _cond_wait+0x48 (0xD012C018 [libpthread.a+0x1e018])
4XENATIVESTACK pthread_cond_wait+0x180 (0xD012CB64 [libpthread.a+0x1eb64])
4XENATIVESTACK (0xD56C01E4 [libj9thr24.so+0x41e4])
4XENATIVESTACK (0xD56BFF88 [libj9thr24.so+0x3f88])
4XENATIVESTACK (0xD56BFF20 [libj9thr24.so+0x3f20])
4XENATIVESTACK (0xD5E80818 [libj9gc24.so+0x29818])
4XENATIVESTACK (0xD5E8064C [libj9gc24.so+0x2964c])
4XENATIVESTACK (0xD56D1BAC [libj9prt24.so+0x1bac])
4XENATIVESTACK (0xD5E80784 [libj9gc24.so+0x29784])
4XENATIVESTACK (0xD56BDCC0 [libj9thr24.so+0x1cc0])
4XENATIVESTACK _pthread_body+0x100 (0xD0111444 [libpthread.a+0x3444])
NULL
3XMTHREADINFO "Gc Slave Thread" J9VMThread:0x216B1700, j9thread_t:0x214C82F4, java/lang/Thread:0x30039608, state:CW, prio=5
3XMJAVALTHREAD (java/lang/Thread getId:0x7, isDaemon:true)
3XMTHREADINFO1 (native thread ID:0xF1063, native priority:0x5, native policy:UNKNOWN)
3XMTHREADINFO3 No Java callstack associated with this thread
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK _event_wait+0x294 (0xD0121A78 [libpthread.a+0x13a78])
4XENATIVESTACK _cond_wait_local+0x444 (0xD012BA28 [libpthread.a+0x1da28])
4XENATIVESTACK _cond_wait+0x48 (0xD012C018 [libpthread.a+0x1e018])
4XENATIVESTACK pthread_cond_wait+0x180 (0xD012CB64 [libpthread.a+0x1eb64])
4XENATIVESTACK (0xD56C01E4 [libj9thr24.so+0x41e4])
4XENATIVESTACK (0xD56BFF88 [libj9thr24.so+0x3f88])
4XENATIVESTACK (0xD56BFF20 [libj9thr24.so+0x3f20])
4XENATIVESTACK (0xD5E80818 [libj9gc24.so+0x29818])
4XENATIVESTACK (0xD5E8064C [libj9gc24.so+0x2964c])
4XENATIVESTACK (0xD56D1BAC [libj9prt24.so+0x1bac])
4XENATIVESTACK (0xD5E80784 [libj9gc24.so+0x29784])
4XENATIVESTACK (0xD56BDCC0 [libj9thr24.so+0x1cc0])
4XENATIVESTACK _pthread_body+0x100 (0xD0111444 [libpthread.a+0x3444])
NULL
3XMTHREADINFO "JIT Compilation Thread" J9VMThread:0x20336D00, j9thread_t:0x20010CDC, java/lang/Thread:0x300332D8, state:R, prio=10
3XMJAVALTHREAD (java/lang/Thread getId:0x4, isDaemon:true)
3XMTHREADINFO1 (native thread ID:0x1C806F, native priority:0xB, native policy:UNKNOWN)
3XMTHREADINFO3 No Java callstack associated with this thread
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK (0xD595523C [libj9jit24.so+0x1b523c])
4XENATIVESTACK (0xD5954BA8 [libj9jit24.so+0x1b4ba8])
4XENATIVESTACK (0xD59545E8 [libj9jit24.so+0x1b45e8])
4XENATIVESTACK (0xD5828274 [libj9jit24.so+0x88274])
4XENATIVESTACK (0xD58272C0 [libj9jit24.so+0x872c0])
4XENATIVESTACK (0xD57F9B44 [libj9jit24.so+0x59b44])
4XENATIVESTACK (0xD57F9518 [libj9jit24.so+0x59518])
4XENATIVESTACK (0xD57F2D94 [libj9jit24.so+0x52d94])
4XENATIVESTACK (0xD57F16F4 [libj9jit24.so+0x516f4])
4XENATIVESTACK (0xD56D1BAC [libj9prt24.so+0x1bac])
4XENATIVESTACK (0xD57EF40C [libj9jit24.so+0x4f40c])
4XENATIVESTACK (0xD57EE294 [libj9jit24.so+0x4e294])
4XENATIVESTACK (0xD56D1BAC [libj9prt24.so+0x1bac])
4XENATIVESTACK (0xD57ECCB8 [libj9jit24.so+0x4ccb8])
4XENATIVESTACK (0xD56BDCC0 [libj9thr24.so+0x1cc0])
4XENATIVESTACK _pthread_body+0x100 (0xD0111444 [libpthread.a+0x3444])
NULL
3XMTHREADINFO "Signal Dispatcher" J9VMThread:0x215FAC00, j9thread_t:0x2001122C, java/lang/Thread:0x300316A0, state:R, prio=5
3XMJAVALTHREAD (java/lang/Thread getId:0x2, isDaemon:true)
3XMTHREADINFO1 (native thread ID:0xC6053, native priority:0x5, native policy:UNKNOWN)
3XMTHREADINFO3 Java callstack:
4XESTACKTRACE at com/ibm/misc/SignalDispatcher.waitForSignal(Native Method)
4XESTACKTRACE at com/ibm/misc/SignalDispatcher.run(SignalDispatcher.java:74)
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK nsleep+0xa8 (0xD030EEB0 [libc.a+0x21110])
4XENATIVESTACK usleep+0x80 (0xD030EAE0 [libc.a+0x20d40])
4XENATIVESTACK signalWait (0xD572FF24 [libjava.so+0x16f24])
4XENATIVESTACK Java_com_ibm_misc_SignalDispatcher_waitForSignal+0 xc (0xD572FA28 [libjava.so+0x16a28])
4XENATIVESTACK (0xD5684798 [libj9vm24.so+0x4b798])
4XENATIVESTACK (0xD56471F0 [libj9vm24.so+0xe1f0])
4XENATIVESTACK (0xD56D1BAC [libj9prt24.so+0x1bac])
4XENATIVESTACK (0xD5647110 [libj9vm24.so+0xe110])
4XENATIVESTACK (0xD56BDCC0 [libj9thr24.so+0x1cc0])
4XENATIVESTACK _pthread_body+0x100 (0xD0111444 [libpthread.a+0x3444])
NULL
3XMTHREADINFO Anonymous native thread
3XMTHREADINFO1 (native thread ID:0x115073, native priority: 0x0, native policy:UNKNOWN)
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK _event_wait+0x294 (0xD0121A78 [libpthread.a+0x13a78])
4XENATIVESTACK _cond_wait_local+0x444 (0xD012BA28 [libpthread.a+0x1da28])
4XENATIVESTACK _cond_wait+0x48 (0xD012C018 [libpthread.a+0x1e018])
4XENATIVESTACK pthread_cond_wait+0x180 (0xD012CB64 [libpthread.a+0x1eb64])
4XENATIVESTACK (0xD56C01E4 [libj9thr24.so+0x41e4])
4XENATIVESTACK (0xD56BFF88 [libj9thr24.so+0x3f88])
4XENATIVESTACK (0xD56C0028 [libj9thr24.so+0x4028])
4XENATIVESTACK (0xD5E820D0 [libj9gc24.so+0x2b0d0])
4XENATIVESTACK (0xD56BDCC0 [libj9thr24.so+0x1cc0])
4XENATIVESTACK _pthread_body+0x100 (0xD0111444 [libpthread.a+0x3444])
NULL
3XMTHREADINFO "Finalizer thread" J9VMThread:0x216EFE00, j9thread_t:0x21B53524, java/lang/Thread:0x300056C0, state:CW, prio=5
3XMJAVALTHREAD (java/lang/Thread getId:0xD, isDaemon:true)
3XMTHREADINFO1 (native thread ID:0xC905D, native priority:0x5, native policy:UNKNOWN)
3XMTHREADINFO3 No Java callstack associated with this thread
3XMTHREADINFO3 Native callstack:
4XENATIVESTACK _event_wait+0x294 (0xD0121A78 [libpthread.a+0x13a78])
4XENATIVESTACK _cond_wait_local+0x444 (0xD012BA28 [libpthread.a+0x1da28])
4XENATIVESTACK _cond_wait+0x48 (0xD012C018 [libpthread.a+0x1e018])
4XENATIVESTACK pthread_cond_wait+0x180 (0xD012CB64 [libpthread.a+0x1eb64])
4XENATIVESTACK (0xD56C01E4 [libj9thr24.so+0x41e4])
4XENATIVESTACK (0xD56BFF88 [libj9thr24.so+0x3f88])
4XENATIVESTACK (0xD56BFF20 [libj9thr24.so+0x3f20])
4XENATIVESTACK (0xD5E82638 [libj9gc24.so+0x2b638])
4XENATIVESTACK (0xD56D1BAC [libj9prt24.so+0x1bac])
4XENATIVESTACK (0xD5E81F10 [libj9gc24.so+0x2af10])
4XENATIVESTACK (0xD56BDCC0 [libj9thr24.so+0x1cc0])
4XENATIVESTACK _pthread_body+0x100 (0xD0111444 [libpthread.a+0x3444])
NULL