Project

General

Profile

Bug #894

Device test 'math' fails on x86_64 when built with clang

Added by Alexander Zhukov over 4 years ago. Updated almost 3 years ago.

Status:
Open
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
02/03/2015
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
x86_64
Host OS:
Toolchain:
clang-3.4, clang-3.5, clang-3.6, clang-3.7, clang-3.8
Android version:
CrystaX Version:

Description

2016-05-21 05:00:38.999 UTC: RUN device test [math] clang3.8 +PIE: x86_64 [1/2] android-21 'emulator-5554'
2016-05-21 05:00:38.999 UTC:    > ## ADBRUNNER.51965 [emulator-5554] LOCK  (attempt #1): /Volumes/android/ndk/out/tests/clang3.8/device/math/target+PIE/libs/x86_64/math_c
2016-05-21 05:00:38.999 UTC:    > ## ADBRUNNER.51965 [emulator-5554] START (attempt #1): /Volumes/android/ndk/out/tests/clang3.8/device/math/target+PIE/libs/x86_64/math_c
2016-05-21 05:00:38.999 UTC:    > ## ADBRUNNER.51965 [emulator-5554] RUN:  mkdir -p /data/local/tmp/ndk-tests/x86_64/tmp && mkdir -p /data/local/tmp/ndk-tests/x86_64/lib && mkdir -p /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b && mkdir -p /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/bin && mkdir -p /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/data
2016-05-21 05:00:39.033 UTC:    > ## ADBRUNNER.51965 [emulator-5554] COPY: /Volumes/android/ndk/out/tests/clang3.8/device/math/target+PIE/libs/x86_64/math_c -> /Users/crystax/.crystax/adbrunner/stripped/x86_64/math_c.6421b58244530251bdf1c2c0eea1114fdbd0af3e8cb04bab625bb1e7bd7d32b8
2016-05-21 05:00:39.033 UTC:    > ## ADBRUNNER.51965 [emulator-5554] STRIP: /Users/crystax/.crystax/adbrunner/stripped/x86_64/math_c.6421b58244530251bdf1c2c0eea1114fdbd0af3e8cb04bab625bb1e7bd7d32b8
2016-05-21 05:00:39.041 UTC:    > ## ADBRUNNER.51965 [emulator-5554] PUSH: /Users/crystax/.crystax/adbrunner/stripped/x86_64/math_c.6421b58244530251bdf1c2c0eea1114fdbd0af3e8cb04bab625bb1e7bd7d32b8 -> /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/bin/exe02498fa3e26b471eb180bf2ae2ec7918
2016-05-21 05:00:39.064 UTC:    > ## ADBRUNNER.51965 [emulator-5554] 1254 KB/s (18152 bytes in 0.014s)
2016-05-21 05:00:39.065 UTC:    > ## ADBRUNNER.51965 [emulator-5554] RUN:  chmod 0755 /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/bin/exe02498fa3e26b471eb180bf2ae2ec7918
2016-05-21 05:00:39.094 UTC:    > ## ADBRUNNER.51965 [emulator-5554] RUN:  grep -q -x 728f75643eba613b51374837affc3596cc33f58c14341d4d61b385772d3e9740 /data/local/tmp/ndk-tests/x86_64/lib/libcrystax.so.sha256 2>/dev/null
2016-05-21 05:00:39.131 UTC:    > ## ADBRUNNER.51965 [emulator-5554] RUN:  grep -q -x b6235cd3a1a55c6b785c6de0e806bbf65eca81921453ef6de9a22a6f1350ffb8 /data/local/tmp/ndk-tests/x86_64/lib/libgnustl_shared.so.sha256 2>/dev/null
2016-05-21 05:00:39.153 UTC:    > ## ADBRUNNER.51965 [emulator-5554] RUN:  log LOGCAT-TAG-4210e47a173e4625b668e0eb9fd47726 && cd /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/data && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests/x86_64/lib TMPDIR=/data/local/tmp/ndk-tests/x86_64/tmp /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/bin/exe02498fa3e26b471eb180bf2ae2ec7918
2016-05-21 05:00:39.301 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    > Segmentation fault
2016-05-21 05:00:39.302 UTC:    > ## ADBRUNNER.51965 [emulator-5554] RUN [$?=139]: log LOGCAT-TAG-4210e47a173e4625b668e0eb9fd47726 && cd /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/data && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests/x86_64/lib TMPDIR=/data/local/tmp/ndk-tests/x86_64/tmp /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/bin/exe02498fa3e26b471eb180bf2ae2ec7918
2016-05-21 05:00:39.302 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    *
2016-05-21 05:00:39.303 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    *
2016-05-21 05:00:39.303 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * === BEGIN OF ENVIRONMENT ===
2016-05-21 05:00:39.303 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * CMD: /Volumes/android/ndk/out/tests/clang3.8/device/math/target+PIE/libs/x86_64/math_c
2016-05-21 05:00:39.304 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * PWD: /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/bin
2016-05-21 05:00:39.304 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * NDK: /Volumes/android/ndk/platform/ndk - CrystaX NDK develop
2016-05-21 05:00:39.304 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * === END OF ENVIRONMENT ===
2016-05-21 05:00:39.951 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    *
2016-05-21 05:00:39.951 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * === BEGIN OF LOGCAT ===
2016-05-21 05:00:39.957 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:38.913  6124  6124 F libc    : Fatal signal 11 (SIGSEGV), code 128, fault addr 0x0 in tid 6124 (exe02498fa3e26b)
2016-05-21 05:00:39.957 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.017  1134  1134 I DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2016-05-21 05:00:39.957 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.017  1134  1134 I DEBUG   : Build fingerprint: 'generic_x86_64/sdk_phone_x86_64/generic_x86_64:5.0.2/LSY66K/2781484:eng/test-keys'
2016-05-21 05:00:39.957 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.017  1134  1134 I DEBUG   : Revision: '0'
2016-05-21 05:00:39.958 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.017  1134  1134 I DEBUG   : ABI: 'x86_64'
2016-05-21 05:00:39.958 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.018  1134  1134 I DEBUG   : pid: 6124, tid: 6124, name: exe02498fa3e26b  >>> /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/bin/exe02498fa3e26b471eb180bf2ae2ec7918 <<<
2016-05-21 05:00:39.958 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.018  1134  1134 I DEBUG   : signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
2016-05-21 05:00:39.958 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.019  1134  1134 I DEBUG   :     rax c000000000000000  rbx 00007f165d0a2010  rcx 0000000000000000  rdx 0000203636383738
2016-05-21 05:00:39.958 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.019  1134  1134 I DEBUG   :     rsi 000101b1b1c1b9c1  rdi 0000000000000000
2016-05-21 05:00:39.958 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.019  1134  1134 I DEBUG   :     r8  038b934ba3337b98  r9  2030203636383738  r10 00000000ffffdfd0  r11 0000000000000000
2016-05-21 05:00:39.958 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.019  1134  1134 I DEBUG   :     r12 0000000000000001  r13 00007f165d09d960  r14 0000000000000000  r15 0000000000000000
2016-05-21 05:00:39.959 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.019  1134  1134 I DEBUG   :     cs  0000000000000033  ss  000000000000002b
2016-05-21 05:00:39.959 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.019  1134  1134 I DEBUG   :     rip 00007f165cdb6b34  rbp 00007fffb9eff960  rsp 00007fffb9eff8f0  eflags 0000000000010246
2016-05-21 05:00:39.959 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.020  1134  1134 I DEBUG   :
2016-05-21 05:00:39.959 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.020  1134  1134 I DEBUG   : backtrace:
2016-05-21 05:00:39.959 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.020  1134  1134 I DEBUG   :     #00 pc 000000000003ab34  /data/local/tmp/ndk-tests/x86_64/lib/libcrystax.so (sincosl+36)
2016-05-21 05:00:39.959 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.020  1134  1134 I DEBUG   :     #01 pc 000000000000099e  /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/bin/exe02498fa3e26b471eb180bf2ae2ec7918
2016-05-21 05:00:39.959 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.020  1134  1134 I DEBUG   :     #02 pc 000000000012a04c  /data/local/tmp/ndk-tests/x86_64/lib/libcrystax.so (__libc_init+92)
2016-05-21 05:00:39.959 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.021  1134  1134 I DEBUG   :     #03 pc 0000000000000933  /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/bin/exe02498fa3e26b471eb180bf2ae2ec7918
2016-05-21 05:00:39.960 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.021  1134  1134 I DEBUG   :     #04 pc 0000000000000000  <unknown>
2016-05-21 05:00:39.960 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.022  1498  1855 W NativeCrashListener: Couldn't find ProcessRecord for pid 6124
2016-05-21 05:00:39.960 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.039  1134  1134 I DEBUG   :
2016-05-21 05:00:39.960 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * 05-21 08:00:39.039  1134  1134 I DEBUG   : Tombstone written to: /data/tombstones/tombstone_02
2016-05-21 05:00:39.960 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * === END OF LOGCAT ===
2016-05-21 05:00:40.041 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    *
2016-05-21 05:00:40.042 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * === BEGIN OF NDK-STACK ===
2016-05-21 05:00:40.045 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * ********** Crash dump: **********
2016-05-21 05:00:40.045 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * Build fingerprint: 'generic_x86_64/sdk_phone_x86_64/generic_x86_64:5.0.2/LSY66K/2781484:eng/test-keys'
2016-05-21 05:00:40.045 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * pid: 6124, tid: 6124, name: exe02498fa3e26b  >>> /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b/bin/exe02498fa3e26b471eb180bf2ae2ec7918 <<<
2016-05-21 05:00:40.045 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * signal 11 (SIGSEGV), code 128 (SI_KERNEL), fault addr 0x0
2016-05-21 05:00:40.045 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * ndk-stack: /Users/crystax/.crystax/adbrunner/symbols/math_c-493433d4-0205-4131-a9b9-4892848aa0ae/libcrystax.so: File format not recognized
2016-05-21 05:00:40.046 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * Stack frame #00 pc 000000000003ab34  /data/local/tmp/ndk-tests/x86_64/lib/libcrystax.so (sincosl+36): Routine
2016-05-21 05:00:40.046 UTC:    > ## ADBRUNNER.51965 [emulator-5554]    * === END OF NDK-STACK ===
2016-05-21 05:00:40.049 UTC:    > ## ADBRUNNER.51965 [emulator-5554] ## COMMAND: /opt/android/android-sdk-mac/platform-tools/adb -s emulator-5554 shell rm -r /data/local/tmp/ndk-tests/x86_64/bbd9bd30-bb18-4cc3-9a5f-afcf190ed05b
2016-05-21 05:00:40.069 UTC:    > ## ADBRUNNER.51965 [emulator-5554] EXIT: 139 (took 0:00:01 on 'emulator-5554')
2016-05-21 05:00:40.069 UTC:    ---> FAILURE: TARGET TEST  [math] "math_c": $?=139

History

#1 Updated by Dmitry Moskalchuk almost 4 years ago

  • Target version set to 10.3.0

#2 Updated by Dmitry Moskalchuk over 3 years ago

  • Target version changed from 10.3.0 to 11.0.0

#3 Updated by Dmitry Moskalchuk almost 3 years ago

  • Description updated (diff)
  • CrystaX Version set to 10.3.1
  • Toolchain clang-3.6, clang-3.7, clang-3.8 added

Also available in: Atom PDF