Issue tracker: Issues
https://tracker.crystax.net/
https://tracker.crystax.net/favicon.ico?1535920027
2016-08-05T14:11:33Z
Issue tracker
Redmine
CrystaX NDK - Bug #1466 (Closed): Can't load libcrystax.so with System.loadLibrary()
https://tracker.crystax.net/issues/1466
2016-08-05T14:11:33Z
Dmitry M.
dm@crystax.net
<pre><code>08-05 18:06:04.800 573 915 I ActivityManager: Start proc net.crystax.android.sample0c2ec5d8bc914ef9b0e9931495b4300c for activity net.crystax.android.sample0c2ec5d8bc914ef9b0e9931495b4300c/.MainActivity: pid=10750 uid=10093 gids={50093}
08-05 18:06:04.880 10750 10750 D nativebridge: start
08-05 18:06:04.880 10750 10750 F libc : Fatal signal 11 (SIGSEGV) at 0x00000048 (code=1), thread 10750 (0e9931495b4300c)
08-05 18:06:04.990 171 171 I DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-05 18:06:04.990 171 171 I DEBUG : Build fingerprint: 'google/occam/mako:4.4.4/KTU84P/1227136:user/release-keys'
08-05 18:06:04.990 171 171 I DEBUG : Revision: '11'
08-05 18:06:04.990 171 171 I DEBUG : pid: 10750, tid: 10750, name: 0e9931495b4300c >>> net.crystax.android.sample0c2ec5d8bc914ef9b0e9931495b4300c <<<
08-05 18:06:04.990 171 171 I DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000048
08-05 18:06:05.110 171 171 I DEBUG : r0 00000000 r1 485e058c r2 416bdd54 r3 00000008
08-05 18:06:05.110 171 171 I DEBUG : r4 64e05a70 r5 fffffbec r6 416f9af0 r7 be8a05d8
08-05 18:06:05.110 171 171 I DEBUG : r8 416f4e88 r9 414a8e08 sl be8a05f0 fp 416bccac
08-05 18:06:05.110 171 171 I DEBUG : ip 416bcd18 sp be8a04d0 lr 416023cf pc 416023ce cpsr 800d0030
08-05 18:06:05.110 171 171 I DEBUG : d0 6469726265766967 d1 616e62696c2f3265
08-05 18:06:05.110 171 171 I DEBUG : d2 6174737972632e2e d3 696f72646e612e73
08-05 18:06:05.110 171 171 I DEBUG : d4 656c706d61732e64 d5 3864356365326330
08-05 18:06:05.110 171 171 I DEBUG : d6 3966653431396362 d7 3431333939653062
08-05 18:06:05.110 171 171 I DEBUG : d8 00015f59eefa8c68 d9 0000000000000000
08-05 18:06:05.110 171 171 I DEBUG : d10 0000000000000000 d11 0000000000000000
08-05 18:06:05.110 171 171 I DEBUG : d12 0000000000000000 d13 0000000000000000
08-05 18:06:05.110 171 171 I DEBUG : d14 0000000000000000 d15 0000000000000000
08-05 18:06:05.110 171 171 I DEBUG : d16 473ebb30416a1d7c d17 002f006d00650074
08-05 18:06:05.110 171 171 I DEBUG : d18 0000000000000000 d19 0000000000000000
08-05 18:06:05.110 171 171 I DEBUG : d20 0000000000001900 d21 0002000200020002
08-05 18:06:05.110 171 171 I DEBUG : d22 0010001000100010 d23 0000000000000000
08-05 18:06:05.110 171 171 I DEBUG : d24 0003000000030000 d25 0003000000030000
08-05 18:06:05.110 171 171 I DEBUG : d26 0707070703030303 d27 000000300000002f
08-05 18:06:05.110 171 171 I DEBUG : d28 0001000000010000 d29 0001000000010000
08-05 18:06:05.110 171 171 I DEBUG : d30 00b6800000b38000 d31 00bc800000b98000
08-05 18:06:05.110 171 171 I DEBUG : scr 60000000
08-05 18:06:05.110 171 171 I DEBUG :
08-05 18:06:05.110 171 171 I DEBUG : backtrace:
08-05 18:06:05.110 171 171 I DEBUG : #00 pc 001593ce /system/lib/libart.so (art::JavaVMExt::LoadNativeLibrary(std::string const&, art::mirror::ClassLoader*, std::string&)+1053)
08-05 18:06:05.110 171 171 I DEBUG : #01 pc 00175b8b /system/lib/libart.so
08-05 18:06:05.110 171 171 I DEBUG : #02 pc 000a3f4c /data/dalvik-cache/system@framework@boot.oat
08-05 18:06:05.110 171 171 I DEBUG :
08-05 18:06:05.110 171 171 I DEBUG : stack:
08-05 18:06:05.110 171 171 I DEBUG : be8a0490 402633ec /system/lib/libstlport.so
08-05 18:06:05.110 171 171 I DEBUG : be8a0494 4025bbcb /system/lib/libstlport.so (std::__node_alloc_impl::_M_allocate(unsigned int&)+70)
08-05 18:06:05.110 171 171 I DEBUG : be8a0498 0000005d
08-05 18:06:05.110 171 171 I DEBUG : be8a049c 416bfc60 [anon:libc_malloc]
08-05 18:06:05.110 171 171 I DEBUG : be8a04a0 473ebb10 [anon:libc_malloc]
08-05 18:06:05.110 171 171 I DEBUG : be8a04a4 416bfcbd [anon:libc_malloc]
08-05 18:06:05.110 171 171 I DEBUG : be8a04a8 416bfcc0 [anon:libc_malloc]
08-05 18:06:05.110 171 171 I DEBUG : be8a04ac 414eaed7 /system/lib/libart.so
08-05 18:06:05.110 171 171 I DEBUG : be8a04b0 00000060
08-05 18:06:05.120 171 171 I DEBUG : be8a04b4 be8a05f0 [stack]
08-05 18:06:05.120 171 171 I DEBUG : be8a04b8 416bccac /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a04bc 416c4fb8 [anon:libc_malloc]
08-05 18:06:05.120 171 171 I DEBUG : be8a04c0 64e05a70 /dev/ashmem/dalvik-alloc space (deleted)
08-05 18:06:05.120 171 171 I DEBUG : be8a04c4 473ebb10 [anon:libc_malloc]
08-05 18:06:05.120 171 171 I DEBUG : be8a04c8 416a1d7c /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a04cc 473ebb30 [anon:libc_malloc]
08-05 18:06:05.120 171 171 I DEBUG : #00 be8a04d0 416b49c0 /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a04d4 416b49f8 /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a04d8 416fc200 [anon:libc_malloc]
08-05 18:06:05.120 171 171 I DEBUG : be8a04dc 6008ec90 /data/dalvik-cache/system@framework@boot.art
08-05 18:06:05.120 171 171 I DEBUG : be8a04e0 400a5384
08-05 18:06:05.120 171 171 I DEBUG : be8a04e4 416b4998 /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a04e8 416b49c0 /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a04ec 416b49e0 /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a04f0 416f4dc0 [anon:libc_malloc]
08-05 18:06:05.120 171 171 I DEBUG : be8a04f4 64e05a70 /dev/ashmem/dalvik-alloc space (deleted)
08-05 18:06:05.120 171 171 I DEBUG : be8a04f8 416bdd58 /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a04fc 416bdb80 /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a0500 44c00c90
08-05 18:06:05.120 171 171 I DEBUG : be8a0504 416bdce0 /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a0508 473ebb10 [anon:libc_malloc]
08-05 18:06:05.120 171 171 I DEBUG : be8a050c 473ebb30 [anon:libc_malloc]
08-05 18:06:05.120 171 171 I DEBUG : ........ ........
08-05 18:06:05.120 171 171 I DEBUG : #01 be8a0578 0000000b
08-05 18:06:05.120 171 171 I DEBUG : be8a057c 6243ddfd /data/dalvik-cache/system@framework@boot.oat
08-05 18:06:05.120 171 171 I DEBUG : be8a0580 601c4248 /data/dalvik-cache/system@framework@boot.art
08-05 18:06:05.120 171 171 I DEBUG : be8a0584 80000000
08-05 18:06:05.120 171 171 I DEBUG : be8a0588 0000000c
08-05 18:06:05.120 171 171 I DEBUG : be8a058c 414a8e18 [anon:libc_malloc]
08-05 18:06:05.120 171 171 I DEBUG : be8a0590 416f4dc0 [anon:libc_malloc]
08-05 18:06:05.120 171 171 I DEBUG : be8a0594 60019c68 /data/dalvik-cache/system@framework@boot.art
08-05 18:06:05.120 171 171 I DEBUG : be8a0598 be8a0608 [stack]
08-05 18:06:05.120 171 171 I DEBUG : be8a059c 00000011
08-05 18:06:05.120 171 171 I DEBUG : be8a05a0 00000000
08-05 18:06:05.120 171 171 I DEBUG : be8a05a4 400a5384
08-05 18:06:05.120 171 171 I DEBUG : be8a05a8 00000001
08-05 18:06:05.120 171 171 I DEBUG : be8a05ac 416a670c /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a05b0 416a6734 /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : be8a05b4 416a6754 /system/lib/libart.so
08-05 18:06:05.120 171 171 I DEBUG : ........ ........
08-05 18:06:05.120 171 171 I DEBUG : #02 be8a0650 be8a0678 [stack]
08-05 18:06:05.120 171 171 I DEBUG : be8a0654 64e062a0 /dev/ashmem/dalvik-alloc space (deleted)
08-05 18:06:05.120 171 171 I DEBUG : be8a0658 64e06010 /dev/ashmem/dalvik-alloc space (deleted)
08-05 18:06:05.120 171 171 I DEBUG : be8a065c 623ad64f /data/dalvik-cache/system@framework@boot.oat
08-05 18:06:05.120 171 171 I DEBUG : be8a0660 600b3f80 /data/dalvik-cache/system@framework@boot.art
08-05 18:06:05.120 171 171 I DEBUG : be8a0664 00000004
08-05 18:06:05.120 171 171 I DEBUG : be8a0668 be8a09c4 [stack]
08-05 18:06:05.120 171 171 I DEBUG : be8a066c 600b3d00 /data/dalvik-cache/system@framework@boot.art
08-05 18:06:05.120 171 171 I DEBUG : be8a0670 64e0b0f0 /dev/ashmem/dalvik-alloc space (deleted)
08-05 18:06:05.120 171 171 I DEBUG : be8a0674 64e05a70 /dev/ashmem/dalvik-alloc space (deleted)
08-05 18:06:05.120 171 171 I DEBUG : be8a0678 64e0b440 /dev/ashmem/dalvik-alloc space (deleted)
08-05 18:06:05.120 171 171 I DEBUG : be8a067c 00000007
08-05 18:06:05.120 171 171 I DEBUG : be8a0680 600b3e40 /data/dalvik-cache/system@framework@boot.art
08-05 18:06:05.120 171 171 I DEBUG : be8a0684 64e05a70 /dev/ashmem/dalvik-alloc space (deleted)
08-05 18:06:05.120 171 171 I DEBUG : be8a0688 64e05a70 /dev/ashmem/dalvik-alloc space (deleted)
08-05 18:06:05.120 171 171 I DEBUG : be8a068c 6467b2d8 /dev/ashmem/dalvik-zygote space (deleted)
08-05 18:06:05.120 171 171 I DEBUG :
08-05 18:06:05.120 171 171 I DEBUG : memory near r1:
08-05 18:06:05.120 171 171 I DEBUG : 485e056c 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e057c 00000000 4413a000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e058c 485e058c 485e0544 00000002 be8a03ec
08-05 18:06:05.120 171 171 I DEBUG : 485e059c 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e05ac 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e05bc 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e05cc 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e05dc 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e05ec 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e05fc 00000000 00000000 00000000 00000001
08-05 18:06:05.120 171 171 I DEBUG : 485e060c 48c14028 00000001 48c03050 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e061c 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e062c 00000000 00000001 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e063c 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e064c 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 485e065c 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG :
08-05 18:06:05.120 171 171 I DEBUG : memory near r2:
08-05 18:06:05.120 171 171 I DEBUG : 416bdd34 60000030 600b6248 60019c68 6007b510
08-05 18:06:05.120 171 171 I DEBUG : 416bdd44 00000000 4016b159 0000023d 414a8008
08-05 18:06:05.120 171 171 I DEBUG : 416bdd54 0000000f 00000001 416c3660 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416bdd64 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416bdd74 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416bdd84 00000000 00000000 416fca48 416fcb60
08-05 18:06:05.120 171 171 I DEBUG : 416bdd94 416fcae8 416fc9f8 416fcb38 416fca70
08-05 18:06:05.120 171 171 I DEBUG : 416bdda4 416fcac0 416fca20 416fca98 416fcb10
08-05 18:06:05.120 171 171 I DEBUG : 416bddb4 416fcb88 416fcbb0 00000001 0000000c
08-05 18:06:05.120 171 171 I DEBUG : 416bddc4 600b3f80 0010011e 600c2c08 001000f6
08-05 18:06:05.120 171 171 I DEBUG : 416bddd4 001000ea 600c1808 600bd7c0 600b5a88
08-05 18:06:05.120 171 171 I DEBUG : 416bdde4 600bcbd8 00100116 600bd000 60199bc8
08-05 18:06:05.120 171 171 I DEBUG : 416bddf4 001000e6 600c8400 60199bb0 600bee28
08-05 18:06:05.120 171 171 I DEBUG : 416bde04 00100126 600de4b0 00100106 600c5390
08-05 18:06:05.120 171 171 I DEBUG : 416bde14 600eb500 600bd850 001000d6 001000e2
08-05 18:06:05.120 171 171 I DEBUG : 416bde24 001000ce 600beca0 0010010e 00000000
08-05 18:06:05.120 171 171 I DEBUG :
08-05 18:06:05.120 171 171 I DEBUG : memory near r4:
08-05 18:06:05.120 171 171 I DEBUG : 64e05a50 60688108 00000000 00000204 00000013
08-05 18:06:05.120 171 171 I DEBUG : 64e05a60 60688108 00000000 00000204 00000023
08-05 18:06:05.120 171 171 I DEBUG : 64e05a70 60082038 00000000 64e05a90 64687610
08-05 18:06:05.120 171 171 I DEBUG : 64e05a80 64e05b00 64e05b18 00000000 0000003b
08-05 18:06:05.120 171 171 I DEBUG : 64e05a90 60131b70 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 64e05aa0 00000000 00000000 00000000 64e0a368
08-05 18:06:05.120 171 171 I DEBUG : 64e05ab0 00000000 00000001 00000001 00000003
08-05 18:06:05.120 171 171 I DEBUG : 64e05ac0 00000000 0000003b 60131b70 00000000
08-05 18:06:05.120 171 171 I DEBUG : 64e05ad0 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 64e05ae0 00000000 60a7dc40 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 64e05af0 00000000 ffffffff 00000000 0000001b
08-05 18:06:05.120 171 171 I DEBUG : 64e05b00 60124e80 00000000 64e05ac8 64e05b00
08-05 18:06:05.120 171 171 I DEBUG : 64e05b10 00000000 00000023 60081760 00000000
08-05 18:06:05.120 171 171 I DEBUG : 64e05b20 64e05a70 64e05f60 00000000 64e062a0
08-05 18:06:05.120 171 171 I DEBUG : 64e05b30 00000000 0000001b 6011cae8 00000000
08-05 18:06:05.120 171 171 I DEBUG : 64e05b40 00000000 60a87c00 00000000 0000001b
08-05 18:06:05.120 171 171 I DEBUG :
08-05 18:06:05.120 171 171 I DEBUG : memory near r6:
08-05 18:06:05.120 171 171 I DEBUG : 416f9ad0 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f9ae0 00000000 00000000 cee28724 00000283
08-05 18:06:05.120 171 171 I DEBUG : 416f9af0 00010000 00000000 41104070 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f9b00 be0a6000 be8a07b0 00000000 be8a0660
08-05 18:06:05.120 171 171 I DEBUG : 416f9b10 00000000 416f9df0 00000000 6467ead0
08-05 18:06:05.120 171 171 I DEBUG : 416f9b20 00000000 be0a2000 00800000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f9b30 00000000 00000000 00000001 000029fe
08-05 18:06:05.120 171 171 I DEBUG : 416f9b40 00000000 00000000 ffffffff 416f4f70
08-05 18:06:05.120 171 171 I DEBUG : 416f9b50 416f4fa8 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f9b60 00000000 be8a0664 00000000 00001ff7
08-05 18:06:05.120 171 171 I DEBUG : 416f9b70 0066e078 00000f11 00033520 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f9b80 00000006 00183774 00000000 646875f0
08-05 18:06:05.120 171 171 I DEBUG : 416f9b90 44154cd8 00000000 00000000 416f9d70
08-05 18:06:05.120 171 171 I DEBUG : 416f9ba0 00000000 00000000 00000000 416f0fb0
08-05 18:06:05.120 171 171 I DEBUG : 416f9bb0 416bf698 00000000 40042154 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f9bc0 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG :
08-05 18:06:05.120 171 171 I DEBUG : memory near r7:
08-05 18:06:05.120 171 171 I DEBUG : be8a05b8 416a6734 416a676c 416a6780 00000001
08-05 18:06:05.120 171 171 I DEBUG : be8a05c8 64e0b258 64e0b440 64e0b258 0000000f
08-05 18:06:05.120 171 171 I DEBUG : be8a05d8 00000000 62408e89 6009ef50 00000057
08-05 18:06:05.120 171 171 I DEBUG : be8a05e8 be8a05d8 be8a05d8 416bfcc0 64e0b258
08-05 18:06:05.120 171 171 I DEBUG : be8a05f8 00000010 00000057 416bfcbd 416bfc60
08-05 18:06:05.120 171 171 I DEBUG : be8a0608 64e06268 00000000 64e062a0 64e0b258
08-05 18:06:05.120 171 171 I DEBUG : be8a0618 64e0b258 0000003a 64e062a0 3237c138
08-05 18:06:05.120 171 171 I DEBUG : be8a0628 00000003 000002f2 64e05a70 64e05a70
08-05 18:06:05.120 171 171 I DEBUG : be8a0638 6467b2d8 600b3e40 416f9af0 64e0b440
08-05 18:06:05.120 171 171 I DEBUG : be8a0648 64e0b0f0 62434f50 be8a0678 64e062a0
08-05 18:06:05.120 171 171 I DEBUG : be8a0658 64e06010 623ad64f 600b3f80 00000004
08-05 18:06:05.120 171 171 I DEBUG : be8a0668 be8a09c4 600b3d00 64e0b0f0 64e05a70
08-05 18:06:05.120 171 171 I DEBUG : be8a0678 64e0b440 00000007 600b3e40 64e05a70
08-05 18:06:05.120 171 171 I DEBUG : be8a0688 64e05a70 6467b2d8 600b3e40 64e0b440
08-05 18:06:05.120 171 171 I DEBUG : be8a0698 64e0b0f0 62434a83 600b3e40 64e0b0f0
08-05 18:06:05.120 171 171 I DEBUG : be8a06a8 64e05a70 64e0b440 6007eb28 64e05b18
08-05 18:06:05.120 171 171 I DEBUG :
08-05 18:06:05.120 171 171 I DEBUG : memory near r8:
08-05 18:06:05.120 171 171 I DEBUG : 416f4e68 00000000 00000000 00000117 416f6998
08-05 18:06:05.120 171 171 I DEBUG : 416f4e78 00000002 416f71a0 00000200 0000c800
08-05 18:06:05.120 171 171 I DEBUG : 416f4e88 416b9970 0000000a 416a0070 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f4e98 00000001 00000000 000029fe 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f4ea8 00000000 00000000 00000001 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f4eb8 416c4fb8 416baab4 416b9970 00000007
08-05 18:06:05.120 171 171 I DEBUG : 416f4ec8 416a0090 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f4ed8 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f4ee8 00000000 00000000 00000000 416f4f28
08-05 18:06:05.120 171 171 I DEBUG : 416f4ef8 00000003 416f99a8 00000010 0000c800
08-05 18:06:05.120 171 171 I DEBUG : 416f4f08 00000001 416a00b8 416f4ec0 00000000
08-05 18:06:05.120 171 171 I DEBUG : 416f4f18 00000000 00000000 00000000 0000004b
08-05 18:06:05.120 171 171 I DEBUG : 416f4f28 d1d1d1d1 d1d1d1d1 d1d1d1d1 d1d1d1d1
08-05 18:06:05.120 171 171 I DEBUG : 416f4f38 d1d1d1d1 d1d1d1d1 d1d1d1d1 d1d1d1d1
08-05 18:06:05.120 171 171 I DEBUG : 416f4f48 d1d1d1d1 d1d1d1d1 d1d1d1d1 d1d1d1d1
08-05 18:06:05.120 171 171 I DEBUG : 416f4f58 d1d1d1d1 d1d1d1d1 d1d1d1d1 d1d1d1d1
08-05 18:06:05.120 171 171 I DEBUG :
08-05 18:06:05.120 171 171 I DEBUG : memory near r9:
08-05 18:06:05.120 171 171 I DEBUG : 414a8de8 00000000 00000002 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 414a8df8 00000000 00000000 00000000 00000033
08-05 18:06:05.120 171 171 I DEBUG : 414a8e08 416b99b0 00000017 416a2138 00000000
08-05 18:06:05.120 171 171 I DEBUG : 414a8e18 00000001 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 414a8e28 00000000 00000000 00000000 0000003b
08-05 18:06:05.120 171 171 I DEBUG : 414a8e38 416b9970 00000014 416a2148 00000000
08-05 18:06:05.120 171 171 I DEBUG : 414a8e48 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 414a8e58 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 414a8e68 00000000 0000003b 416b9970 0000000e
08-05 18:06:05.120 171 171 I DEBUG : 414a8e78 416a2160 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 414a8e88 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 414a8e98 00000000 00000000 00000000 0000003b
08-05 18:06:05.120 171 171 I DEBUG : 414a8ea8 416b9970 00000002 416a2174 00000000
08-05 18:06:05.120 171 171 I DEBUG : 414a8eb8 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 414a8ec8 00000000 00000000 00000000 00000000
08-05 18:06:05.120 171 171 I DEBUG : 414a8ed8 00000000 0000003b 416b9970 00000010
08-05 18:06:05.120 171 171 I DEBUG :
08-05 18:06:05.120 171 171 I DEBUG : memory near sl:
08-05 18:06:05.120 171 171 I DEBUG : be8a05d0 64e0b258 0000000f 00000000 62408e89
08-05 18:06:05.120 171 171 I DEBUG : be8a05e0 6009ef50 00000057 be8a05d8 be8a05d8
08-05 18:06:05.130 171 171 I DEBUG : be8a05f0 416bfcc0 64e0b258 00000010 00000057
08-05 18:06:05.130 171 171 I DEBUG : be8a0600 416bfcbd 416bfc60 64e06268 00000000
08-05 18:06:05.130 171 171 I DEBUG : be8a0610 64e062a0 64e0b258 64e0b258 0000003a
08-05 18:06:05.130 171 171 I DEBUG : be8a0620 64e062a0 3237c138 00000003 000002f2
08-05 18:06:05.130 171 171 I DEBUG : be8a0630 64e05a70 64e05a70 6467b2d8 600b3e40
08-05 18:06:05.130 171 171 I DEBUG : be8a0640 416f9af0 64e0b440 64e0b0f0 62434f50
08-05 18:06:05.130 171 171 I DEBUG : be8a0650 be8a0678 64e062a0 64e06010 623ad64f
08-05 18:06:05.130 171 171 I DEBUG : be8a0660 600b3f80 00000004 be8a09c4 600b3d00
08-05 18:06:05.130 171 171 I DEBUG : be8a0670 64e0b0f0 64e05a70 64e0b440 00000007
08-05 18:06:05.130 171 171 I DEBUG : be8a0680 600b3e40 64e05a70 64e05a70 6467b2d8
08-05 18:06:05.130 171 171 I DEBUG : be8a0690 600b3e40 64e0b440 64e0b0f0 62434a83
08-05 18:06:05.130 171 171 I DEBUG : be8a06a0 600b3e40 64e0b0f0 64e05a70 64e0b440
08-05 18:06:05.130 171 171 I DEBUG : be8a06b0 6007eb28 64e05b18 64e0a1f0 4025ba6f
08-05 18:06:05.130 171 171 I DEBUG : be8a06c0 00000000 6467b2d8 600b46f0 64e0a1f0
08-05 18:06:05.130 171 171 I DEBUG :
08-05 18:06:05.130 171 171 I DEBUG : memory near fp:
08-05 18:06:05.130 171 171 I DEBUG : 416bcc8c 4167d1d9 414e94c1 414e8c91 414e8cf1
08-05 18:06:05.130 171 171 I DEBUG : 416bcc9c 414e8cd1 414e8d31 414e8cb1 414e8d11
08-05 18:06:05.130 171 171 I DEBUG : 416bccac 00000000 00000000 00000000 4007f799
08-05 18:06:05.130 171 171 I DEBUG : 416bccbc 4007f6a5 40078fcd 40078978 400b2927
08-05 18:06:05.130 171 171 I DEBUG : 416bcccc 4009265c 400b2931 40079f85 40247cc5
08-05 18:06:05.130 171 171 I DEBUG : 416bccdc 400b2919 4024e3ed 40247c2d 400790dc
08-05 18:06:05.130 171 171 I DEBUG : 416bccec 4025bbe1 40247f41 4024e367 40247c73
08-05 18:06:05.130 171 171 I DEBUG : 416bccfc 4024e37b 4024e3fd 4024e437 4024661b
08-05 18:06:05.130 171 171 I DEBUG : 416bcd0c 4025bbdd 4024f765 4006a415 40064900
08-05 18:06:05.130 171 171 I DEBUG : 416bcd1c 40068ef5 40090f07 4007fab1 4004d2bd
08-05 18:06:05.130 171 171 I DEBUG : 416bcd2c 400773f8 4007d109 400772dc 40078f50
08-05 18:06:05.130 171 171 I DEBUG : 416bcd3c 4006b449 40076d5c 40078b70 40090f0f
08-05 18:06:05.130 171 171 I DEBUG : 416bcd4c 4007a28c 4007f535 400b2919 400b2927
08-05 18:06:05.130 171 171 I DEBUG : 416bcd5c 40091810 400925c8 400ca2c4 40077324
08-05 18:06:05.130 171 171 I DEBUG : 416bcd6c 400772fc 40077abc 4007770c 4007776c
08-05 18:06:05.130 171 171 I DEBUG : 416bcd7c 400772bc 40077390 40084745 40077480
08-05 18:06:05.130 171 171 I DEBUG :
08-05 18:06:05.130 171 171 I DEBUG : memory near ip:
08-05 18:06:05.130 171 171 I DEBUG : 416bccf8 40247c73 4024e37b 4024e3fd 4024e437
08-05 18:06:05.130 171 171 I DEBUG : 416bcd08 4024661b 4025bbdd 4024f765 4006a415
08-05 18:06:05.130 171 171 I DEBUG : 416bcd18 40064900 40068ef5 40090f07 4007fab1
08-05 18:06:05.130 171 171 I DEBUG : 416bcd28 4004d2bd 400773f8 4007d109 400772dc
08-05 18:06:05.130 171 171 I DEBUG : 416bcd38 40078f50 4006b449 40076d5c 40078b70
08-05 18:06:05.130 171 171 I DEBUG : 416bcd48 40090f0f 4007a28c 4007f535 400b2919
08-05 18:06:05.130 171 171 I DEBUG : 416bcd58 400b2927 40091810 400925c8 400ca2c4
08-05 18:06:05.130 171 171 I DEBUG : 416bcd68 40077324 400772fc 40077abc 4007770c
08-05 18:06:05.130 171 171 I DEBUG : 416bcd78 4007776c 400772bc 40077390 40084745
08-05 18:06:05.130 171 171 I DEBUG : 416bcd88 40077480 40069c5d 40077440 4024661b
08-05 18:06:05.130 171 171 I DEBUG : 416bcd98 401f9c00 4007a283 4007a125 40077600
08-05 18:06:05.130 171 171 I DEBUG : 416bcda8 40077adc 40079138 40082c75 4006afb7
08-05 18:06:05.130 171 171 I DEBUG : 416bcdb8 40077194 4007b2dd 40077994 4006c091
08-05 18:06:05.130 171 171 I DEBUG : 416bcdc8 40078840 4004cc79 40081e8d 400865a9
08-05 18:06:05.130 171 171 I DEBUG : 416bcdd8 40068ac5 4009117b 400826a1 400773b0
08-05 18:06:05.130 171 171 I DEBUG : 416bcde8 400912b4 4009135c 4007c52d 4006aced
08-05 18:06:05.130 171 171 I DEBUG :
08-05 18:06:05.130 171 171 I DEBUG : memory near sp:
08-05 18:06:05.130 171 171 I DEBUG : be8a04b0 00000060 be8a05f0 416bccac 416c4fb8
08-05 18:06:05.130 171 171 I DEBUG : be8a04c0 64e05a70 473ebb10 416a1d7c 473ebb30
08-05 18:06:05.130 171 171 I DEBUG : be8a04d0 416b49c0 416b49f8 416fc200 6008ec90
08-05 18:06:05.130 171 171 I DEBUG : be8a04e0 400a5384 416b4998 416b49c0 416b49e0
08-05 18:06:05.130 171 171 I DEBUG : be8a04f0 416f4dc0 64e05a70 416bdd58 416bdb80
08-05 18:06:05.130 171 171 I DEBUG : be8a0500 44c00c90 416bdce0 473ebb10 473ebb30
08-05 18:06:05.130 171 171 I DEBUG : be8a0510 473ebb60 416a03ec 416bccac 4168c9e0
08-05 18:06:05.130 171 171 I DEBUG : be8a0520 be8a0674 416bccac 0000005f be8a0558
08-05 18:06:05.130 171 171 I DEBUG : be8a0530 416bfc60 be8a0558 402633ec 4025bbcb
08-05 18:06:05.130 171 171 I DEBUG : be8a0540 0000005d 473eba28 be8a05f0 473eba85
08-05 18:06:05.130 171 171 I DEBUG : be8a0550 416bfc60 be8a05f0 416f9df0 473eba28
08-05 18:06:05.130 171 171 I DEBUG : be8a0560 be8a0670 be8a05d8 64e05a70 416bccac
08-05 18:06:05.130 171 171 I DEBUG : be8a0570 416f9af0 4161eb8f 0000000b 6243ddfd
08-05 18:06:05.130 171 171 I DEBUG : be8a0580 601c4248 80000000 0000000c 414a8e18
08-05 18:06:05.130 171 171 I DEBUG : be8a0590 416f4dc0 60019c68 be8a0608 00000011
08-05 18:06:05.130 171 171 I DEBUG : be8a05a0 00000000 400a5384 00000001 416a670c
08-05 18:06:05.130 171 171 I DEBUG :
08-05 18:06:05.130 171 171 I DEBUG : code around pc:
08-05 18:06:05.130 171 171 I DEBUG : 416023ac 98101838 9a0f4479 f8f0f6ea 780b990a
08-05 18:06:05.130 171 171 I DEBUG : 416023bc b1334618 57c8f8df 2005f85b f6e56810
08-05 18:06:05.130 171 171 I DEBUG : 416023cc 6c83ef4e 9c0eaa20 98084651 f8422500
08-05 18:06:05.130 171 171 I DEBUG : 416023dc f8d04d2c 662300f8 f7ff6665 4631fd7d
08-05 18:06:05.130 171 171 I DEBUG : 416023ec f6ea4640 990bfd77 2a00798a 82e9f040
08-05 18:06:05.130 171 171 I DEBUG : 416023fc 17e8f8df 4479980c e9b2f6e6 28004605
08-05 18:06:05.130 171 171 I DEBUG : 4160240c 8130f000 f8d68873 9909009c 2c01b29c
08-05 18:06:05.130 171 171 I DEBUG : 4160241c f8c6900c d059109c 80722211 79919a0b
08-05 18:06:05.130 171 171 I DEBUG : 4160242c f0402900 2100843e 47a89808 90082c11
08-05 18:06:05.130 171 171 I DEBUG : 4160243c 2c01d005 b2a4bf1c f0008074 990880bc
08-05 18:06:05.130 171 171 I DEBUG : 4160244c 1c4d9c0c 409cf8c6 812df000 23022004
08-05 18:06:05.130 171 171 I DEBUG : 4160245c 0001f2c0 0301f2c0 bf184281 d0334299
08-05 18:06:05.130 171 171 I DEBUG : 4160246c f2c02206 42910201 f8dfd02e 46381774
08-05 18:06:05.130 171 171 I DEBUG : 4160247c 2014f8da 44792400 f6eb9b08 990bffb7
08-05 18:06:05.130 171 171 I DEBUG : 4160248c 2d00798d 8352f040 781d9b0a f8dfb13d
08-05 18:06:05.130 171 171 I DEBUG : 4160249c f85b06f0 68102000 eee0f6e5 980f4605
08-05 18:06:05.130 171 171 I DEBUG :
08-05 18:06:05.130 171 171 I DEBUG : code around lr:
08-05 18:06:05.130 171 171 I DEBUG : 416023ac 98101838 9a0f4479 f8f0f6ea 780b990a
08-05 18:06:05.130 171 171 I DEBUG : 416023bc b1334618 57c8f8df 2005f85b f6e56810
08-05 18:06:05.130 171 171 I DEBUG : 416023cc 6c83ef4e 9c0eaa20 98084651 f8422500
08-05 18:06:05.130 171 171 I DEBUG : 416023dc f8d04d2c 662300f8 f7ff6665 4631fd7d
08-05 18:06:05.130 171 171 I DEBUG : 416023ec f6ea4640 990bfd77 2a00798a 82e9f040
08-05 18:06:05.130 171 171 I DEBUG : 416023fc 17e8f8df 4479980c e9b2f6e6 28004605
08-05 18:06:05.130 171 171 I DEBUG : 4160240c 8130f000 f8d68873 9909009c 2c01b29c
08-05 18:06:05.130 171 171 I DEBUG : 4160241c f8c6900c d059109c 80722211 79919a0b
08-05 18:06:05.130 171 171 I DEBUG : 4160242c f0402900 2100843e 47a89808 90082c11
08-05 18:06:05.130 171 171 I DEBUG : 4160243c 2c01d005 b2a4bf1c f0008074 990880bc
08-05 18:06:05.130 171 171 I DEBUG : 4160244c 1c4d9c0c 409cf8c6 812df000 23022004
08-05 18:06:05.130 171 171 I DEBUG : 4160245c 0001f2c0 0301f2c0 bf184281 d0334299
08-05 18:06:05.130 171 171 I DEBUG : 4160246c f2c02206 42910201 f8dfd02e 46381774
08-05 18:06:05.130 171 171 I DEBUG : 4160247c 2014f8da 44792400 f6eb9b08 990bffb7
08-05 18:06:05.130 171 171 I DEBUG : 4160248c 2d00798d 8352f040 781d9b0a f8dfb13d
08-05 18:06:05.130 171 171 I DEBUG : 4160249c f85b06f0 68102000 eee0f6e5 980f4605
08-05 18:06:05.220 573 601 I BootReceiver: Copying /data/tombstones/tombstone_02 to DropBox (SYSTEM_TOMBSTONE)
08-05 18:06:05.230 573 10777 W ActivityManager: Force finishing activity net.crystax.android.sample0c2ec5d8bc914ef9b0e9931495b4300c/.MainActivity
08-05 18:06:05.280 174 174 I art : Process 10750 terminated by signal (11)
</code></pre>
CrystaX NDK - Bug #1459 (Closed): Reading /proc/<uid>/auxv fails if android:debuggable=false in A...
https://tracker.crystax.net/issues/1459
2016-08-02T15:58:06Z
Dmitry M.
dm@crystax.net
CrystaX NDK - Bug #1443 (Closed): Public build script ndk-crystax-r10-build.sh is not updated to ...
https://tracker.crystax.net/issues/1443
2016-07-18T16:46:00Z
Dmitry M.
dm@crystax.net
<p>This one: <a href="https://www.crystax.net/download/ndk-crystax-r10-build.sh">https://www.crystax.net/download/ndk-crystax-r10-build.sh</a></p>
CrystaX NDK - Bug #1436 (Closed): gethostname() always returns 'localhost'
https://tracker.crystax.net/issues/1436
2016-07-12T21:37:02Z
Dmitry M.
dm@crystax.net
CrystaX NDK - Bug #1413 (Closed): 'rm' from GNU coreutils can't remove existing file without '-f'...
https://tracker.crystax.net/issues/1413
2016-06-06T19:14:37Z
Dmitry M.
dm@crystax.net
CrystaX NDK - Bug #1263 (Closed): [clang][atomics] Clang can't compile call of __atomic_add_fetch...
https://tracker.crystax.net/issues/1263
2016-02-11T15:39:04Z
Dmitry M.
dm@crystax.net
<pre><code class="cpp syntaxhl" data-language="cpp"><span class="cp">#include</span> <span class="cpf"><atomic></span><span class="cp">
#include</span> <span class="cpf"><stdint.h></span><span class="cp">
</span>
<span class="kt">int</span> <span class="nf">main</span><span class="p">()</span>
<span class="p">{</span>
<span class="n">std</span><span class="o">::</span><span class="n">atomic</span><span class="o"><</span><span class="kt">uint64_t</span><span class="o">></span> <span class="n">a</span><span class="p">(</span><span class="mi">0</span><span class="p">);</span>
<span class="k">return</span> <span class="o">++</span><span class="n">a</span> <span class="o">==</span> <span class="mi">1</span> <span class="o">?</span> <span class="mi">0</span> <span class="o">:</span> <span class="mi">1</span><span class="p">;</span>
<span class="p">}</span>
</code></pre>
<p>This code compiles by gcc without any problems. However, clang fails to compile it for targets <code>armeabi</code>, <code>x86</code> and <code>mips</code> (but compiles for <code>armeabi-v7a</code> and <code>armeabi-v7a-hard</code>, which are 32-bit too!):</p>
<pre><code>$NDK/toolchains/llvm-3.7/prebuilt/linux-x86_64/bin/clang++ -MMD -MP -MF ./obj/local/x86/objs/test/test.o.d \
-gcc-toolchain $NDK/toolchains/x86-5/prebuilt/linux-x86_64 -target i686-none-linux-android \
-ffunction-sections -funwind-tables -fstack-protector-strong -fPIC \
-Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-exceptions -fno-rtti \
-O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing \
-I$NDK/sources/cxx-stl/gnu-libstdc++/5/include \
-I$NDK/sources/cxx-stl/gnu-libstdc++/5/libs/x86/include \
-I$NDK/sources/cxx-stl/gnu-libstdc++/5/include/backward \
-Ijni \
-DANDROID -Wa,--noexecstack -Wformat -Werror=format-security \
-fPIE -fexceptions -frtti -Wall -Wextra -Werror -std=gnu++11 \
-c -I$NDK/sources/crystax/include -I$NDK/platforms/android-9/arch-x86/usr/include \
jni/test.cpp -o ./obj/local/x86/objs/test/test.o
In file included from jni/test.cpp:1:
In file included from $NDK/sources/cxx-stl/gnu-libstdc++/5/include/atomic:41:
$NDK/sources/cxx-stl/gnu-libstdc++/5/include/bits/atomic_base.h:296:16: error: cannot compile this atomic library call yet
{ return __atomic_add_fetch(&_M_i, 1, memory_order_seq_cst); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
</code></pre>
CrystaX NDK - Bug #1190 (Closed): Own malloc() implementation conflicts with Bionic's one
https://tracker.crystax.net/issues/1190
2015-12-17T20:56:24Z
Dmitry M.
dm@crystax.net
<p>Currently, we have two malloc() implementations - one in Bionic, and one in libcrystax. This cause sporadic crashes, when memory allocated in one implementation somehow passed to the application part, where another implementation used, and then get deallocated.</p>
<p>This is artefact, which is left there by mistake, so we should completely remove own malloc() implementation until we completely get rid of Google's Bionic.</p>
CrystaX NDK - Bug #1186 (Closed): LOCAL_OBJCFLAGS are not getting cleared
https://tracker.crystax.net/issues/1186
2015-12-15T22:33:45Z
Dmitry M.
dm@crystax.net
CrystaX NDK - Bug #1130 (Closed): Build of target python failed on OS X
https://tracker.crystax.net/issues/1130
2015-11-09T20:22:03Z
Dmitry M.
dm@crystax.net
<p>Install python3.5-armeabi interpreter in /Volumes/Source-HD/src/ndk/platform/ndk/sources/python/3.5/libs/armeabi</p>
<a name="COMMAND-cp-fpH-tmpndk-zuavtmpbuild-32034build-pythonarmeabiinterpreterobjlocalarmeabipython-VolumesSource-HDsrcndkplatformndksourcespython35libsarmeabi"></a>
<h2 >COMMAND: cp -fpH /tmp/ndk-zuav/tmp/build-32034/build-python/armeabi/interpreter/obj/local/armeabi/python /Volumes/Source-HD/src/ndk/platform/ndk/sources/python/3.5/libs/armeabi<a href="#COMMAND-cp-fpH-tmpndk-zuavtmpbuild-32034build-pythonarmeabiinterpreterobjlocalarmeabipython-VolumesSource-HDsrcndkplatformndksourcespython35libsarmeabi" class="wiki-anchor">¶</a></h2>
<p>Install python3.5-armeabi stdlib as /Volumes/Source-HD/src/ndk/platform/ndk/sources/python/3.5/libs/armeabi/stdlib.zip</p>
<a name="COMMAND-VolumesSource-HDsrcndkplatformndkprebuiltdarwin-x86_64binpython-VolumesSource-HDsrcndkplatformndkbuildtoolsbuild-target-pythonbuild_stdlibpy-pysrc-root-VolumesSource-HDsrcndkvendorpythonpython-35-output-zip-VolumesSource-HDsrcndkplatformndksourcespython35libsarmeabistdlibzip"></a>
<h2 >COMMAND: /Volumes/Source-HD/src/ndk/platform/ndk/prebuilt/darwin-x86_64/bin/python /Volumes/Source-HD/src/ndk/platform/ndk/build/tools/build-target-python/build_stdlib.py --pysrc-root /Volumes/Source-HD/src/ndk/vendor/python/python-3.5 --output-zip /Volumes/Source-HD/src/ndk/platform/ndk/sources/python/3.5/libs/armeabi/stdlib.zip<a href="#COMMAND-VolumesSource-HDsrcndkplatformndkprebuiltdarwin-x86_64binpython-VolumesSource-HDsrcndkplatformndkbuildtoolsbuild-target-pythonbuild_stdlibpy-pysrc-root-VolumesSource-HDsrcndkvendorpythonpython-35-output-zip-VolumesSource-HDsrcndkplatformndksourcespython35libsarmeabistdlibzip" class="wiki-anchor">¶</a></h2>
<p>::: compiling python-stdlib zip package '/Volumes/Source-HD/src/ndk/platform/ndk/sources/python/3.5/libs/armeabi/stdlib.zip' ...<br>
Traceback (most recent call last):<br>
File "/Volumes/Source-HD/src/ndk/platform/ndk/build/tools/build-target-python/build_stdlib.py", line 125, in <br>
build_stdlib()<br>
File "/Volumes/Source-HD/src/ndk/platform/ndk/build/tools/build-target-python/build_stdlib.py", line 117, in build_stdlib<br>
with zipfile.ZipFile(zipfilename, "w", zipfile.ZIP_DEFLATED) as fzip:<br>
File "/Volumes/Source-HD/src/ndk/platform/ndk/prebuilt/darwin-x86_64/lib/python2.7/zipfile.py", line 732, in <strong>init</strong><br>
"Compression requires the (missing) zlib module"<br>
RuntimeError: Compression requires the (missing) zlib module</p>
CrystaX NDK - Bug #1118 (Closed): Install crew.cmd failed
https://tracker.crystax.net/issues/1118
2015-11-09T09:30:41Z
Dmitry M.
dm@crystax.net
<p>/home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/build/scripts/install-crew --out-dir=/tmp/ndk-cislave/tmp/build-20677/crystax-ndk-10.2.1/tools<br>
Installing CREW<br>
cp /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/build/scripts/ruby.cmd /tmp/ndk-cislave/tmp/build-20677/crystax-ndk-10.2.1/prebuilt/window/bin/<br>
cp: cannot create regular file '/tmp/ndk-cislave/tmp/build-20677/crystax-ndk-10.2.1/prebuilt/window/bin/': No such file or directory<br>
ERROR: Could not copy ruby script to 32 bit destination<br>
ERROR: Can't generate proper release packages.</p>
CrystaX NDK - Bug #1108 (Closed): Crash on Android 6.0
https://tracker.crystax.net/issues/1108
2015-11-06T16:46:15Z
Dmitry M.
dm@crystax.net
<p>Almost all tests are failed on Android 6.0 due to changes in cleanup code in Bionic:<br>
<br>
2015-11-06 15:35:05.506 UTC: > ## ADBRUNNER.63392 EXEC: /Volumes/android/ndk/out/tests/gcc5/device/crystax-test-executables/target+PIE/libs/x86/dynamic-executable<br>
2015-11-06 15:35:05.506 UTC: RUN device test [crystax-test-executables] gcc5 +PIE: x86 [1/2] android-23 'emulator-5554'<br>
2015-11-06 15:35:05.730 UTC: > ## ADBRUNNER.63392 [emulator-5554] LOCK (attempt #1): /Volumes/android/ndk/out/tests/gcc5/device/crystax-test-executables/target+PIE/libs/x86/dynamic-executable<br>
2015-11-06 15:35:05.730 UTC: > ## ADBRUNNER.63392 [emulator-5554] START (attempt #1): /Volumes/android/ndk/out/tests/gcc5/device/crystax-test-executables/target+PIE/libs/x86/dynamic-executable<br>
2015-11-06 15:35:05.731 UTC: > ## ADBRUNNER.63392 [emulator-5554] RUN: mkdir -p /data/local/tmp/ndk-tests/x86/tmp && mkdir -p /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0 && mkdir -p /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin && mkdir -p /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/data<br>
2015-11-06 15:35:05.769 UTC: > ## ADBRUNNER.63392 [emulator-5554] PUSH: /Volumes/android/ndk/out/tests/gcc5/device/crystax-test-executables/target+PIE/libs/x86/dynamic-executable -> /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/exe22ab2429afe64691adb2e82368252344<br>
2015-11-06 15:35:07.205 UTC: > ## ADBRUNNER.63392 [emulator-5554] 3 KB/s (5204 bytes in 1.409s)<br>
2015-11-06 15:35:07.206 UTC: > ## ADBRUNNER.63392 [emulator-5554] RUN: chmod 0755 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/exe22ab2429afe64691adb2e82368252344<br>
2015-11-06 15:35:07.236 UTC: > ## ADBRUNNER.63392 [emulator-5554] PUSH: /Volumes/android/ndk/out/tests/gcc5/device/crystax-test-executables/target+PIE/libs/x86/libcrystax.so -> /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/libcrystax.so<br>
2015-11-06 15:35:07.862 UTC: > ## ADBRUNNER.63392 [emulator-5554] 1439 KB/s (887920 bytes in 0.602s)<br>
2015-11-06 15:35:07.863 UTC: > ## ADBRUNNER.63392 [emulator-5554] RUN: chmod 0755 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/libcrystax.so<br>
2015-11-06 15:35:07.891 UTC: > ## ADBRUNNER.63392 [emulator-5554] RUN: log LOGCAT-TAG-3ac80d57c899445e8980d38ff73cc286 && cd /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin TMPDIR=/data/local/tmp/ndk-tests/x86/tmp ./exe22ab2429afe64691adb2e82368252344<br>
2015-11-06 15:35:08.089 UTC: > ## ADBRUNNER.63392 [emulator-5554] > Aborted<br>
2015-11-06 15:35:08.090 UTC: > ## ADBRUNNER.63392 [emulator-5554] RUN [$?=134]: log LOGCAT-TAG-3ac80d57c899445e8980d38ff73cc286 && cd /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin TMPDIR=/data/local/tmp/ndk-tests/x86/tmp ./exe22ab2429afe64691adb2e82368252344<br>
2015-11-06 15:35:08.091 UTC: > ## ADBRUNNER.63392 [emulator-5554] *<br>
2015-11-06 15:35:08.091 UTC: > ## ADBRUNNER.63392 [emulator-5554] *<br>
2015-11-06 15:35:08.091 UTC: > ## ADBRUNNER.63392 [emulator-5554] * === BEGIN OF LAUNCHER PARAMETERS ===<br>
2015-11-06 15:35:08.091 UTC: > ## ADBRUNNER.63392 [emulator-5554] * ARGV: /Volumes/android/ndk/out/tests/gcc5/device/crystax-test-executables/target+PIE/libs/x86/dynamic-executable<br>
2015-11-06 15:35:08.091 UTC: > ## ADBRUNNER.63392 [emulator-5554] * PWD: /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin<br>
2015-11-06 15:35:08.091 UTC: > ## ADBRUNNER.63392 [emulator-5554] * === END OF LAUNCHER PARAMETERS ===<br>
2015-11-06 15:35:09.228 UTC: > ## ADBRUNNER.63392 [emulator-5554] *<br>
2015-11-06 15:35:09.229 UTC: > ## ADBRUNNER.63392 [emulator-5554] * === BEGIN OF LOGCAT ===<br>
2015-11-06 15:35:09.235 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.204 2818 2818 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 2818 (exe22ab2429afe6)<br>
2015-11-06 15:35:09.235 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.326 959 959 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***<br>
2015-11-06 15:35:09.235 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.327 959 959 F DEBUG : Build fingerprint: 'generic_x86/sdk_phone_x86/generic_x86:6.0/MASTER/2331927:eng/test-keys'<br>
2015-11-06 15:35:09.235 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.327 959 959 F DEBUG : Revision: '0'<br>
2015-11-06 15:35:09.235 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.327 959 959 F DEBUG : ABI: 'x86'<br>
2015-11-06 15:35:09.235 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.327 959 959 F DEBUG : pid: 2818, tid: 2818, name: exe22ab2429afe6 >>> ./exe22ab2429afe64691adb2e82368252344 <<<<br>
2015-11-06 15:35:09.235 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.327 959 959 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------<br>
2015-11-06 15:35:09.235 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.327 959 959 F DEBUG : eax 00000000 ebx 00000b02 ecx 00000b02 edx 00000006<br>
2015-11-06 15:35:09.236 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.327 959 959 F DEBUG : esi b7721c50 edi 00000002<br>
2015-11-06 15:35:09.236 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.327 959 959 F DEBUG : xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b<br>
2015-11-06 15:35:09.236 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.327 959 959 F DEBUG : eip b7547c16 ebp 00000b02 esp bf896c00 flags 00000202<br>
2015-11-06 15:35:09.236 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.328 959 959 F DEBUG :<br>
2015-11-06 15:35:09.236 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.328 959 959 F DEBUG : backtrace:<br>
2015-11-06 15:35:09.236 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.328 959 959 F DEBUG : #00 pc 00084c16 /system/lib/libc.so (tgkill+22)<br>
2015-11-06 15:35:09.236 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.328 959 959 F DEBUG : #01 pc 000815e8 /system/lib/libc.so (pthread_kill+70)<br>
2015-11-06 15:35:09.236 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #02 pc 00027205 /system/lib/libc.so (raise+36)<br>
2015-11-06 15:35:09.236 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #03 pc 0002dd10 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/libcrystax.so<br>
2015-11-06 15:35:09.236 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #04 pc 0002ba74 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/libcrystax.so<br>
2015-11-06 15:35:09.237 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #05 pc 0004feb2 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/libcrystax.so<br>
2015-11-06 15:35:09.237 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #06 pc 000159ed /system/lib/libc.so (malloc_fini_impl()+30)<br>
2015-11-06 15:35:09.237 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #07 pc 00081ede /system/lib/libc.so (pthread_once+143)<br>
2015-11-06 15:35:09.237 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #08 pc 00016e10 /system/lib/libc.so (malloc_debug_fini+38)<br>
2015-11-06 15:35:09.237 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #09 pc 00016e53 /system/lib/libc.so (<strong>libc_postfini()+19)<br>
2015-11-06 15:35:09.237 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #10 pc 000230bb /system/lib/libc.so (</strong>libc_fini+84)<br>
2015-11-06 15:35:09.237 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #11 pc 00096215 /system/lib/libc.so (<strong>cxa_finalize+341)<br>
2015-11-06 15:35:09.237 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #12 pc 000155c7 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/libcrystax.so<br>
2015-11-06 15:35:09.237 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #13 pc 00016ec4 /system/lib/libc.so (</strong>libc_init+107)<br>
2015-11-06 15:35:09.237 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.329 959 959 F DEBUG : #14 pc 00000338 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/exe22ab2429afe64691adb2e82368252344<br>
2015-11-06 15:35:09.237 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.331 1591 1736 W NativeCrashListener: Couldn't find ProcessRecord for pid 2818<br>
2015-11-06 15:35:09.238 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.318 959 959 W debuggerd: type=1400 audit(0.0:159): avc: denied { search } for name="tmp" dev="mtdblock1" ino=21123 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0<br>
2015-11-06 15:35:09.238 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.318 959 959 W debuggerd: type=1400 audit(0.0:160): avc: denied { search } for name="tmp" dev="mtdblock1" ino=21123 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0<br>
2015-11-06 15:35:09.238 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.318 959 959 W debuggerd: type=1400 audit(0.0:161): avc: denied { search } for name="tmp" dev="mtdblock1" ino=21123 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0<br>
2015-11-06 15:35:09.238 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.318 959 959 W debuggerd: type=1400 audit(0.0:162): avc: denied { search } for name="tmp" dev="mtdblock1" ino=21123 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0<br>
2015-11-06 15:35:09.238 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.318 959 959 W debuggerd: type=1400 audit(0.0:163): avc: denied { search } for name="tmp" dev="mtdblock1" ino=21123 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0<br>
2015-11-06 15:35:09.238 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.318 959 959 W debuggerd: type=1400 audit(0.0:164): avc: denied { search } for name="tmp" dev="mtdblock1" ino=21123 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0<br>
2015-11-06 15:35:09.238 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.340 959 959 F DEBUG :<br>
2015-11-06 15:35:09.238 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.340 959 959 F DEBUG : Tombstone written to: /data/tombstones/tombstone_05<br>
2015-11-06 15:35:09.238 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.340 959 959 E DEBUG : AM write failed: Broken pipe<br>
2015-11-06 15:35:09.239 UTC: > ## ADBRUNNER.63392 [emulator-5554] * 11-06 18:35:07.340 1591 1608 I BootReceiver: Copying /data/tombstones/tombstone_05 to DropBox (SYSTEM_TOMBSTONE)<br>
2015-11-06 15:35:09.239 UTC: > ## ADBRUNNER.63392 [emulator-5554] * === END OF LOGCAT ===<br>
2015-11-06 15:35:09.253 UTC: > ## ADBRUNNER.63392 [emulator-5554] *<br>
2015-11-06 15:35:09.253 UTC: > ## ADBRUNNER.63392 [emulator-5554] * === BEGIN OF NDK-STACK ===<br>
2015-11-06 15:35:09.267 UTC: > ## ADBRUNNER.63392 [emulator-5554] * ********** Crash dump: **********<br>
2015-11-06 15:35:09.267 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Build fingerprint: 'generic_x86/sdk_phone_x86/generic_x86:6.0/MASTER/2331927:eng/test-keys'<br>
2015-11-06 15:35:09.267 UTC: > ## ADBRUNNER.63392 [emulator-5554] * pid: 2818, tid: 2818, name: exe22ab2429afe6 >>> ./exe22ab2429afe64691adb2e82368252344 <<<<br>
2015-11-06 15:35:09.267 UTC: > ## ADBRUNNER.63392 [emulator-5554] * signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------<br>
2015-11-06 15:35:09.268 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #00 pc 00084c16 /system/lib/libc.so (tgkill+22)<br>
2015-11-06 15:35:09.268 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #01 pc 000815e8 /system/lib/libc.so (pthread_kill+70)<br>
2015-11-06 15:35:09.268 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #02 pc 00027205 /system/lib/libc.so (raise+36)<br>
2015-11-06 15:35:09.268 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #03 pc 0002dd10 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/libcrystax.so: Routine abort at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/sources/crystax/src/stdlib/abort.c:42<br>
2015-11-06 15:35:09.269 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #04 pc 0002ba74 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/libcrystax.so: Routine free at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/sources/crystax/src/dlmalloc/../../vendor/dlmalloc/malloc.c:4776<br>
2015-11-06 15:35:09.271 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #05 pc 0004feb2 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/libcrystax.so: Routine fclose at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/sources/crystax/gen/freebsd/lib/libc/stdio/mangled-fclose.c:64 (discriminator 2)<br>
2015-11-06 15:35:09.274 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #06 pc 000159ed /system/lib/libc.so (malloc_fini_impl()+30)<br>
2015-11-06 15:35:09.275 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #07 pc 00081ede /system/lib/libc.so (pthread_once+143)<br>
2015-11-06 15:35:09.275 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #08 pc 00016e10 /system/lib/libc.so (malloc_debug_fini+38)<br>
2015-11-06 15:35:09.275 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #09 pc 00016e53 /system/lib/libc.so (<strong>libc_postfini()+19)<br>
2015-11-06 15:35:09.275 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #10 pc 000230bb /system/lib/libc.so (</strong>libc_fini+84)<br>
2015-11-06 15:35:09.275 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #11 pc 00096215 /system/lib/libc.so (<strong>cxa_finalize+341)<br>
2015-11-06 15:35:09.275 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #12 pc 000155c7 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/libcrystax.so: Routine exit at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/sources/crystax/gen/freebsd/lib/libc/stdlib/mangled-exit.c:67<br>
2015-11-06 15:35:09.275 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #13 pc 00016ec4 /system/lib/libc.so (</strong>libc_init+107)<br>
2015-11-06 15:35:09.275 UTC: > ## ADBRUNNER.63392 [emulator-5554] * Stack frame #14 pc 00000338 /data/local/tmp/ndk-tests/x86/2619196d-c6e5-4a3d-a60d-e780246f62a0/bin/exe22ab2429afe64691adb2e82368252344: Routine _start at main.c:?<br>
2015-11-06 15:35:09.276 UTC: > ## ADBRUNNER.63392 [emulator-5554] * === END OF NDK-STACK ===</p>
CrystaX NDK - Bug #1044 (Closed): Assertion failed: (LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported...
https://tracker.crystax.net/issues/1044
2015-09-06T21:30:32Z
Dmitry M.
dm@crystax.net
<p>/Volumes/android/ndk/platform/ndk/toolchains/llvm-3.6/prebuilt/darwin-x86_64/bin/clang++ -MMD -MP -MF ./obj/local/x86_64/objs/test/test.o.d -gcc-toolchain /Volumes/android/ndk/platform/ndk/toolchains/x86_64-4.9/prebuilt/darwin-x86_64 -target x86_64-none-linux-android -ffunction-sections -funwind-tables -fstack-protector-strong -fPIC -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -fomit-frame-pointer -fstrict-aliasing -I/Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -I/Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86_64/include -I/Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -Ijni -DANDROID -Wa,--noexecstack -Wformat -Werror=format-security -fPIE -fexceptions -frtti -Wall -Wextra -Werror -std=gnu++11 -c -I/Volumes/android/ndk/platform/ndk/sources/crystax/include -I/Volumes/android/ndk/platform/ndk/platforms/android-21/arch-x86_64/usr/include jni/test.cpp -o ./obj/local/x86_64/objs/test/test.o<br>
Assertion failed: (LC != RTLIB::UNKNOWN_LIBCALL && "Unsupported FP_TO_UINT!"), function SoftenFloatOp_FP_TO_UINT, file /Volumes/HD2/cislave/workspace/ndk-build-all/HOST/darwin/LABEL/ndk-build/toolchain/llvm-3.6/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp, line 780.<br>
0 clang++ 0x0000000101d73412 llvm::SmallVectorTemplateBase::grow(unsigned long) + 5266<br>
Stack dump:</p>
<ol>
<li> Program arguments: /Volumes/android/ndk/platform/ndk/toolchains/llvm-3.6/prebuilt/darwin-x86_64/bin/clang++ -cc1 -triple x86_64-none-linux-android -emit-obj -mnoexecstack -disable-free -main-file-name test.cpp -mrelocation-model pic -pic-level 2 -pie-level 2 -mthread-model posix -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -target-feature +sse4.2 -target-feature +popcnt -backend-option -x86-force-gv-stack-cookie -target-linker-version 242.2 -momit-leaf-frame-pointer -g -dwarf-column-info -ffunction-sections -coverage-file /Volumes/android/ndk/out/tests/clang3.6/build/crystax-test-clang-static_cast/target+PIE/./obj/local/x86_64/objs/test/test.o -resource-dir /Volumes/android/ndk/platform/ndk/toolchains/llvm-3.6/prebuilt/darwin-x86_64/bin/../lib/clang/3.6 -dependency-file ./obj/local/x86_64/objs/test/test.o.d -MT ./obj/local/x86_64/objs/test/test.o -MP -D NDEBUG -D ANDROID -I /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -I /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86_64/include -I /Volumes/android/ndk/platform/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/backward -I jni -I /Volumes/android/ndk/platform/ndk/sources/crystax/include -I /Volumes/android/ndk/platform/ndk/platforms/android-21/arch-x86_64/usr/include -internal-isystem /usr/local/include -internal-isystem /Volumes/android/ndk/platform/ndk/toolchains/llvm-3.6/prebuilt/darwin-x86_64/bin/../lib/clang/3.6/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -Wformat -Werror=format-security -Wall -Wextra -Werror -std=gnu++11 -fdeprecated-macro -fdebug-compilation-dir /Volumes/android/ndk/out/tests/clang3.6/build/crystax-test-clang-static_cast/target+PIE -ferror-limit 19 -fmessage-length 0 -stack-protector 2 -backend-option -force-align-stack -mstackrealign -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -fno-cxx-missing-return-semantics -o ./obj/local/x86_64/objs/test/test.o -x c++ jni/test.cpp</li>
<li> parser at end of file</li>
<li> Code generation</li>
<li> Running pass 'Function Pass Manager' on module 'jni/test.cpp'.</li>
<li> Running pass 'X86 DAG->DAG Instruction Selection' on function '@_ZNK14base_num_parseIcE6do_getESt19istreambuf_iteratorIcSt11char_traitsIcEES4_RSt8ios_baseRSt12_Ios_IostateRt'
clang++: error: unable to execute command: Illegal instruction: 4
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.6
Target: x86_64-none-linux-android
Thread model: posix
clang++: note: diagnostic msg: PLEASE submit a bug report to <a href="http://source.android.com/source/report-bugs.html">http://source.android.com/source/report-bugs.html</a> and include the crash backtrace, preprocessed source, and associated run script.
clang++: note: diagnostic msg:
********************</li>
</ol>
<p>PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:<br>
Preprocessed source(s) and associated run script(s) are located at:<br>
clang++: note: diagnostic msg: /var/folders/g7/tjqc4xvx12bdmmgmsltvvcxh0000gp/T/test-8441d7.cpp<br>
clang++: note: diagnostic msg: /var/folders/g7/tjqc4xvx12bdmmgmsltvvcxh0000gp/T/test-8441d7.sh<br>
clang++: note: diagnostic msg:</p>
<hr>
<p>make[2]: *** [obj/local/x86_64/objs/test/test.o] Error 254</p>
CrystaX NDK - Bug #1032 (Closed): [tests] test-openmp failed when running on real device
https://tracker.crystax.net/issues/1032
2015-08-26T09:42:30Z
Dmitry M.
dm@crystax.net
CrystaX NDK - Bug #55 (Closed): No ISO C99 support in <stdlib.h>
https://tracker.crystax.net/issues/55
2013-01-08T17:06:19Z
Dmitry M.
dm@crystax.net
<p>configure:17458: checking for ISO C99 support in <br>
configure:17562: /home/crystax/work/ndk/platform/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ -o conftest --sysroot=/home/crystax/work/ndk/platform/ndk/platforms/android-9/arch-arm -I/tmp/ndk-crystax/tmp/build-7671/build-gnustl/4.4.3/static-armeabi-4.4.3/libcrystax/include -fexceptions -frtti -D_<u>BIONIC</u>_ -O2 -fvisibility=hidden -fvisibility-inlines-hidden -std=c++98 -fno-exceptions -L/home/crystax/work/ndk/platform/ndk/platforms/android-9/arch-arm/usr/lib -L/tmp/ndk-crystax/tmp/build-7671/build-gnustl/4.4.3/static-armeabi-4.4.3/libcrystax/lib -lcrystax -lstdc++ -llog -lm -lc conftest.cc -lm >&5<br>
conftest.cc: In function 'int main()':<br>
conftest.cc:43: error: 'strtold' was not declared in this scope<br>
conftest.cc:51: error: '_Exit' was not declared in this scope<br>
configure:17568: $? = 1<br>
configure: failed program was:<br>
| /* confdefs.h. <em>/<br>
|<br>
| #define PACKAGE_NAME "package-unused"<br>
| #define PACKAGE_TARNAME "libstdc++"<br>
| #define PACKAGE_VERSION "version-unused"<br>
| #define PACKAGE_STRING "package-unused version-unused"<br>
| #define PACKAGE_BUGREPORT ""<br>
| #ifdef __cplusplus<br>
| extern "C" void exit (int);<br>
| #endif<br>
| #define STDC_HEADERS 1<br>
| #define HAVE_SYS_TYPES_H 1<br>
| #define HAVE_SYS_STAT_H 1<br>
| #define HAVE_STDLIB_H 1<br>
| #define HAVE_STRING_H 1<br>
| #define HAVE_MEMORY_H 1<br>
| #define HAVE_STRINGS_H 1<br>
| #define HAVE_INTTYPES_H 1<br>
| #define HAVE_STDINT_H 1<br>
| #define HAVE_UNISTD_H 1<br>
| #define HAVE_DLFCN_H 1<br>
| #define LT_OBJDIR ".libs/"<br>
| #define _GLIBCXX_HOSTED 1<br>
| #define HAVE_GTHR_DEFAULT 1<br>
| #define HAVE_STRERROR_R 1<br>
| #define _GLIBCXX_USE_LONG_LONG 1<br>
| #define HAVE_WCHAR_H 1<br>
| #define HAVE_MBSTATE_T 1<br>
| #define HAVE_WCTYPE_H 1<br>
| #define _GLIBCXX_USE_WCHAR_T 1<br>
| #define _GLIBCXX_USE_C99_MATH 1<br>
| /</em> end confdefs.h. <em>/<br>
| #include <br>
| volatile float f;<br>
| volatile long double ld;<br>
| volatile unsigned long long ll;<br>
| lldiv_t mydivt;<br>
| int<br>
| main ()<br>
| {<br>
| char</em> tmp;<br>
| f = strtof("gnu", &tmp);<br>
| ld = strtold("gnu", &tmp);<br>
| ll = strtoll("gnu", &tmp, 10);<br>
| ll = strtoull("gnu", &tmp, 10);<br>
| ll = llabs(10);<br>
| mydivt = lldiv(10,1);<br>
| ll = mydivt.quot;<br>
| ll = mydivt.rem;<br>
| ll = atoll("10");<br>
| _Exit(0);<br>
|<br>
| ;<br>
| return 0;<br>
| }<br>
configure:17596: result: no</p>
CrystaX NDK - Bug #48 (Closed): dynamic_cast problem
https://tracker.crystax.net/issues/48
2013-01-08T17:00:54Z
Dmitry M.
dm@crystax.net
<p><a href="http://www.crystax.net/trac/ndk/ticket/64">http://www.crystax.net/trac/ndk/ticket/64</a></p>