Project

General

Profile

Actions

Bug #272

closed

Test device/test-gnustl_shared-exception failed to run

Added by Alexander Z. about 11 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
03/13/2013
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
x86
Host OS:
Linux, Mac OS X, Windows
Toolchain:
gcc-4.4.3
Android version:
CrystaX NDK Version:

Description

Sample output:

COMMAND: /opt/android/android-sdk-linux/platform-tools/adb -s emulator-5558 shell chmod 0755 /data/local/tmp/ndk-tests/libtest4_foo.so

Running device test [x86]: test-gnustl_shared-exception (Lib1_catching_lib2_throwing)
/opt/android/android-sdk-linux/platform-tools/adb -s "emulator-5558" shell "cd /data/local/tmp/ndk-tests && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests ./Lib1_catching_lib2_throwing"
terminate called after throwing an instance of 'std::runtime_error'
what(): OK: Throw in lib2, catch in lib1!
[1] Segmentation fault LD_LIBRARY_PATH=...
test-return-code:139
---> TEST FAILED!!
Running device test [x86]: test-gnustl_shared-exception (Lib_catching_lib_throwing)
/opt/android/android-sdk-linux/platform-tools/adb -s "emulator-5558" shell "cd /data/local/tmp/ndk-tests && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests ./Lib_catching_lib_throwing"
terminate called after throwing an instance of 'std::runtime_error'
what(): OK: Throw in lib, catch in lib!
[1] Segmentation fault LD_LIBRARY_PATH=...
test-return-code:139
---> TEST FAILED!!
Running device test [x86]: test-gnustl_shared-exception (exec_catching_lib2_throwing)
/opt/android/android-sdk-linux/platform-tools/adb -s "emulator-5558" shell "cd /data/local/tmp/ndk-tests && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests ./exec_catching_lib2_throwing"
terminate called after throwing an instance of 'std::runtime_error'
what(): OK: Throw in lib2, catch in exec!
[1] Segmentation fault LD_LIBRARY_PATH=...
test-return-code:139
---> TEST FAILED!!
Running device test [x86]: test-gnustl_shared-exception (exec_catching_lib_throwing)
/opt/android/android-sdk-linux/platform-tools/adb -s "emulator-5558" shell "cd /data/local/tmp/ndk-tests && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests ./exec_catching_lib_throwing"
terminate called after throwing an instance of 'std::runtime_error'
what(): OK: Throw in lib, catch in exec!
[1] Segmentation fault LD_LIBRARY_PATH=...
test-return-code:139
---> TEST FAILED!!
Running device test [x86]: test-gnustl_shared-exception (exec_throwing_lib_catching)
/opt/android/android-sdk-linux/platform-tools/adb -s "emulator-5558" shell "cd /data/local/tmp/ndk-tests && LD_LIBRARY_PATH=/data/local/tmp/ndk-tests ./exec_throwing_lib_catching"
link_image[1891]: 1809 could not load needed library 'libtest2_foo.so' for './exec_throwing_lib_catching' (reloc_library[1306]: 1809 cannot locate '_Z3foov'...
)CANNOT LINK EXECUTABLE
test-return-code:255
---> TEST FAILED!!

Actions

Also available in: Atom PDF