root@qemux86-64:/opt/tests/audiomanager# gdb ./AmControlInterfaceTest 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/AmControlInterfaceTest...(no debugging symbols found)...done. (gdb) run Starting program: /opt/tests/audiomanager/AmControlInterfaceTest 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 19 tests from 1 test case. [----------] Global test environment set-up. [----------] 19 tests from CAmControlInterfaceTest [ RUN ] CAmControlInterfaceTest.registerDomain [ OK ] CAmControlInterfaceTest.registerDomain (15 ms) [ RUN ] CAmControlInterfaceTest.deregisterDomain [ OK ] CAmControlInterfaceTest.deregisterDomain (10 ms) [ RUN ] CAmControlInterfaceTest.registerSink [ OK ] CAmControlInterfaceTest.registerSink (4 ms) [ RUN ] CAmControlInterfaceTest.deregisterSink [ OK ] CAmControlInterfaceTest.deregisterSink (3 ms) [ RUN ] CAmControlInterfaceTest.registerSource [ OK ] CAmControlInterfaceTest.registerSource (4 ms) [ RUN ] CAmControlInterfaceTest.deregisterSource [ OK ] CAmControlInterfaceTest.deregisterSource (3 ms) [ RUN ] CAmControlInterfaceTest.hookInterruptStatusChange Program received signal SIGSEGV, Segmentation fault. 0x0000000000473e8a in ?? () (gdb) gt Undefined command: "gt". Try "help". (gdb) bt #0 0x0000000000473e8a in ?? () #1 0x0000000000466bf6 in CAmControlInterfaceTest_hookInterruptStatusChange_Test::TestBody() () #2 0x00000000004fa2d4 in void testing::internal::HandleExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) () #3 0x00000000004f2d6c in ?? () #4 0x00000000004f2f25 in ?? () #5 0x00000000004f3085 in ?? () #6 0x00000000004f34d5 in testing::internal::UnitTestImpl::RunAllTests() () #7 0x00000000004fa724 in bool testing::internal::HandleExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) () #8 0x00000000004f37e5 in testing::UnitTest::Run() () #9 0x000000000045c02e in main () (gdb)