- $ ntoaarch64-gdb EM EM.core
- GNU gdb (GDB) 8.2.1 [qnx710 r1522] (STABLE)
- Copyright (C) 2018 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- 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 "--host=x86_64-pc-linux-gnu --target=aarch64-unknown-nto-qnx7.1.0".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.qnx.com/support/bugreports>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from EM...done.
- warning: exec file is newer than core file.
- [New pid 4239431 tid 1]
- [New pid 4239431 tid 2]
- [New pid 4239431 tid 3]
- [New pid 4239431 tid 4]
- [New pid 4239431 tid 5]
- warning: Could not load shared library symbols for 7 libraries, e.g. /mnt/usr/lib64/libvxlog.so.
- Use the "info sharedlibrary" command to see the complete listing.
- Do you need "set solib-search-path" or "set sysroot"?
- Program terminated with signal SIGSEGV, Segmentation fault.
- #0 0x0000000000000000 in ?? ()
- [Current thread is 4 (pid 4239431 tid 4)]
- (gdb) bt
- #0 0x0000000000000000 in ?? ()
- #1 0x0000000078004e54 in nobo::infra::em::EMClient::CommProxyListener::onAlive (this=0x110d6b28, alive=true)
- at /home/zukeqiang/src/basic_service/EM/src/EMClient/EMClient.cpp:13
- #2 0x000000007802fff4 in nobo::infra::em::EMCommProxy::messageCallback (this=0x110efa08, msgid=65535, msg=0xffbc780)
- at /home/zukeqiang/src/basic_service/EM/src/EMCommAPI/EMCommProxy.cpp:77
- #3 0x000000007803394c in std::__1::__invoke<void (nobo::infra::em::EMCommProxy::*&)(unsigned int, CFdbMessage*), nobo::infra::em::EMCommProxy*&, unsigned int, CFdbMessage*, void> (__a0=@0x110d7b80: 0x110efa08, __f=
- @0x110d7b70: (void (nobo::infra::em::EMCommProxy::*)(nobo::infra::em::EMCommProxy * const, unsigned int, CFdbMessage *)) 0x7802fef8 <nobo::infra::em::EMCommProxy::messageCallback(unsigned int, CFdbMessage*)>)
- at /home/zukeqiang/src/qnx/qnx710_host/target/qnx7/usr/include/c++/v1/type_traits:4294
- #4 std::__1::__apply_functor<void (nobo::infra::em::EMCommProxy::*)(unsigned int, CFdbMessage*), std::__1::tuple<nobo::infra::em::EMCommProxy*, std::__1::placeholders::__ph<1>, std::__1::placeholders::__ph<2> >, 0ul, 1ul, 2ul, std::__1::tuple<unsigned int&&, CFdbMessage*&&> > (__args=..., __bound_args=..., __f=
- @0x110d7b70: (void (nobo::infra::em::EMCommProxy::*)(nobo::infra::em::EMCommProxy * const, unsigned int, CFdbMessage *)) 0x7802fef8 <nobo::infra::em::EMCommProxy::messageCallback(unsigned int, CFdbMessage*)>)
- at /home/zukeqiang/src/qnx/qnx710_host/target/qnx7/usr/include/c++/v1/functional:2644
- #5 std::__1::__bind<void (nobo::infra::em::EMCommProxy::*)(unsigned int, CFdbMessage*), nobo::infra::em::EMCommProxy*, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>::operator()<unsigned int, CFdbMessage*> (
- this=0x110d7b70) at /home/zukeqiang/src/qnx/qnx710_host/target/qnx7/usr/include/c++/v1/functional:2677
- #6 std::__1::__invoke<std::__1::__bind<void (nobo::infra::em::EMCommProxy::*)(unsigned int, CFdbMessage*), nobo::infra::em::EMCommProxy*, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>&, unsigned int, CFdbMessage*> (
- __f=...) at /home/zukeqiang/src/qnx/qnx710_host/target/qnx7/usr/include/c++/v1/type_traits:4353
- #7 std::__1::__invoke_void_return_wrapper<void>::__call<std::__1::__bind<void (nobo::infra::em::EMCommProxy::*)(unsigned int, CFdbMessage*), nobo::infra::em::EMCommProxy*, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>&, unsigned int, CFdbMessage*> (__args#0=..., __args#1=@0xffbc5b4: 65535, __args#2=@0xffbc5a8: 0xffbc780)
- at /home/zukeqiang/src/qnx/qnx710_host/target/qnx7/usr/include/c++/v1/__functional_base:349
- #8 0x00000000780330e8 in std::__1::__function::__alloc_func<std::__1::__bind<void (nobo::infra::em::EMCommProxy::*)(unsigned int, CFdbMessage*), nobo::infra::em::EMCommProxy*, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>, std::__1::allocator<std::__1::__bind<void (nobo::infra::em::EMCommProxy::*)(unsigned int, CFdbMessage*), nobo::infra::em::EMCommProxy*, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&> >, void (unsigned int, CFdbMessage*)>::operator()(unsigned int&&, CFdbMessage*&&) (__arg#1=@0xffbc5a8: 0xffbc780, __arg#0=@0xffbc5b4: 65535, this=0x110d7b70)
- at /home/zukeqiang/src/qnx/qnx710_host/target/qnx7/usr/include/c++/v1/functional:1527
- --Type <RET> for more, q to quit, c to continue without paging--
- #9 std::__1::__function::__policy_invoker<void (unsigned int, CFdbMessage*)>::__call_impl<std::__1::__function::__alloc_func<std::__1::__bind<void (nobo::infra::em::EMCommProxy::*)(unsigned int, CFdbMessage*), nobo::infra::em::EMCommProxy*, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&>, std::__1::allocator<std::__1::__bind<void (nobo::infra::em::EMCommProxy::*)(unsigned int, CFdbMessage*), nobo::infra::em::EMCommProxy*, std::__1::placeholders::__ph<1> const&, std::__1::placeholders::__ph<2> const&> >, void (unsigned int, CFdbMessage*)> >(std::__1::__function::__policy_storage const*, unsigned int, CFdbMessage*) (__buf=0x110d30c0, __args#0=65535, __args#1=0xffbc780)
- at /home/zukeqiang/src/qnx/qnx710_host/target/qnx7/usr/include/c++/v1/functional:2010
- #10 0x000000007803af60 in std::__1::__function::__policy_func<void (unsigned int, CFdbMessage*)>::operator()(unsigned int&&, CFdbMessage*&&) const (__args#1=@0xffbc628: 0xffbc780, __args#0=@0xffbc634: 65535, this=0x110d30c0)
- at /home/zukeqiang/src/qnx/qnx710_host/target/qnx7/usr/include/c++/v1/functional:2123
- #11 std::__1::function<void (unsigned int, CFdbMessage*)>::operator()(unsigned int, CFdbMessage*) const (this=0x110d30c0,
- __arg#0=65535, __arg#1=0xffbc780) at /home/zukeqiang/src/qnx/qnx710_host/target/qnx7/usr/include/c++/v1/functional:2347
- #12 0x0000000078038ecc in nobo::infra::em::FdbusCommProxy::onOnline (this=0x110d2f68, sid=1, is_first=true)
- at /home/zukeqiang/src/basic_service/EM/src/EMCommAPI/FdbusCommProxy.cpp:37
- #13 0x00000000788887a8 in ?? ()
- Backtrace stopped: previous frame identical to this frame (corrupt stack?)
- (gdb)
此时可以看到大部分栈的信息了,找不到符号的提示也不见了。