root@qemux86-64:/opt/tests/audiomanager# gdb ./AmRoutingInterfaceTest GNU gdb (GDB) 7.6 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-poky-linux". For bug reporting instructions, please see: ... Reading symbols from /opt/tests/audiomanager/AmRoutingInterfaceTest...(no debugging symbols found)...done. (gdb) run Starting program: /opt/tests/audiomanager/AmRoutingInterfaceTest warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff7ffd000 warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path /lib/libthread_db-1.0.so line to your configuration file "/home/root/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/home/root/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. [==========] Running 14 tests from 1 test case. [----------] Global test environment set-up. [----------] 14 tests from CAmRoutingInterfaceTest [ RUN ] CAmRoutingInterfaceTest.connectRace Program received signal SIGSEGV, Segmentation fault. 0x000000000046b189 in ?? () (gdb) bt #0 0x000000000046b189 in ?? () #1 0x00000000005074d5 in am::CAmRoutingReceiver::ackConnect(am::am_Handle_s, unsigned short, am::am_Error_e) () #2 0x0000000000461193 in CAmRoutingInterfaceTest_connectRace_Test::TestBody() () #3 0x00000000004e9994 in void testing::internal::HandleExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) () #4 0x00000000004e24fc in ?? () #5 0x00000000004e26b5 in ?? () #6 0x00000000004e2815 in ?? () #7 0x00000000004e2c65 in testing::internal::UnitTestImpl::RunAllTests() () #8 0x00000000004e9de4 in bool testing::internal::HandleExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) () #9 0x00000000004e2f75 in testing::UnitTest::Run() () #10 0x000000000045588e in main () (gdb)