JVM got crashed when sqlite native call

Issue #227 new
Anonymous created an issue

A fatal error has been detected by the Java Runtime Environment:

SIGSEGV (0xb) at pc=0x002f3e03, pid=405, tid=2283457424

JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)

Java VM: Java HotSpot(TM) Server VM (25.65-b01 mixed mode linux-x86 )

Problematic frame:

C [sqlite-3.7.151-i386-libsqlitejdbc.so+0x4ae03]

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

If you would like to submit a bug report, please visit:

http://bugreport.java.com/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

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

Current thread (0x8836d800): JavaThread "Thread1" [_thread_in_native, id=602, stack(0x8815c000,0x881ad000)]

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

Registers: EAX=0x00000000, EBX=0x0034dff4, ECX=0x8836d938, EDX=0x8836d800 ESP=0x881aba10, EBP=0x881aba28, ESI=0x09d1a068, EDI=0x00000000 EIP=0x002f3e03, EFLAGS=0x00010202, CR2=0x0000000c

Top of Stack: (sp=0x881aba10) 0x881aba10: 014d6631 881aba3c 881aba60 00000001 0x881aba20: 88b4d248 8836d800 881aba38 002aec5d 0x881aba30: 09d1a068 88b4d248 881aba88 a8eb546e 0x881aba40: 8836d938 881abaa0 09d1a068 00000000 0x881aba50: a8eb52c8 8836d800 881aba60 a8eb529d 0x881aba60: 00000003 9ec53f80 881aba60 88b4d248 0x881aba70: 881abaa0 88b61288 00000000 88b4d248 0x881aba80: 00000000 881aba98 881abac4 a8ead360

Instructions: (pc=0x002f3e03) 0x002f3de3: 8d b6 00 00 00 00 8d bc 27 00 00 00 00 55 89 e5 0x002f3df3: 57 31 ff 56 83 ec 10 8b 75 08 85 f6 74 72 8b 06 0x002f3e03: 8b 40 0c 89 04 24 e8 42 c2 fb ff 89 f0 e8 fb dd 0x002f3e13: ff ff c7 46 54 ff ff ff ff c7 46 58 00 00 00 00

Register to memory mapping:

EAX=0x00000000 is an unknown value EBX=0x0034dff4: <offset 0xa4ff4> in /tmp/sqlite-3.7.151-i386-libsqlitejdbc.so at 0x002a9000 ECX=0x8836d938 is an unknown value EDX=0x8836d800 is a thread ESP=0x881aba10 is pointing into the stack for thread: 0x8836d800 EBP=0x881aba28 is pointing into the stack for thread: 0x8836d800 ESI=0x09d1a068 is an unknown value EDI=0x00000000 is an unknown value

Stack: [0x8815c000,0x881ad000], sp=0x881aba10, free space=318k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [sqlite-3.7.151-i386-libsqlitejdbc.so+0x4ae03] C [sqlite-3.7.151-i386-libsqlitejdbc.so+0x5c5d] Java_org_sqlite_NativeDB_reset+0x1d j org.sqlite.NativeDB.reset(J)I+0 j org.sqlite.PrepStmt.executeUpdate()I+36 j com.aircell.abs.videoservice.journal.videostatus.VideoStatusTableAdapter.update(Ljava/lang/String;Ljava/lang/String;)V+48 j com.aircell.abs.videoservice.journal.videostatus.VideoStatusAdapterImpl.updateVideoStatus(Ljava/lang/Boolean;)Ljava/lang/Boolean;+23 j test.VideoStatusOperator.testVideoStatusOperator([Ljava/lang/String;)V+213 j test.VideoStatusOperator.run()V+25 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub V [libjvm.so+0x4fbd4f] JavaCalls::call_helper(JavaValue, methodHandle, JavaCallArguments, Thread)+0x101f V [libjvm.so+0x74bf89] os::os_exception_wrapper(void ()(JavaValue, methodHandle, JavaCallArguments, Thread), JavaValue, methodHandle, JavaCallArguments, Thread)+0x19 V [libjvm.so+0x4fc15c] JavaCalls::call_virtual(JavaValue, KlassHandle, Symbol, Symbol, JavaCallArguments, Thread)+0x25c V [libjvm.so+0x4fc59b] JavaCalls::call_virtual(JavaValue, Handle, KlassHandle, Symbol, Symbol, Thread)+0x4b V [libjvm.so+0x58efd0] thread_entry(JavaThread, Thread)+0x90 V [libjvm.so+0x880b39] JavaThread::thread_main_inner()+0x109 V [libjvm.so+0x880cbb] JavaThread::run()+0x14b V [libjvm.so+0x7534a9] java_start(Thread*)+0x119 C [libpthread.so.0+0x53db] start_thread+0xcb C [libc.so.6+0xcd06e] clone+0x5e

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.sqlite.NativeDB.reset(J)I+0 j org.sqlite.PrepStmt.executeUpdate()I+36 j com.aircell.abs.videoservice.journal.videostatus.VideoStatusTableAdapter.update(Ljava/lang/String;Ljava/lang/String;)V+48 j com.aircell.abs.videoservice.journal.videostatus.VideoStatusAdapterImpl.updateVideoStatus(Ljava/lang/Boolean;)Ljava/lang/Boolean;+23 j test.VideoStatusOperator.testVideoStatusOperator([Ljava/lang/String;)V+213 j test.VideoStatusOperator.run()V+25 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub

Comments (0)

  1. Log in to comment