<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Crashed even if crash recovery is toggled to 1"
href="http://llvm.org/bugs/show_bug.cgi?id=18398">18398</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crashed even if crash recovery is toggled to 1
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.3
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>libclang
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dev@antonsmirnov.name
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Crashes even if crash recovery is toggled to 1.
libclang is compiled for Linux ARM (Android) and used via JNI and wrapper
("libclang_wrapper", written in native code).
01-06 22:24:08.256: ASSERT/libc(14976): Fatal signal 11 (SIGSEGV) at 0x00003a80
(code=0), thread 14976 (id.arduinodroid)
01-06 22:24:08.256: ASSERT/libc(14976): Fatal signal 11 (SIGSEGV) at 0x00003a80
(code=0), thread 15354 (Thread-394)
01-06 22:24:08.366: INFO/DEBUG(165): *** *** *** *** *** *** *** *** *** ***
*** *** *** *** *** ***
01-06 22:24:08.366: INFO/DEBUG(165): Build fingerprint:
'Xiaomi/aries/aries:4.1.1/JRO03L/3.10.25:user/release-keys'
01-06 22:24:08.366: INFO/DEBUG(165): pid: 14976, tid: 15354, name: Thread-394
<span class="quote">>>> name.antonsmirnov.android.arduinodroid <<<</span >
01-06 22:24:08.366: INFO/DEBUG(165): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR),
fault addr 00000408
01-06 22:24:08.627: INFO/DEBUG(165): r0 77a61c20 r1 00000008 r2 7300bfc0 r3
00000000
01-06 22:24:08.627: INFO/DEBUG(165): r4 72ba7fc0 r5 730a1c80 r6 7300bfc0 r7
738c9de8
01-06 22:24:08.627: INFO/DEBUG(165): r8 77a61c80 r9 73094e80 sl 7325af68 fp
77a61c7c
01-06 22:24:08.627: INFO/DEBUG(165): ip 00000000 sp 77a61c20 lr 75565694 pc
755656b0 cpsr 20000010
01-06 22:24:08.627: INFO/DEBUG(165): d0 429870d042939f88 d1 4298714042987108
01-06 22:24:08.627: INFO/DEBUG(165): d2 429871b042987178 d3 42995c6842995c30
01-06 22:24:08.627: INFO/DEBUG(165): d4 429318c8428bdb80 d5 4293193842931900
01-06 22:24:08.627: INFO/DEBUG(165): d6 4297617842931970 d7 429761e8429761b0
01-06 22:24:08.627: INFO/DEBUG(165): d8 441d800000000276 d9 43a9000043710000
01-06 22:24:08.627: INFO/DEBUG(165): d10 422c000042400000 d11 0000000000000000
01-06 22:24:08.627: INFO/DEBUG(165): d12 0000000000000000 d13 0000000000000000
01-06 22:24:08.627: INFO/DEBUG(165): d14 0000000000000000 d15 0000000000000000
01-06 22:24:08.627: INFO/DEBUG(165): d16 65675f676e616c63 d17 736f6e6761694474
01-06 22:24:08.627: INFO/DEBUG(165): d18 429160d042916098 d19 4291d00042916108
01-06 22:24:08.627: INFO/DEBUG(165): d20 4291d0704291d038 d21 4291d0e04291d0a8
01-06 22:24:08.627: INFO/DEBUG(165): d22 42939ee042939ea8 d23 42939f5042939f18
01-06 22:24:08.627: INFO/DEBUG(165): d24 0002000000020001 d25 0006000500040003
01-06 22:24:08.627: INFO/DEBUG(165): d26 0000000000000000 d27 0000000000000000
01-06 22:24:08.627: INFO/DEBUG(165): d28 0000000000000000 d29 3ff0000000000000
01-06 22:24:08.627: INFO/DEBUG(165): d30 0006000600060006 d31 0000000000000000
01-06 22:24:08.627: INFO/DEBUG(165): scr 28000013
01-06 22:24:08.627: INFO/DEBUG(165): backtrace:
01-06 22:24:08.627: INFO/DEBUG(165): #00 pc 000656b0
/data/data/name.antonsmirnov.android.arduinodroid/se/libclang.so
(clang::cxdiag::lazyCreateDiags(CXTranslationUnitImpl*, bool)+200)
01-06 22:24:08.627: INFO/DEBUG(165): #01 pc 000092b4
/data/data/name.antonsmirnov.android.arduinodroid/se/libclang_wrapper.so
(Java_name_antonsmirnov_clang_clang_1wrapper_getDiagnostics+72)
01-06 22:24:08.627: INFO/DEBUG(165): #02 pc 0001fb70 /system/lib/libdvm.so
(dvmPlatformInvoke+112)
01-06 22:24:08.627: INFO/DEBUG(165): #03 pc 0004e8b9 /system/lib/libdvm.so
(dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+360)
01-06 22:24:08.627: INFO/DEBUG(165): #04 pc 00029020 /system/lib/libdvm.so
01-06 22:24:08.627: INFO/DEBUG(165): #05 pc 0002d7e8 /system/lib/libdvm.so
(dvmInterpret(Thread*, Method const*, JValue*)+180)
01-06 22:24:08.627: INFO/DEBUG(165): #06 pc 0005fed5 /system/lib/libdvm.so
(dvmCallMethodV(Thread*, Method const*, Object*, bool, JValue*,
std::__va_list)+272)
01-06 22:24:08.627: INFO/DEBUG(165): #07 pc 0005feff /system/lib/libdvm.so
(dvmCallMethod(Thread*, Method const*, Object*, JValue*, ...)+20)
01-06 22:24:08.627: INFO/DEBUG(165): #08 pc 00055327 /system/lib/libdvm.so
01-06 22:24:08.627: INFO/DEBUG(165): #09 pc 00012e70 /system/lib/libc.so
(__thread_entry+48)
01-06 22:24:08.627: INFO/DEBUG(165): #10 pc 000125c8 /system/lib/libc.so
(pthread_create+172)
01-06 22:24:08.627: INFO/DEBUG(165): stack:
01-06 22:24:08.627: INFO/DEBUG(165): 77a61be0 00000004
01-06 22:24:08.627: INFO/DEBUG(165): 77a61be4 1db00005
01-06 22:24:08.627: INFO/DEBUG(165): 77a61be8 77a61c04 [stack:15354]
01-06 22:24:08.627: INFO/DEBUG(165): 77a61bec 72ba7fc0
01-06 22:24:08.627: INFO/DEBUG(165): 77a61bf0 730a1c80
01-06 22:24:08.627: INFO/DEBUG(165): 77a61bf4 00000000
01-06 22:24:08.627: INFO/DEBUG(165): 77a61bf8 738c9de8
01-06 22:24:08.627: INFO/DEBUG(165): 77a61bfc 77a61c80 [stack:15354]
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c00 73094e80
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c04 7325af68
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c08 77a61c7c [stack:15354]
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c0c 4012bff1 /system/lib/libc.so
(malloc+12)
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c10 761bba30
/data/data/name.antonsmirnov.android.arduinodroid/se/libclang.so
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c14 401668ff
/system/lib/libstdc++.so (operator new[](unsigned int)+6)
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c18 df0027ad
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c1c 00000000
01-06 22:24:08.627: INFO/DEBUG(165): #00 77a61c20 1db00005
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c24 01d2c9db
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c28 6dc76470
/dev/ashmem/dalvik-LinearAlloc (deleted)
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c2c 7325af58
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c30 00000004
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c34 71625b90
/data/data/name.antonsmirnov.android.arduinodroid/se/libclang_wrapper.so
(debug+52)
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c38 1da00005
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c3c 77a61c4c [stack:15354]
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c40 77a61c7c [stack:15354]
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c44 6dc76470
/dev/ashmem/dalvik-LinearAlloc (deleted)
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c48 7325af58
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c4c 00000004
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c50 73094e88
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c54 7162b2b8
/data/data/name.antonsmirnov.android.arduinodroid/se/libclang_wrapper.so
(Java_name_antonsmirnov_clang_clang_1wrapper_getDiagnostics+76)
01-06 22:24:08.627: INFO/DEBUG(165): #01 77a61c58 6d953560
/dev/ashmem/dalvik-LinearAlloc (deleted)
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c5c 1db00005
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c60 1dd00001
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c64 73bbe468
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c68 42b0f670
/dev/ashmem/dalvik-heap (deleted)
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c6c 730a1c80
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c70 7325af58
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c74 7325b000
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c78 77a61c94 [stack:15354]
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c7c 41461b74 /system/lib/libdvm.so
(dvmPlatformInvoke+116)
01-06 22:24:08.627: INFO/DEBUG(165): #02 77a61c80 73094e7c
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c84 00000001
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c88 42b2d398
/dev/ashmem/dalvik-heap (deleted)
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c8c 746d20e2
/data/dalvik-cache/data@<a href="mailto:app@name.antonsmirnov.android.arduinodroid-1.apk">app@name.antonsmirnov.android.arduinodroid-1.apk</a>@classes.dex
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c90 42b851c8
/dev/ashmem/dalvik-heap (deleted)
01-06 22:24:08.627: INFO/DEBUG(165): 77a61c94 414908bd /system/lib/libdvm.so
(dvmCallJNIMethod(unsigned int const*, JValue*, Method const*, Thread*)+364)
01-06 22:24:08.637: INFO/DEBUG(165): memory near r0:
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c00 73094e80 7325af68 77a61c7c
4012bff1 .N.sh.%s|..w...@
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c10 761bba30 401668ff df0027ad
00000000 0..v.h.@.'......
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c20 1db00005 01d2c9db 6dc76470
7325af58 ........pd.mX.%s
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c30 00000004 71625b90 1da00005
77a61c4c .....[bq....L..w
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c40 77a61c7c 6dc76470 7325af58
00000004 |..wpd.mX.%s....
01-06 22:24:08.637: INFO/DEBUG(165): memory near r2:
01-06 22:24:08.637: INFO/DEBUG(165): 7300bfa0 00000000 00000000 00000000
00000000 ................
01-06 22:24:08.637: INFO/DEBUG(165): 7300bfb0 00000000 00000000 ffffffff
00000043 ............C...
01-06 22:24:08.637: INFO/DEBUG(165): 7300bfc0 00000001 401000f0 00000000
00000006 .......@........
01-06 22:24:08.637: INFO/DEBUG(165): 7300bfd0 0000000a 0000000a 00000008
00000000 ................
01-06 22:24:08.637: INFO/DEBUG(165): 7300bfe0 7324cb60 7348d930 7348d930
00000000 `.$s0.Hs0.Hs....
01-06 22:24:08.637: INFO/DEBUG(165): memory near r4:
01-06 22:24:08.637: INFO/DEBUG(165): 72ba7fa0 ff000000 00000000 40800000
05000101 ...........@....
01-06 22:24:08.637: INFO/DEBUG(165): 72ba7fb0 412193a0 00000003 ffffff00
00000023 ..!A........#...
01-06 22:24:08.637: INFO/DEBUG(165): 72ba7fc0 761bba30 00000000 00000000
00000000 0..v............
01-06 22:24:08.637: INFO/DEBUG(165): 72ba7fd0 72ba7f00 41800000 00000020
0000001b ...r...A .......
01-06 22:24:08.637: INFO/DEBUG(165): 72ba7fe0 72b9b000 0000d000 72b3afe0
00000001 ...r.......r....
01-06 22:24:08.637: INFO/DEBUG(165): memory near r5:
01-06 22:24:08.637: INFO/DEBUG(165): 730a1c60 00000010 00000008 00000000
00000011 ................
01-06 22:24:08.637: INFO/DEBUG(165): 730a1c70 7300a6e0 738c4150 00000010
00000022 ...sPA.s...."...
01-06 22:24:08.637: INFO/DEBUG(165): 730a1c80 72c68a78 738c9de8 73843db8
72ba7fc0 x..r...s.=.s...r
01-06 22:24:08.637: INFO/DEBUG(165): 730a1c90 7381b510 00000000 00000000
0000004b ...s........K...
01-06 22:24:08.637: INFO/DEBUG(165): 730a1ca0 00000003 00000000 72ff9c90
00000002 ...........r....
01-06 22:24:08.637: INFO/DEBUG(165): memory near r6:
01-06 22:24:08.637: INFO/DEBUG(165): 7300bfa0 00000000 00000000 00000000
00000000 ................
01-06 22:24:08.637: INFO/DEBUG(165): 7300bfb0 00000000 00000000 ffffffff
00000043 ............C...
01-06 22:24:08.637: INFO/DEBUG(165): 7300bfc0 00000001 401000f0 00000000
00000006 .......@........
01-06 22:24:08.637: INFO/DEBUG(165): 7300bfd0 0000000a 0000000a 00000008
00000000 ................
01-06 22:24:08.637: INFO/DEBUG(165): 7300bfe0 7324cb60 7348d930 7348d930
00000000 `.$s0.Hs0.Hs....
01-06 22:24:08.637: INFO/DEBUG(165): memory near r7:
01-06 22:24:08.637: INFO/DEBUG(165): 738c9dc8 0056004c 00000022 00000000
44dec000 L.V."..........D
01-06 22:24:08.637: INFO/DEBUG(165): 738c9dd8 73281ad0 43f50000 000004e8
000003b3 ..(s...C........
01-06 22:24:08.637: INFO/DEBUG(165): 738c9de8 761bbfc0 7390c688 730c20f8
738ca3d0 ...v...s. .s...s
01-06 22:24:08.637: INFO/DEBUG(165): 738c9df8 734f9480 00000000 7390c6f8
73271498 ..Os.......s..'s
01-06 22:24:08.637: INFO/DEBUG(165): 738c9e08 739e1908 00000000 00000000
00000000 ...s............
01-06 22:24:08.637: INFO/DEBUG(165): memory near r8:
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c60 1dd00001 73bbe468 42b0f670
730a1c80 ....h..sp..B...s
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c70 7325af58 7325b000 77a61c94
41461b74 X.%s..%s...wt.FA
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c80 73094e7c 00000001 42b2d398
746d20e2 |N.s.......B. mt
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c90 42b851c8 414908bd 73094e7c
746d20e0 .Q.B..IA|N.s. mt
01-06 22:24:08.637: INFO/DEBUG(165): 77a61ca0 7162b26c 7325af68 00000000
00000000 l.bqh.%s........
01-06 22:24:08.637: INFO/DEBUG(165): memory near r9:
01-06 22:24:08.637: INFO/DEBUG(165): 73094e60 00000000 6d9084c8 73094e98
7469194c .......m.N.sL.it
01-06 22:24:08.637: INFO/DEBUG(165): 73094e70 6dc76470 00000000 00000000
1dd00001 pd.m............
01-06 22:24:08.637: INFO/DEBUG(165): 73094e80 1db00005 73094ed4 746913d8
6dc7f598 .....N.s..it...m
01-06 22:24:08.637: INFO/DEBUG(165): 73094e90 7469194c 00000000 6d953560
00000000 L.it....`5.m....
01-06 22:24:08.637: INFO/DEBUG(165): 73094ea0 00000000 00000000 00000006
1da00005 ................
01-06 22:24:08.637: INFO/DEBUG(165): memory near sl:
01-06 22:24:08.637: INFO/DEBUG(165): 7325af48 00000000 00000000 00000025
00000453 ........%...S...
01-06 22:24:08.637: INFO/DEBUG(165): 7325af58 746967ec 73094e7c 6dc7f598
7098a000 .git|N.s...m...p
01-06 22:24:08.637: INFO/DEBUG(165): 7325af68 42b7cd48 00000007 77a61da8
00000000 H..B.......w....
01-06 22:24:08.637: INFO/DEBUG(165): 7325af78 77a61ddc 0000000c 00000000
41461d00 ...w..........FA
01-06 22:24:08.637: INFO/DEBUG(165): 7325af88 00000000 00000000 40e64770
73091300 ........pG.@...s
01-06 22:24:08.637: INFO/DEBUG(165): memory near fp:
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c5c 1db00005 1dd00001 73bbe468
42b0f670 ........h..sp..B
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c6c 730a1c80 7325af58 7325b000
77a61c94 ...sX.%s..%s...w
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c7c 41461b74 73094e7c 00000001
42b2d398 t.FA|N.s.......B
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c8c 746d20e2 42b851c8 414908bd
73094e7c . mt.Q.B..IA|N.s
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c9c 746d20e0 7162b26c 7325af68
00000000 . mtl.bqh.%s....
01-06 22:24:08.637: INFO/DEBUG(165): memory near sp:
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c00 73094e80 7325af68 77a61c7c
4012bff1 .N.sh.%s|..w...@
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c10 761bba30 401668ff df0027ad
00000000 0..v.h.@.'......
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c20 1db00005 01d2c9db 6dc76470
7325af58 ........pd.mX.%s
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c30 00000004 71625b90 1da00005
77a61c4c .....[bq....L..w
01-06 22:24:08.637: INFO/DEBUG(165): 77a61c40 77a61c7c 6dc76470 7325af58
00000004 |..wpd.mX.%s....
01-06 22:24:08.637: INFO/DEBUG(165): code around pc:
01-06 22:24:08.637: INFO/DEBUG(165): 75565690 ebff81e6 e3560000 15963000
e1a0000d ......V..0......
01-06 22:24:08.637: INFO/DEBUG(165): 755656a0 e1a02006 12833001 15863000
e5973020 . ...0...0.. 0..
01-06 22:24:08.637: INFO/DEBUG(165): 755656b0 e5931408 eb0152d7 e59f305c
e58d4018 .....R..\0...@..
01-06 22:24:08.637: INFO/DEBUG(165): 755656c0 e58d401c e08f3003 e2833008
e597412c .@...0...0..,A..
01-06 22:24:08.637: INFO/DEBUG(165): 755656d0 e58d3000 e5977130 ea000002
e1a01004 .0..0q..........
01-06 22:24:08.637: INFO/DEBUG(165): code around lr:
01-06 22:24:08.637: INFO/DEBUG(165): 75565674 e8800048 e580600c e5c06010
e585000c H....`...`......
01-06 22:24:08.637: INFO/DEBUG(165): 75565684 e3a00038 ebff7914 e1a06000
ebff81e6 8....y...`......
01-06 22:24:08.637: INFO/DEBUG(165): 75565694 e3560000 15963000 e1a0000d
e1a02006 ..V..0....... ..
01-06 22:24:08.637: INFO/DEBUG(165): 755656a4 12833001 15863000 e5973020
e5931408 .0...0.. 0......
01-06 22:24:08.637: INFO/DEBUG(165): 755656b4 eb0152d7 e59f305c e58d4018
e58d401c .R..\0...@...@..</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>