harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Semukhina (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-3542) [drlvm][threading] VM crashes on getting stack traces
Date Mon, 02 Apr 2007 09:53:33 GMT
[drlvm][threading] VM crashes on getting stack traces
-----------------------------------------------------

                 Key: HARMONY-3542
                 URL: https://issues.apache.org/jira/browse/HARMONY-3542
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
            Reporter: Elena Semukhina


I ran the attached test on linux x86 and it crashed in different ways. Sometimes it hangs
after crash while printing stack trace info. The hang info is attached as well.

Crash 1.
SIGSEGV in VM code.
Stack trace:
java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/vmcore/src/stack/stack_trace.cpp:207:
void st_get_trace(VM_thread*, unsigned int*, StackTraceFrame**): Assertion `depth==*res_depth'
failed.
SIGABRT in VM code.
Stack trace:
addr2line: '[vdso]': No such file
java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32StackInfo.cpp:172:
void Jitrino::Ia32::StackInfo::read(Jitrino::MethodDesc*, uint32, bool): Assertion `entry'
failed.
Aborted

Crash 2.
SIGSEGV in VM code.
Stack trace:
java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/vmcore/src/stack/stack_trace.cpp:207:
void st_get_trace(VM_thread*, unsigned int*, StackTraceFrame**): Assertion `depth==*res_depth'
failed.
SIGABRT in VM code.
Stack trace:
addr2line: '[vdso]': No such file
java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_suspend.c:172:
wait_safe_region_event: Assertion `thread->suspend_count' failed.
Aborted

Crash 3.
SIGSEGV in VM code.
Stack trace:
java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_basic.c:492:
hythread_get_private_data: Assertion `t' failed.
SIGABRT in VM code.
Stack trace:
addr2line: '[vdso]': No such file
java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/vmcore/src/stack/stack_trace.cpp:207:
void st_get_trace(VM_thread*, unsigned int*, StackTraceFrame**): Assertion `depth==*res_depth'
failed.
Aborted

Crash 4.
SIGSEGV in VM code.
SIGSEGV in VM code.
Stack trace:
Stack trace:
SIGSEGV in VM code.
Stack trace:
java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/vmcore/src/stack/stack_trace.cpp:207:
void st_get_trace(VM_thread*, unsigned int*, StackTraceFrame**): Assertion `depth==*res_depth'
failed.
SIGABRT in VM code.
Stack trace:
addr2line: '[vdso]': No such file
java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32StackInfo.cpp:172:
void Jitrino::Ia32::StackInfo::read(Jitrino::MethodDesc*, uint32, bool): Assertion `entry'
failed.
Aborted

java: /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/vmcore/src/stack/stack_trace.cpp:207:
void st_get_trace(VM_thread*, unsigned int*, StackTraceFrame**): Assertion `depth==*res_depth'
failed.
*** glibc detected *** /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/java:
malloc(): memory corruption (fast): 0x9d518778 ***
SIGABRT in VM code.
======= Backtrace: =========
/lib/libc.so.6[0xb7ac4a11]
/lib/libc.so.6[0xb7ac6f10]
/lib/libc.so.6(malloc+0x86)[0xb7ac8306]
/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libharmonyvm.so[0xb6c3a75b]
/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libharmonyvm.so(_Z18oh_allocate_handlePP13ObjectHandles+0x70)[0xb6c3a842]
/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libharmonyvm.so(_Z24oh_allocate_local_handlev+0x81)[0xb6c3a923]
/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libharmonyvm.so(_Z14GetObjectClassP15JNIEnv_ExternalP8_jobject+0x15f)[0xb6bce2f3]
/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libharmonyvm.so(_Z21SetObjectArrayElementP15JNIEnv_ExternalP8_jobjectiS2_+0x1ba)[0xb6bd81a0]
/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libharmonyvm.so(_ZN15JNIEnv_External21SetObjectArrayElementEP8_jobjectiS1_+0x2e)[0xb6c45d0a]
/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libharmonyvm.so(Java_org_apache_harmony_vm_VMStack_getThreadStackTrace+0x6d6)[0xb6c4477a]
[0xa448bf56]
[0x0]
======= Memory map: ========
08048000-0804d000 r-xp 00000000 00:1e 7266611    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/java
0804d000-0804e000 rw-p 00004000 00:1e 7266611    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/java
0804e000-08768000 rw-p 0804e000 00:00 0          [heap]
974f4000-974f5000 ---p 974f4000 00:00 0 
974f5000-97506000 rw-p 974f5000 00:00 0 
97506000-97507000 ---p 97506000 00:00 0 
97507000-97cf3000 rw-p 97507000 00:00 0 
97cf3000-97cf5000 rwxp 97cf3000 00:00 0 
97cf5000-97cf6000 ---p 97cf5000 00:00 0 
97cf6000-97d07000 rw-p 97cf6000 00:00 0 
97d07000-97d08000 ---p 97d07000 00:00 0 
97d08000-984f4000 rw-p 97d08000 00:00 0 
984f4000-984f6000 rwxp 984f4000 00:00 0 
984f6000-984f7000 ---p 984f6000 00:00 0 
984f7000-98508000 rw-p 984f7000 00:00 0 
98508000-98509000 ---p 98508000 00:00 0 
98509000-98cf5000 rw-p 98509000 00:00 0 
98cf5000-98cf7000 rwxp 98cf5000 00:00 0 
98cf7000-98cf8000 ---p 98cf7000 00:00 0 
98cf8000-98d09000 rw-p 98cf8000 00:00 0 
98d09000-98d0a000 ---p 98d09000 00:00 0 
98d0a000-994f6000 rw-p 98d0a000 00:00 0 
994f6000-994f8000 rwxp 994f6000 00:00 0 
994f8000-994f9000 ---p 994f8000 00:00 0 
994f9000-9950a000 rw-p 994f9000 00:00 0 
9950a000-9950b000 ---p 9950a000 00:00 0 
9950b000-99cf7000 rw-p 9950b000 00:00 0 
99cf7000-99cf9000 rwxp 99cf7000 00:00 0 
99cf9000-99cfa000 ---p 99cf9000 00:00 0 
99cfa000-99d0b000 rw-p 99cfa000 00:00 0 
99d0b000-99d0c000 ---p 99d0b000 00:00 0 
99d0c000-9a4f8000 rw-p 99d0c000 00:00 0 
9a4f8000-9a4fa000 rwxp 9a4f8000 00:00 0 
9a4fa000-9a4fb000 ---p 9a4fa000 00:00 0 
9a4fb000-9a50c000 rw-p 9a4fb000 00:00 0 
9a50c000-9a50d000 ---p 9a50c000 00:00 0 
9a50d000-9acf9000 rw-p 9a50d000 00:00 0 
9acf9000-9acfb000 rwxp 9acf9000 00:00 0 
9acfb000-9acfc000 ---p 9acfb000 00:00 0 
9acfc000-9ad0d000 rw-p 9acfc000 00:00 0 
9ad0d000-9ad0e000 ---p 9ad0d000 00:00 0 
9ad0e000-9b4fa000 rw-p 9ad0e000 00:00 0 
9b4fa000-9b4fc000 rwxp 9b4fa000 00:00 0 
9b4fc000-9b4fd000 ---p 9b4fc000 00:00 0 
9b4fd000-9b50e000 rw-p 9b4fd000 00:00 0 
9b50e000-9b50f000 ---p 9b50e000 00:00 0 
9b50f000-9bcfb000 rw-p 9b50f000 00:00 0 
9bcfb000-9bcfd000 rwxp 9bcfb000 00:00 0 
9bcfd000-9bcfe000 ---p 9bcfd000 00:00 0 
9bcfe000-9bd0f000 rw-p 9bcfe000 00:00 0 
9bd0f000-9bd10000 ---p 9bd0f000 00:00 0 
9bd10000-9c4fc000 rw-p 9bd10000 00:00 0 
9c4fc000-9c4fe000 rwxp 9c4fc000 00:00 0 
9c4fe000-9c4ff000 ---p 9c4fe000 00:00 0 
9c4ff000-9c510000 rw-p 9c4ff000 00:00 0 
9c510000-9c511000 ---p 9c510000 00:00 0 
9c511000-9ccfd000 rw-p 9c511000 00:00 0 
9ccfd000-9ccff000 rwxp 9ccfd000 00:00 0 
9ccff000-9cd00000 ---p 9ccff000 00:00 0 
9cd00000-9cd11000 rw-p 9cd00000 00:00 0 
9cd11000-9cd12000 ---p 9cd11000 00:00 0 
9cd12000-9d4fe000 rw-p 9cd12000 00:00 0 
9d4fe000-9d500000 rwxp 9d4fe000 00:00 0 
9d500000-9d521000 rw-p 9d500000 00:00 0 
9d521000-9d600000 ---p 9d521000 00:00 0 
9d6f8000-9d6f9000 ---p 9d6f8000 00:00 0 
9d6f9000-9d70a000 rw-p 9d6f9000 00:00 0 
9d70a000-9d70b000 ---p 9d70a000 00:00 0 
9d70b000-9def7000 rw-p 9d70b000 00:00 0 
9def7000-9def9000 rwxp 9def7000 00:00 0 
9def9000-9defa000 ---p 9def9000 00:00 0 
9defa000-9df0b000 rw-p 9defa000 00:00 0 
9df0b000-9df0c000 ---p 9df0b000 00:00 0 
9df0c000-9e6f8000 rw-p 9df0c000 00:00 0 
9e6f8000-9e6fa000 rwxp 9e6f8000 00:00 0 
9e6fa000-9e6fb000 ---p 9e6fa000 00:00 0 
9e6fb000-9e70c000 rw-p 9e6fb000 00:00 0 
9e70c000-9e70d000 ---p 9e70c000 00:00 0 
9e70d000-9eef9000 rw-p 9e70d000 00:00 0 
9eef9000-9eefb000 rwxp 9eef9000 00:00 0 
9eefb000-9eefc000 ---p 9eefb000 00:00 0 
9eefc000-9ef0d000 rw-p 9eefc000 00:00 0 
9ef0d000-9ef0e000 ---p 9ef0d000 00:00 0 
9ef0e000-9f6fa000 rw-p 9ef0e000 00:00 0 
9f6fa000-9f6fc000 rwxp 9f6fa000 00:00 0 
9f6fc000-9f6fd000 ---p 9f6fc000 00:00 0 
9f6fd000-9f70e000 rw-p 9f6fd000 00:00 0 
9f70e000-9f70f000 ---p 9f70e000 00:00 0 
9f70f000-9fefb000 rw-p 9f70f000 00:00 0 
9fefb000-9fefd000 rwxp 9fefb000 00:00 0 
9fefd000-9fefe000 ---p 9fefd000 00:00 0 
9fefe000-9ff0f000 rw-p 9fefe000 00:00 0 
9ff0f000-9ff10000 ---p 9ff0f000 00:00 0 
9ff10000-a06fc000 rw-p 9ff10000 00:00 0 
a06fc000-a06fe000 rwxp a06fc000 00:00 0 
a06fe000-a06ff000 ---p a06fe000 00:00 0 
a06ff000-a0710000 rw-p a06ff000 00:00 0 
a0710000-a0711000 ---p a0710000 00:00 0 
a0711000-a0efd000 rw-p a0711000 00:00 0 
a0efd000-a0eff000 rwxp a0efd000 00:00 0 
a0eff000-a0f00000 ---p a0eff000 00:00 0 
a0f00000-a0f11000 rw-p a0f00000 00:00 0 
a0f11000-a0f12000 ---p a0f11000 00:00 0 
a0f12000-a16fe000 rw-p a0f12000 00:00 0 
a16fe000-a1700000 rwxp a16fe000 00:00 0 
a1700000-a1728000 rw-p a1700000 00:00 0 
a1728000-a1800000 ---p a1728000 00:00 0 
a1800000-a1823000 rw-p a1800000 00:00 0 
a1823000-a1900000 ---p a1823000 00:00 0 
a1900000-a192b000 rw-p a1900000 00:00 0 
a192b000-a1a00000 ---p a192b000 00:00 0 
a1afb000-a1afc000 ---p a1afb000 00:00 0 
a1afc000-a1b0d000 rw-p a1afc000 00:00 0 
a1b0d000-a1b0e000 ---p a1b0d000 00:00 0 
a1b0e000-a22fa000 rw-p a1b0e000 00:00 0 
a22fa000-a22fc000 rwxp a22fa000 00:00 0 
a22fc000-a22fd000 ---p a22fc000 00:00 0 
a22fd000-a230e000 rw-p a22fd000 00:00 0 
a230e000-a230f000 ---p a230e000 00:00 0 
a230f000-a2afb000 rw-p a230f000 00:00 0 
a2afb000-a2afd000 rwxp a2afb000 00:00 0 
a2afd000-a2afe000 ---p a2afd000 00:00 0 
a2afe000-a2b0f000 rw-p a2afe000 00:00 0 
a2b0f000-a2b10000 ---p a2b0f000 00:00 0 
a2b10000-a32fc000 rw-p a2b10000 00:00 0 
a32fc000-a32fe000 rwxp a32fc000 00:00 0 
a32fe000-a32ff000 ---p a32fe000 00:00 0 
a32ff000-a3310000 rw-p a32ff000 00:00 0 
a3310000-a3311000 ---p a3310000 00:00 0 
a3311000-a3afd000 rw-p a3311000 00:00 0 
a3afd000-a3aff000 rwxp a3afd000 00:00 0 
a3aff000-a3b00000 ---p a3aff000 00:00 0 
a3b00000-a3b11000 rw-p a3b00000 00:00 0 
a3b11000-a3b12000 ---p a3b11000 00:00 0 
a3b12000-a42fe000 rw-p a3b12000 00:00 0 
a42fe000-a4300000 rwxp a42fe000 00:00 0 
a4300000-a43ed000 rw-p a4300000 00:00 0 
a43ed000-a4400000 ---p a43ed000 00:00 0 
a4462000-a44a3000 rwxp a4462000 00:00 0 
a44a3000-a44a4000 ---p a44a3000 00:00 0 
a44a4000-a44b5000 rw-p a44a4000 00:00 0 
a44b5000-a44b6000 ---p a44b5000 00:00 0 
a44b6000-a4ca2000 rw-p a44b6000 00:00 0 
a4ca2000-a4cf5000 rwxp a4ca2000 00:00 0 
a4cf5000-a4dea000 r-xp 00000000 00:1e 2046331    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libicui18n.so.34
a4dea000-a4def000 rw-p 000f5000 00:1e 2046331    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libicui18n.so.34
a4def000-a4df5000 r-xp 00000000 00:1e 2046328    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libICUInterface34.so
a4df5000-a4df6000 rw-p 00005000 00:1e 2046328    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libICUInterface34.so
a4df6000-a4e03000 r-xp 00000000 00:1e 2046326    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libhyarchive.so
a4e03000-a4e04000 rw-p 0000c000 00:1e 2046326    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libhyarchive.so
a4e04000-a4e28000 rw-p a4e04000 00:00 0 
a4e28000-a4e57000 r-xp 00000000 00:1e 2046332    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libhyluni.so
a4e57000-a4e58000 rw-p 0002e000 00:1e 2046332    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libhyluni.so
a4e58000-a4e76000 r-xp 00000000 00:1e 7442570    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libvmi.so
a4e76000-a4e7b000 rw-p 0001d000 00:1e 7442570    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libvmi.so
a4e7b000-a4e7d000 rw-p a4e7b000 00:00 0 
a4e7d000-a4e8b000 r-xp 00000000 00:1e 16877821   /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libhyzlib.so
a4e8b000-a4e8c000 rw-p 0000d000 00:1e 16877821   /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libhyzlib.so
a4e8c000-a4ecc000 rwxp a4e8c000 00:00 0 
a4ecc000-b578f000 rw-p a4ecc000 00:00 0 
b578f000-b5d45000 r-xp 00000000 00:1e 3016890    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libjitrino.so
b5d45000-b5d62000 rw-p 005b6000 00:1e 3016890    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libjitrino.so
b5d62000-b5db2000 rw-p b5d62000 00:00 0 
b5db2000-b5e01000 r-xp 00000000 00:1e 7442571    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libem.so
b5e01000-b5e03000 rw-p 0004f000 00:1e 7442571    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libem.so
b5e03000-b5e0b000 r-xp 00000000 08:02 97188      /lib/libnss_files-2.4.so
b5e0b000-b5e0d000 rw-p 00007000 08:02 97188      /lib/libnss_files-2.4.so
b5e11000-b5e32000 r-xp 00000000 00:1e 7442569    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libgc_cc.so
b5e32000-b5e33000 rw-p 00020000 00:1e 7442569    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libgc_cc.so
b5e33000-b5e53000 rw-p b5e33000 00:00 0 
b5e53000-b5e5b000 rwxp b5e53000 00:00 0 
b5e5b000-b5e88000 rw-p b5e5b000 00:00 0 
b5e88000-b5f3c000 r-xp 00000000 08:02 911927     /usr/lib/libstdc++.so.5.0.7
b5f3c000-b5f41000 rw-p 000b3000 08:02 911927     /usr/lib/libstdc++.so.5.0.7
b5f41000-b5f46000 rw-p b5f41000 00:00 0 
b5f46000-b67b4000 r-xp 00000000 00:1e 2046338    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libicudata.so.34
b67b4000-b67b5000 rw-p 0086d000 00:1e 2046338    /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libicudata.so.34
b67b5000-b68db000 r-xp 00000000 08:02 913643     /usr/lib/libxml2.so.2.6.23
b68db000-b68e4000 rw-p 00126000 08:02 913643     /usr/lib/libxml2.so.2.6.23
b68e4000-b68e5000 Aborted


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message