root@qemux86-64:/opt/tests/audiomanager# gdb ./AmMapHandlerTest 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/AmMapHandlerTest...(no debugging symbols found)...done. (gdb) run Starting program: /opt/tests/audiomanager/AmMapHandlerTest 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 102 tests from 2 test cases. [----------] Global test environment set-up. [----------] 86 tests from CAmMapHandlerTest [ RUN ] CAmMapHandlerTest.getMainConnectionInfo Program received signal SIGSEGV, Segmentation fault. 0x00000000004689e9 in am::CAmDatabaseObserver::newDomain(am::am_Domain_s const&) () (gdb) bt #0 0x00000000004689e9 in am::CAmDatabaseObserver::newDomain(am::am_Domain_s const&) () #1 0x000000000055b1cd in am::CAmDatabaseHandlerMap::enterDomainDB(am::am_Domain_s const&, unsigned short&) () #2 0x000000000048a00b in am::CAmMapBasicTest::SetUp() () #3 0x000000000051ff94 in void testing::internal::HandleExceptionsInMethodIfSupported(testing::Test*, void (testing::Test::*)(), char const*) () #4 0x0000000000518b12 in ?? () #5 0x0000000000518d35 in ?? () #6 0x0000000000518e95 in ?? () #7 0x00000000005192e5 in testing::internal::UnitTestImpl::RunAllTests() () #8 0x00000000005203e4 in bool testing::internal::HandleExceptionsInMethodIfSupported(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) () #9 0x00000000005195f5 in testing::UnitTest::Run() () #10 0x0000000000462a4e in main () (gdb)