gdb
时间:2021-07-01 10:21:17
帮助过:4人阅读
-
1.149.el6_6.
9.x86_64 libgcc-
4.4.
7-
11.el6.x86_64 libstdc++-
4.4.
7-
11.el6.x86_64 zlib-
1.2.
3-
29.el6.x86_64
(gdb) bt
#0 0x00007f5de36f6625 in raise ()
from /lib64/libc.so.
6
#1 0x00007f5de36f7e05 in abort ()
from /lib64/libc.so.
6
#2 0x00007f5de4834a7d in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib64/libstdc++.so.
6
#3 0x00007f5de4832bd6 in ?? ()
from /usr/lib64/libstdc++.so.
6
#4 0x00007f5de4832c03 in std::terminate() ()
from /usr/lib64/libstdc++.so.
6
#5 0x00007f5de4832c86 in __cxa_rethrow ()
from /usr/lib64/libstdc++.so.
6
#6 0x000000000041817c in SharedPtr<TeacherObj, ReferenceCounter, ReleasePolicy<TeacherObj> >::deref (
this=
0x7f5ddabfcad0)
at /home/diego/work/branch0901_shengwang/rtqa_center/source/..
//source/tmbase/utils/include/SharedPtr.h:356
#
7 0x00000000004177c0 in SharedPtr<TeacherObj, ReferenceCounter, ReleasePolicy<TeacherObj> >::
operator-> (
this=
0x7f5ddabfcad0)
at /home/diego/work/branch0901_shengwang/rtqa_center/source/..
//source/tmbase/utils/include/SharedPtr.h:209
#
8 0x000000000041e7f6 in CmdTcGetMsp::OnCallBack (
this=
0x7f5db8000cb0, msg=
0x7f5db8002b70) at CmdTeacher.cpp:
208
#9 0x000000000040d40a in CommonHandler::OnResponse (
this=
0x7f5db80043e0, response=...) at BaseMsg.cpp:
77
#10 0x000000000040e672 in client::replyhandle (req=
0x7f5db8001400, arg=
0x7f5db80043e0) at client.cpp:
42
#11 0x00007f5de4ec4b41 in evhttp_connection_done (evcon=
0x7f5db8000f00) at http.c:
817
#12 0x00007f5de4ec5158 in evhttp_read_body (evcon=
0x7f5db8000f00, req=
0x7f5db8001400) at http.c:
964
#13 0x00007f5de4ec5858 in evhttp_get_body (evcon=
0x7f5db8000f00, req=
0x7f5db8001400) at http.c:
1969
#14 0x00007f5de4eb4ee5 in bufferevent_readcb (fd=<value optimized
out>,
event=<value optimized
out>, arg=
0x7f5db8001090) at bufferevent_sock.c:
186
#15 0x00007f5de4eace0c in event_process_active_single_queue (
base=
0x1b281a0, flags=
0) at
event.c:
1350
#16 event_process_active (
base=
0x1b281a0, flags=
0) at
event.c:
1420
#17 event_base_loop (
base=
0x1b281a0, flags=
0) at
event.c:
1621
#18 0x000000000040e817 in client::httpclient::runeventloop (arg=
0x1b281a0) at client.cpp:
65
#19 0x00007f5de4a839d1 in start_thread ()
from /lib64/libpthread.so.
0
#20 0x00007f5de37ac8fd in clone ()
from /lib64/libc.so.
6
(gdb) f 8
#8 0x000000000041e7f6 in CmdTcGetMsp::OnCallBack (
this=
0x7f5db8000cb0, msg=
0x7f5db8002b70) at CmdTeacher.cpp:
208
208 CmdTeacher.cpp: No such file or directory.
in CmdTeacher.cpp
(gdb)
(gdb) p httpRes
$1 = (OrderGetMspRes *)
0x7f5db8002b70
(gdb) p *
httpRes
$2 = {<HttpRespMsg> = {<BaseMsg> = {_vptr.BaseMsg =
0x51e790, msgType = BaseMsg::OR_GET_MSP, errNo =
0, errMsg =
""}, <No data fields>}, errorMsg =
"", statuscode =
1, msp =
4, operId =
"shengwang"}
(gdb) p st
$3 = {_pCounter =
0x7f5db4002b10, _ptr =
0x7f5db4001940}
(gdb) p *
st
Could not find operator*
.
(gdb) p tc
$4 = {_pCounter =
0x7f5dcc0017c0, _ptr =
0x0}
(gdb)
gdb
标签: