Project

General

Profile

Bug #1499

[x86] Crash on unwinding stack when throwing C++/Objective-C exception

Added by Dmitry Moskalchuk about 3 years ago. Updated almost 3 years ago.

Status:
In Progress
Priority:
High
Category:
gnu-libstdc++
Target version:
Start date:
08/30/2016
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
x86
Host OS:
Toolchain:
Android version:
CrystaX Version:

Description

2016-08-30 14:16:25.775 UTC: RUN device test [test-basic-exceptions] gcc6: x86 [1/1] android-19 'emulator-5556'
2016-08-30 14:16:25.775 UTC:    > ## ADBRUNNER.17683 [emulator-5556] LOCK  (attempt #1): /home/crystax/work/ndk/ndk/out/tests/gcc6/device/test-basic-exceptions/target/libs/x86/test_basic_exceptions
2016-08-30 14:16:25.775 UTC:    > ## ADBRUNNER.17683 [emulator-5556] START (attempt #1): /home/crystax/work/ndk/ndk/out/tests/gcc6/device/test-basic-exceptions/target/libs/x86/test_basic_exceptions
2016-08-30 14:16:25.775 UTC:    > ## ADBRUNNER.17683 [emulator-5556] RUN:  mkdir -p /data/local/tmp/ndk-tests/x86/tmp && mkdir -p /data/local/tmp/ndk-tests/x86/lib && mkdir -p /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd && mkdir -p /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/bin && mkdir -p /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/data
2016-08-30 14:16:25.955 UTC:    > ## ADBRUNNER.17683 [emulator-5556] COPY: /home/crystax/work/ndk/ndk/out/tests/gcc6/device/test-basic-exceptions/target/libs/x86/test_basic_exceptions -> /home/crystax/.crystax/adbrunner/stripped/x86/test_basic_exceptions.2cdce9209c56a221e39f45fdc69398a61bd546385f335bbb9276e7ccc5797383
2016-08-30 14:16:25.955 UTC:    > ## ADBRUNNER.17683 [emulator-5556] STRIP: /home/crystax/.crystax/adbrunner/stripped/x86/test_basic_exceptions.2cdce9209c56a221e39f45fdc69398a61bd546385f335bbb9276e7ccc5797383
2016-08-30 14:16:25.981 UTC:    > ## ADBRUNNER.17683 [emulator-5556] PUSH: /home/crystax/.crystax/adbrunner/stripped/x86/test_basic_exceptions.2cdce9209c56a221e39f45fdc69398a61bd546385f335bbb9276e7ccc5797383 -> /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/bin/exeb7b2f489c8e74d9ca6fff94105a70165
2016-08-30 14:16:26.103 UTC:    > ## ADBRUNNER.17683 [emulator-5556] 538 KB/s (21868 bytes in 0.039s)
2016-08-30 14:16:26.103 UTC:    > ## ADBRUNNER.17683 [emulator-5556] RUN:  chmod 0755 /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/bin/exeb7b2f489c8e74d9ca6fff94105a70165
2016-08-30 14:16:26.205 UTC:    > ## ADBRUNNER.17683 [emulator-5556] RUN:  grep -q -x 01a206820489aa0fbafd987bc74dcf8633724365a58b5040f4e1da8f7eab902a /data/local/tmp/ndk-tests/x86/lib/libcrystax.so.sha256 2>/dev/null
2016-08-30 14:16:26.286 UTC:    > ## ADBRUNNER.17683 [emulator-5556] RUN:  grep -q -x 5db8a98919785407a2180fed37e431011ba55f08fbd4ea7ee8ae82dedee090e1 /data/local/tmp/ndk-tests/x86/lib/libgnustl_shared.so.sha256 2>/dev/null
2016-08-30 14:16:26.383 UTC:    > ## ADBRUNNER.17683 [emulator-5556] COPY: /home/crystax/work/ndk/ndk/out/tests/gcc6/device/test-basic-exceptions/target/libs/x86/libgnustl_shared.so -> /home/crystax/.crystax/adbrunner/stripped/x86/libgnustl_shared.so.2e987b613afec9b8e9b3001a5573b3ec0586566a42995d0a390aab69de2b8605
2016-08-30 14:16:26.384 UTC:    > ## ADBRUNNER.17683 [emulator-5556] STRIP: /home/crystax/.crystax/adbrunner/stripped/x86/libgnustl_shared.so.2e987b613afec9b8e9b3001a5573b3ec0586566a42995d0a390aab69de2b8605
2016-08-30 14:16:26.407 UTC:    > ## ADBRUNNER.17683 [emulator-5556] PUSH: /home/crystax/.crystax/adbrunner/stripped/x86/libgnustl_shared.so.2e987b613afec9b8e9b3001a5573b3ec0586566a42995d0a390aab69de2b8605 -> /data/local/tmp/ndk-tests/x86/lib/libgnustl_shared.so
2016-08-30 14:16:26.709 UTC:    > ## ADBRUNNER.17683 [emulator-5556] 7278 KB/s (1627588 bytes in 0.218s)
2016-08-30 14:16:26.709 UTC:    > ## ADBRUNNER.17683 [emulator-5556] RUN:  echo 5db8a98919785407a2180fed37e431011ba55f08fbd4ea7ee8ae82dedee090e1 >/data/local/tmp/ndk-tests/x86/lib/libgnustl_shared.so.sha256
2016-08-30 14:16:26.790 UTC:    > ## ADBRUNNER.17683 [emulator-5556] RUN:  log LOGCAT-TAG-8ad80d73494d4a0cb955abb01633bbc4 && cd /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/data && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests/x86/lib TMPDIR=/data/local/tmp/ndk-tests/x86/tmp /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/bin/exeb7b2f489c8e74d9ca6fff94105a70165
2016-08-30 14:16:27.093 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    > Aborted
2016-08-30 14:16:27.093 UTC:    > ## ADBRUNNER.17683 [emulator-5556] RUN [$?=134]: log LOGCAT-TAG-8ad80d73494d4a0cb955abb01633bbc4 && cd /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/data && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests/x86/lib TMPDIR=/data/local/tmp/ndk-tests/x86/tmp /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/bin/exeb7b2f489c8e74d9ca6fff94105a70165
2016-08-30 14:16:27.094 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    *
2016-08-30 14:16:27.094 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    *
2016-08-30 14:16:27.094 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * === BEGIN OF ENVIRONMENT ===
2016-08-30 14:16:27.094 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * CMD: /home/crystax/work/ndk/ndk/out/tests/gcc6/device/test-basic-exceptions/target/libs/x86/test_basic_exceptions
2016-08-30 14:16:27.094 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * PWD: /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/bin
2016-08-30 14:16:27.094 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * NDK: /home/crystax/work/ndk/ndk/platform/ndk - CrystaX NDK develop
2016-08-30 14:16:27.094 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * === END OF ENVIRONMENT ===
2016-08-30 14:16:27.861 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    *
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * === BEGIN OF LOGCAT ===
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.691 22663 22663 F libc    : Fatal signal 6 (SIGABRT) at 0x00005887 (code=-6), thread 22663 (exeb7b2f489c8e7)
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.821   934   934 I DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.821   934   934 I DEBUG   : Build fingerprint: 'generic_x86/sdk_x86/generic_x86:4.4.2/KK/999428:eng/test-keys'
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.821   934   934 I DEBUG   : Revision: '0'
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.821   934   934 I DEBUG   : pid: 22663, tid: 22663, name: exeb7b2f489c8e7  >>> /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a6304e89a97849dd/bin/exeb7b2f489c8e74d9ca6fff94105a70165 <<<
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.821   934   934 I DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.831  1206  1451 W NativeCrashListener: Couldn't find ProcessRecord for pid 22663
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     eax 00000000  ebx 00005887  ecx 00005887  edx 00000006
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   : AM write failure (32 / Broken pipe)
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     esi 00000000  edi 00000016
2016-08-30 14:16:27.862 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     xcs 00000073  xds 0000007b  xes 0000007b  xfs 00000000  xss 0000007b
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     eip b75494c6  ebp bf8bfea8  esp bf8bfd20  flags 00000246
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 E Corkscrew: unrecognized dwarf lower part encoding: 0x21
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   : backtrace:
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     #00  pc 000ee4c6  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (tgkill+22)
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     #01  pc 000e476b  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (pthread_kill+75)
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     #02  pc 000e66e5  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (raise+37)
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     #03  pc 00029925  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (abort+85)
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     #04  pc 0014060a  /data/local/tmp/ndk-tests/x86/lib/libgnustl_shared.so
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     #05  pc 001409dc  /data/local/tmp/ndk-tests/x86/lib/libgnustl_shared.so
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     #06  pc 00075703  /data/local/tmp/ndk-tests/x86/lib/libgnustl_shared.so (__cxa_throw+99)
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     #07  pc 000006a3  /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/bin/exeb7b2f489c8e74d9ca6fff94105a70165
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   : stack:
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfce0  b7448fcc  /system/lib/libc.so
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfce4  b744cdec
2016-08-30 14:16:27.863 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfce8  b753fcbe  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (pthread_mutex_unlock+14)
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfcec  0000be40
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfcf0  00000000
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfcf4  00000000
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfcf8  b753fcbe  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (pthread_mutex_unlock+14)
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfcfc  b7584e60  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd00  b75b86c0
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd04  b75b8dc0
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd08  bf8bfea8  [stack]
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd0c  b753f382  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd10  b75b8dc0
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd14  b744cdec
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd18  b774e940
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd1c  b7539fb5  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (getpid+21)
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     #00  bf8bfd20  00000006
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd24  b75b8dc0
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd28  b7584e60  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so
2016-08-30 14:16:27.864 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd2c  b753f76c  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (pthread_kill+76)
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     #01  bf8bfd30  00005887
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd34  00005887
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd38  00000006
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd3c  b753f72d  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (pthread_kill+13)
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd40  b7584e60  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd44  bf8bfd8c  [stack]
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd48  bf8bfd90  [stack]
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd4c  b75416e6  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (raise+38)
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :     #02  bf8bfd50  b75b86c0
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd54  00000006
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd58  00000000
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd5c  00000000
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd60  b75416c7  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (raise+7)
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd64  b7584e60  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd68  bf8bfd8c  [stack]
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * 08-30 10:16:24.861   934   934 I DEBUG   :          bf8bfd6c  b7484926  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (abort+86)
2016-08-30 14:16:27.865 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * === END OF LOGCAT ===
2016-08-30 14:16:27.870 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    *
2016-08-30 14:16:27.870 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * === BEGIN OF NDK-STACK ===
2016-08-30 14:16:27.875 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * ********** Crash dump: **********
2016-08-30 14:16:27.875 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * Build fingerprint: 'generic_x86/sdk_x86/generic_x86:4.4.2/KK/999428:eng/test-keys'
2016-08-30 14:16:27.875 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * pid: 22663, tid: 22663, name: exeb7b2f489c8e7  >>> /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/bin/exeb7b2f489c8e74d9ca6fff94105a70165 <<<
2016-08-30 14:16:27.875 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2016-08-30 14:16:27.875 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * Stack frame #00  pc 000ee4c6  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (tgkill+22): Routine tgkill at ??:?
2016-08-30 14:16:27.880 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * Stack frame #01  pc 000e476b  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (pthread_kill+75): Routine pthread_kill at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/sources/crystax/gen/bionic/libc/bionic/mangled-pthread_kill.cpp:45 (discriminator 1)
2016-08-30 14:16:27.884 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * Stack frame #02  pc 000e66e5  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (raise+37): Routine raise at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/sources/crystax/gen/bionic/libc/bionic/mangled-raise.cpp:34 (discriminator 1)
2016-08-30 14:16:27.886 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * Stack frame #03  pc 00029925  /data/local/tmp/ndk-tests/x86/lib/libcrystax.so (abort+85): Routine abort at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/sources/crystax/src/stdlib/abort.c:42
2016-08-30 14:16:27.891 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * Stack frame #04  pc 0014060a  /data/local/tmp/ndk-tests/x86/lib/libgnustl_shared.so: Routine uw_init_context_1 at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/toolchain/build/../gcc/gcc-6/libgcc/unwind-dw2.c:1563 (discriminator 1)
2016-08-30 14:16:27.895 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * Stack frame #05  pc 001409dc  /data/local/tmp/ndk-tests/x86/lib/libgnustl_shared.so: Routine _Unwind_RaiseException at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/toolchain/build/../gcc/gcc-6/libgcc/unwind.inc:88
2016-08-30 14:16:27.897 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * Stack frame #06  pc 00075703  /data/local/tmp/ndk-tests/x86/lib/libgnustl_shared.so (__cxa_throw+99): Routine __cxa_throw at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/toolchain/gcc/gcc-6/libstdc++-v3/libsupc++/eh_throw.cc:82
2016-08-30 14:16:27.898 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * Stack frame #07  pc 000006a3  /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd/bin/exeb7b2f489c8e74d9ca6fff94105a70165: Routine ??
2016-08-30 14:16:27.898 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * ??:0
2016-08-30 14:16:27.898 UTC:    > ## ADBRUNNER.17683 [emulator-5556]    * === END OF NDK-STACK ===
2016-08-30 14:16:27.900 UTC:    > ## ADBRUNNER.17683 [emulator-5556] ## COMMAND: /home/crystax/.crystax/android-sdk/android-sdk-linux/platform-tools/adb -s emulator-5556 shell rm -r /data/local/tmp/ndk-tests/x86/0d72d558-9e87-491d-a630-4e89a97849dd
2016-08-30 14:16:27.993 UTC:    > ## ADBRUNNER.17683 [emulator-5556] EXIT: 134 (took 0:00:02 on 'emulator-5556')
2016-08-30 14:16:27.994 UTC:    ---> FAILURE: TARGET TEST  [test-basic-exceptions] "test_basic_exceptions": $?=134

History

#1

Updated by Liryna Stark almost 3 years ago

This seems to happen for every exception throw. I am using last nightly crystax with https://github.com/crystax/android-samples-cmake
I changed the test.cpp by:

#include <iostream>

int main()
{
try
  {
    throw std::runtime_error("DAMN"); // this will abort
  }
 catch (std::exception &ex)
   {
     std::cout << ex.what() << std::endl;
   }
    return 0;
}

Running on Android x86_64 create an abort during the throw but on arm64-v8a, I get a segfault without callstack.


## ADBRUNNER.26803 2017-01-03 14:42:56.563 UTC [emulator-5556]    * === BEGIN OF ENVIRONMENT ===
## ADBRUNNER.26803 2017-01-03 14:42:56.563 UTC [emulator-5556]    * CMD: /home/adrien/Bureau/android-samples-cmake/build/hello-world 
## ADBRUNNER.26803 2017-01-03 14:42:56.563 UTC [emulator-5556]    * PWD: /data/local/tmp/adbrunner/x86_64/9c59111f-0924-4a2a-b8d4-86c39bdd63d9/bin
## ADBRUNNER.26803 2017-01-03 14:42:56.563 UTC [emulator-5556]    * NDK: /home/adrien/Bureau/crystax-ndk-10.3.2 - CrystaX NDK v10.3.2 (64-bit)
## ADBRUNNER.26803 2017-01-03 14:42:56.563 UTC [emulator-5556]    * === END OF ENVIRONMENT ===
## ADBRUNNER.26803 2017-01-03 14:42:56.865 UTC [emulator-5556]    * 
## ADBRUNNER.26803 2017-01-03 14:42:56.865 UTC [emulator-5556]    * === BEGIN OF LOGCAT ===
## ADBRUNNER.26803 2017-01-03 14:42:56.865 UTC [emulator-5556]    * 01-03 15:42:55.796  7820  7820 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 7820 (exec316aebab5e0)
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.796  1206  1206 W         : debuggerd: handling request: pid=7820 uid=2000 gid=2000 tid=7820
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.796  1206  1206 W         : Failed to open /proc/7820/exe Permission denied
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   : Build fingerprint: 'Android/sdk_google_phone_x86_64/generic_x86_64:7.0/NYC/3513876:userdebug/dev-keys'
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   : Revision: '0'
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   : ABI: 'x86_64'
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   : pid: 7820, tid: 7820, name: exec316aebab5e0  >>> /data/local/tmp/adbrunner/x86_64/9c59111f-0924-4a2a-b8d4-86c39bdd63d9/bin/exec316aebab5e047f9bb6f934beefb5837 <<<
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   :     rax 0000000000000000  rbx 0000000000000000  rcx ffffffffffffffff  rdx 0000000000000006
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   :     rsi 0000000000001e8c  rdi 0000000000001e8c
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   :     r8  0000000000000080  r9  00007fff0c2bf300  r10 0000000000000008  r11 0000000000000246
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   :     r12 0000000000000006  r13 00007fff0c2bfcf0  r14 00007fff0c2bfb20  r15 0000000000000000
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   :     cs  0000000000000033  ss  000000000000002b
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.797  7821  7821 F DEBUG   :     rip 000078b17f945fe7  rbp 0000000000000013  rsp 00007fff0c2bf6f8  eflags 0000000000000246
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   : 
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   : backtrace:
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   :     #00 pc 00000000000f8fe7  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   :     #01 pc 00000000000f0fa8  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   :     #02 pc 00000000000f2b01  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   :     #03 pc 0000000000036f2e  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   :     #04 pc 0000000000143cc8  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   :     #05 pc 00000000001440c9  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   :     #06 pc 000000000009061a  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   :     #07 pc 0000000000000c3b  /data/local/tmp/adbrunner/x86_64/9c59111f-0924-4a2a-b8d4-86c39bdd63d9/bin/exec316aebab5e047f9bb6f934beefb5837
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   :     #08 pc 00000000000f6b5c  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   :     #09 pc 0000000000000bd3  /data/local/tmp/adbrunner/x86_64/9c59111f-0924-4a2a-b8d4-86c39bdd63d9/bin/exec316aebab5e047f9bb6f934beefb5837
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.798  7821  7821 F DEBUG   :     #10 pc 0000000000000000  <unknown>
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.787  7821  7821 W debuggerd64: type=1400 audit(0.0:366): avc: denied { search } for name="tmp" dev="vdc" ino=14082 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.787  7821  7821 W debuggerd64: type=1400 audit(0.0:367): avc: denied { search } for name="tmp" dev="vdc" ino=14082 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.787  7821  7821 W debuggerd64: type=1400 audit(0.0:368): avc: denied { search } for name="tmp" dev="vdc" ino=14082 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.787  7821  7821 W debuggerd64: type=1400 audit(0.0:369): avc: denied { search } for name="tmp" dev="vdc" ino=14082 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.787  7821  7821 W debuggerd64: type=1400 audit(0.0:370): avc: denied { search } for name="tmp" dev="vdc" ino=14082 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=dir permissive=0
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.803  1727  1835 W NativeCrashListener: Couldn't find ProcessRecord for pid 7820
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.804  1727  1745 I BootReceiver: Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.804  1206  1206 W         : debuggerd: resuming target 7820
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * 01-03 15:42:55.804  1206  1206 E         : debuggerd: failed to send signal 18 to target: No such process
## ADBRUNNER.26803 2017-01-03 14:42:56.866 UTC [emulator-5556]    * === END OF LOGCAT ===
## ADBRUNNER.26803 2017-01-03 14:42:56.874 UTC [emulator-5556]    * 
## ADBRUNNER.26803 2017-01-03 14:42:56.875 UTC [emulator-5556]    * === BEGIN OF NDK-STACK ===
## ADBRUNNER.26803 2017-01-03 14:42:56.880 UTC [emulator-5556]    * ********** Crash dump: **********
## ADBRUNNER.26803 2017-01-03 14:42:56.880 UTC [emulator-5556]    * Build fingerprint: 'Android/sdk_google_phone_x86_64/generic_x86_64:7.0/NYC/3513876:userdebug/dev-keys'
## ADBRUNNER.26803 2017-01-03 14:42:56.880 UTC [emulator-5556]    * pid: 7820, tid: 7820, name: exec316aebab5e0  >>> /data/local/tmp/adbrunner/x86_64/9c59111f-0924-4a2a-b8d4-86c39bdd63d9/bin/exec316aebab5e047f9bb6f934beefb5837 <<<
## ADBRUNNER.26803 2017-01-03 14:42:56.880 UTC [emulator-5556]    * signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
## ADBRUNNER.26803 2017-01-03 14:42:56.880 UTC [emulator-5556]    * Stack frame #00 pc 00000000000f8fe7  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so: Routine tgkill at ??:?
## ADBRUNNER.26803 2017-01-03 14:42:56.885 UTC [emulator-5556]    * Stack frame #01 pc 00000000000f0fa8  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so: Routine pthread_kill at /home/cislave/builds/f53063ee/0/android/ndk/platform/ndk/sources/crystax/gen/bionic/libc/bionic/mangled-pthread_kill.cpp:45 (discriminator 1)
## ADBRUNNER.26803 2017-01-03 14:42:56.890 UTC [emulator-5556]    * Stack frame #02 pc 00000000000f2b01  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so: Routine raise at /home/cislave/builds/f53063ee/0/android/ndk/platform/ndk/sources/crystax/gen/bionic/libc/bionic/mangled-raise.cpp:34 (discriminator 1)
## ADBRUNNER.26803 2017-01-03 14:42:56.893 UTC [emulator-5556]    * Stack frame #03 pc 0000000000036f2e  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so: Routine abort at /home/cislave/builds/f53063ee/0/android/ndk/platform/ndk/sources/crystax/src/stdlib/abort.c:42
## ADBRUNNER.26803 2017-01-03 14:42:56.897 UTC [emulator-5556]    * Stack frame #04 pc 0000000000143cc8  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so: Routine uw_init_context_1 at /home/cislave/builds/f53063ee/0/android/ndk/toolchain/build/../gcc/gcc-5/libgcc/unwind-dw2.c:1563 (discriminator 1)
## ADBRUNNER.26803 2017-01-03 14:42:56.902 UTC [emulator-5556]    * Stack frame #05 pc 00000000001440c9  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so: Routine _Unwind_RaiseException at /home/cislave/builds/f53063ee/0/android/ndk/toolchain/build/../gcc/gcc-5/libgcc/unwind.inc:88
## ADBRUNNER.26803 2017-01-03 14:42:56.904 UTC [emulator-5556]    * Stack frame #06 pc 000000000009061a  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so: Routine __cxa_throw at /home/cislave/builds/f53063ee/0/android/ndk/toolchain/gcc/gcc-5/libstdc++-v3/libsupc++/eh_throw.cc:82
## ADBRUNNER.26803 2017-01-03 14:42:56.904 UTC [emulator-5556]    * Stack frame #07 pc 0000000000000c3b  /data/local/tmp/adbrunner/x86_64/9c59111f-0924-4a2a-b8d4-86c39bdd63d9/bin/exec316aebab5e047f9bb6f934beefb5837: Routine main at ??:?
## ADBRUNNER.26803 2017-01-03 14:42:56.908 UTC [emulator-5556]    * Stack frame #08 pc 00000000000f6b5c  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so: Routine __libc_init at /home/cislave/builds/f53063ee/0/android/ndk/platform/ndk/sources/crystax/gen/bionic/libc/bionic/mangled-libc_init_dynamic.cpp:133
## ADBRUNNER.26803 2017-01-03 14:42:56.909 UTC [emulator-5556]    * Stack frame #09 pc 0000000000000bd3  /data/local/tmp/adbrunner/x86_64/9c59111f-0924-4a2a-b8d4-86c39bdd63d9/bin/exec316aebab5e047f9bb6f934beefb5837: Routine _start at unwind-dw2-fde-dip.c:?
## ADBRUNNER.26803 2017-01-03 14:42:56.909 UTC [emulator-5556]    * Stack frame #10 pc 0000000000000000  <unknown>
## ADBRUNNER.26803 2017-01-03 14:42:56.909 UTC [emulator-5556]    * === END OF NDK-STACK ===
## ADBRUNNER.26803 2017-01-03 14:42:56.917 UTC [emulator-5556] EXIT: 134 (took 0:00:00 on 'emulator-5556')

Feel free if you need any more test. This is issue is blocking me :'( all my application is using exception and there is no way I can change it.
It is possible to by pass the issue Dmitry ?

#2

Updated by Dmitry Moskalchuk almost 3 years ago

  • Status changed from Open to In Progress
#3

Updated by Dmitry Moskalchuk almost 3 years ago

Liryna Stark wrote:

This seems to happen for every exception throw. I am using last nightly crystax with https://github.com/crystax/android-samples-cmake
It is possible to by pass the issue Dmitry ?

This seems to be caused by a very basic functionality in libcrystax. In other words, it's not exception mechanism itself is broken, it's broken something else, used by exception mechanism. I see many symptoms of that, which all are started appearing after more-or-less recent changes.

I'm going to find out what's wrong and fix it. Meanwhile please use older builds. I don't know yet which exactly build introduced this regression, but please try #894, for example - most likely, this one will work.

#4

Updated by Liryna Stark almost 3 years ago

Thank you for you answer Dmitry.
I was using the build 917. I tested build 894 but I got the same issue also :'( after rebuilding the sample.

## ADBRUNNER.9745 2017-01-06 09:54:57.806 UTC [emulator-5556] RUN:  echo 24e3768ea37e18de4d727c883b386ea264d92cb7c66ba167c3bf14b2bbf9c7de >/data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so.sha256
## ADBRUNNER.9745 2017-01-06 09:54:57.811 UTC [emulator-5556] RUN:  log LOGCAT-TAG-47a484c2368e48d5a6537dd4f9250c83 && cd /data/local/tmp/adbrunner/x86_64/864e5398-1133-4724-9e08-0ea93da0b40c/data && LD_LIBRARY_PATH=/data/local/tmp/adbrunner/x86_64/lib TMPDIR=/data/loca\
l/tmp/adbrunner/x86_64/tmp /data/local/tmp/adbrunner/x86_64/864e5398-1133-4724-9e08-0ea93da0b40c/bin/exed905528ea9fc44338c6ca57d14d241ab
## ADBRUNNER.9745 2017-01-06 09:54:57.836 UTC [emulator-5556]    * Aborted
## ADBRUNNER.9745 2017-01-06 09:54:57.836 UTC [emulator-5556] RUN [$?=134]: log LOGCAT-TAG-47a484c2368e48d5a6537dd4f9250c83 && cd /data/local/tmp/adbrunner/x86_64/864e5398-1133-4724-9e08-0ea93da0b40c/data && LD_LIBRARY_PATH=/data/local/tmp/adbrunner/x86_64/lib TMPDIR=/d\
ata/local/tmp/adbrunner/x86_64/tmp /data/local/tmp/adbrunner/x86_64/864e5398-1133-4724-9e08-0ea93da0b40c/bin/exed905528ea9fc44338c6ca57d14d241ab
## ADBRUNNER.9745 2017-01-06 09:54:57.836 UTC [emulator-5556]    *
## ADBRUNNER.9745 2017-01-06 09:54:57.836 UTC [emulator-5556]    *
## ADBRUNNER.9745 2017-01-06 09:54:57.836 UTC [emulator-5556]    * === BEGIN OF ENVIRONMENT ===
## ADBRUNNER.9745 2017-01-06 09:54:57.836 UTC [emulator-5556]    * CMD: /home/adrien/Bureau/android-samples-cmake/build/hello-world
## ADBRUNNER.9745 2017-01-06 09:54:57.836 UTC [emulator-5556]    * PWD: /data/local/tmp/adbrunner/x86_64/864e5398-1133-4724-9e08-0ea93da0b40c/bin
## ADBRUNNER.9745 2017-01-06 09:54:57.836 UTC [emulator-5556]    * NDK: /home/adrien/Bureau/crystax-ndk-10.3.1 - CrystaX NDK v10.3.1 (64-bit)
## ADBRUNNER.9745 2017-01-06 09:54:57.836 UTC [emulator-5556]    * === END OF ENVIRONMENT ===
## ADBRUNNER.9745 2017-01-06 09:54:57.893 UTC [emulator-5556]    *
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * === BEGIN OF LOGCAT ===
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * --------- beginning of crash
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.175  3534  3534 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 3534 (exed905528ea9fc)
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.175  1198  1198 W         : debuggerd: handling request: pid=3534 uid=2000 gid=2000 tid=3534
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.175  1198  1198 W         : Failed to open /proc/3534/exe Permission denied
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   : Build fingerprint: 'Android/sdk_google_phone_x86_64/generic_x86_64:7.0/NYC/3513876:userdebug/dev-keys'
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   : Revision: '0'
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   : ABI: 'x86_64'
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   : pid: 3534, tid: 3534, name: exed905528ea9fc  >>> /data/local/tmp/adbrunner/x86_64/864e5398-1133-4724-9e08-0ea93da0b40c/bin/exed905528ea9fc44338c6ca57d14d241ab <\
<<
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     rax 0000000000000000  rbx 0000000000000000  rcx ffffffffffffffff  rdx 0000000000000006
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     rsi 0000000000000dce  rdi 0000000000000dce
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     r8  0000000000000004  r9  0000000000000000  r10 0000000000000008  r11 0000000000000246
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     r12 0000000000000006  r13 00007fffb0771100  r14 00007fffb0770f30  r15 0000000000000000
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     cs  0000000000000033  ss  000000000000002b
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     rip 000076f70c966d47  rbp 0000000000000002  rsp 00007fffb0770b08  eflags 0000000000000246
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   : backtrace:
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     #00 pc 000000000012fd47  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     #01 pc 0000000000127d08  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     #02 pc 0000000000129861  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     #03 pc 000000000003c3fe  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     #04 pc 0000000000143cc8  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     #05 pc 00000000001440c9  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     #06 pc 000000000009061a  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     #07 pc 0000000000000c3b  /data/local/tmp/adbrunner/x86_64/864e5398-1133-4724-9e08-0ea93da0b40c/bin/exed905528ea9fc44338c6ca57d14d241ab
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     #08 pc 000000000012d8bc  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     #09 pc 0000000000000bd3  /data/local/tmp/adbrunner/x86_64/864e5398-1133-4724-9e08-0ea93da0b40c/bin/exed905528ea9fc44338c6ca57d14d241ab
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.176  3535  3535 F DEBUG   :     #10 pc 0000000000000000  <unknown>
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.162  3535  3535 W debuggerd64: type=1400 audit(0.0:16): avc: denied { search } for name="tmp" dev="vdc" ino=14082 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=di\
r permissive=0
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.162  3535  3535 W debuggerd64: type=1400 audit(0.0:17): avc: denied { search } for name="tmp" dev="vdc" ino=14082 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=di\
r permissive=0
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.162  3535  3535 W debuggerd64: type=1400 audit(0.0:18): avc: denied { search } for name="tmp" dev="vdc" ino=14082 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=di\
r permissive=0
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.162  3535  3535 W debuggerd64: type=1400 audit(0.0:19): avc: denied { search } for name="tmp" dev="vdc" ino=14082 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=di\
r permissive=0
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.162  3535  3535 W debuggerd64: type=1400 audit(0.0:20): avc: denied { search } for name="tmp" dev="vdc" ino=14082 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=di\
r permissive=0
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.162  3535  3535 W debuggerd64: type=1400 audit(0.0:20): avc: denied { search } for name="tmp" dev="vdc" ino=14082 scontext=u:r:debuggerd:s0 tcontext=u:object_r:shell_data_file:s0 tclass=di\
r permissive=0
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.182  1562  1887 W NativeCrashListener: Couldn't find ProcessRecord for pid 3534
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.183  1562  1582 I BootReceiver: Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE)
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.183  1198  1198 W         : debuggerd: resuming target 3534
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * 01-06 10:54:57.183  1198  1198 E         : debuggerd: failed to send signal 18 to target: No such process
## ADBRUNNER.9745 2017-01-06 09:54:57.894 UTC [emulator-5556]    * === END OF LOGCAT ===
## ADBRUNNER.9745 2017-01-06 09:54:57.903 UTC [emulator-5556]    *
## ADBRUNNER.9745 2017-01-06 09:54:57.903 UTC [emulator-5556]    * === BEGIN OF NDK-STACK ===
## ADBRUNNER.9745 2017-01-06 09:54:57.997 UTC [emulator-5556]    * ********** Crash dump: **********
## ADBRUNNER.9745 2017-01-06 09:54:57.997 UTC [emulator-5556]    * Build fingerprint: 'Android/sdk_google_phone_x86_64/generic_x86_64:7.0/NYC/3513876:userdebug/dev-keys'
## ADBRUNNER.9745 2017-01-06 09:54:57.997 UTC [emulator-5556]    * pid: 3534, tid: 3534, name: exed905528ea9fc  >>> /data/local/tmp/adbrunner/x86_64/864e5398-1133-4724-9e08-0ea93da0b40c/bin/exed905528ea9fc44338c6ca57d14d241ab <<<
## ADBRUNNER.9745 2017-01-06 09:54:57.997 UTC [emulator-5556]    * signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
## ADBRUNNER.9745 2017-01-06 09:54:57.997 UTC [emulator-5556]    * Stack frame #00 pc 000000000012fd47  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so: Routine tgkill at ??:?
## ADBRUNNER.9745 2017-01-06 09:54:58.003 UTC [emulator-5556]    * Stack frame #01 pc 0000000000127d08  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so: Routine pthread_kill at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/sources/crys\
tax/gen/bionic/libc/bionic/mangled-pthread_kill.cpp:45 (discriminator 1)
## ADBRUNNER.9745 2017-01-06 09:54:58.009 UTC [emulator-5556]    * Stack frame #02 pc 0000000000129861  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so: Routine raise at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/sources/crystax/gen\
/bionic/libc/bionic/mangled-raise.cpp:34 (discriminator 1)
## ADBRUNNER.9745 2017-01-06 09:54:58.012 UTC [emulator-5556]    * Stack frame #03 pc 000000000003c3fe  /data/local/tmp/adbrunner/x86_64/lib/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
## ADBRUNNER.9745 2017-01-06 09:54:58.017 UTC [emulator-5556]    * Stack frame #04 pc 0000000000143cc8  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so: Routine uw_init_context_1 at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/toolchain/buil\
d/../gcc/gcc-5/libgcc/unwind-dw2.c:1563 (discriminator 1)
## ADBRUNNER.9745 2017-01-06 09:54:58.021 UTC [emulator-5556]    * Stack frame #05 pc 00000000001440c9  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so: Routine _Unwind_RaiseException at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/toolchain\
/build/../gcc/gcc-5/libgcc/unwind.inc:88
## ADBRUNNER.9745 2017-01-06 09:54:58.024 UTC [emulator-5556]    * Stack frame #06 pc 000000000009061a  /data/local/tmp/adbrunner/x86_64/lib/libgnustl_shared.so: Routine __cxa_throw at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/toolchain/gcc/gcc-5/\
libstdc++-v3/libsupc++/eh_throw.cc:82
## ADBRUNNER.9745 2017-01-06 09:54:58.024 UTC [emulator-5556]    * Stack frame #07 pc 0000000000000c3b  /data/local/tmp/adbrunner/x86_64/864e5398-1133-4724-9e08-0ea93da0b40c/bin/exed905528ea9fc44338c6ca57d14d241ab: Routine main at ??:?
## ADBRUNNER.9745 2017-01-06 09:54:58.028 UTC [emulator-5556]    * Stack frame #08 pc 000000000012d8bc  /data/local/tmp/adbrunner/x86_64/lib/libcrystax.so: Routine __libc_init at /home/cislave/workspace/ndk-build-all/HOST/linux/LABEL/ndk-build/platform/ndk/sources/cryst\
ax/gen/bionic/libc/bionic/mangled-libc_init_dynamic.cpp:136
## ADBRUNNER.9745 2017-01-06 09:54:58.029 UTC [emulator-5556]    * Stack frame #09 pc 0000000000000bd3  /data/local/tmp/adbrunner/x86_64/864e5398-1133-4724-9e08-0ea93da0b40c/bin/exed905528ea9fc44338c6ca57d14d241ab: Routine _start at unwind-dw2-fde-dip.c:?
## ADBRUNNER.9745 2017-01-06 09:54:58.029 UTC [emulator-5556]    * Stack frame #10 pc 0000000000000000  <unknown>
## ADBRUNNER.9745 2017-01-06 09:54:58.029 UTC [emulator-5556]    * === END OF NDK-STACK ===
## ADBRUNNER.9745 2017-01-06 09:54:58.040 UTC [emulator-5556] EXIT: 134 (took 0:00:00 on 'emulator-5556')


Also available in: Atom PDF