Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1: (36) LaunchOptions{"name":"gdb: Launch","type":"cppdbg","request":"launch","justMyCode":false,"program":"/home/xq/office/pose_server/build/remote_server/remote_server","cwd":"/home/xq/office/pose_server","console":"integratedTerminal","miDebuggerPath":"/usr/bin/gdb","MIMode":"gdb","logging":{"engineLogging":true}}
- 1: (56) DbgCmd:echo $$ > /tmp/Microsoft-MIEngine-Pid-iwp0ta4z.hzw ; cd "/home/xq/office/pose_server/build/remote_server" ; DbgTerm=`tty` ; set -o monitor ; trap 'rm "/tmp/Microsoft-MIEngine-In-n5lfbmis.gc2" "/tmp/Microsoft-MIEngine-Out-fwthzicz.e3q" "/tmp/Microsoft-MIEngine-Pid-iwp0ta4z.hzw" "/tmp/Microsoft-MIEngine-Cmd-wlwhlqpo.kgz"' EXIT ; "/usr/bin/gdb" --interpreter=mi --tty=$DbgTerm < "/tmp/Microsoft-MIEngine-In-n5lfbmis.gc2" > "/tmp/Microsoft-MIEngine-Out-fwthzicz.e3q" & clear; pid=$! ; echo $pid > "/tmp/Microsoft-MIEngine-Pid-iwp0ta4z.hzw" ; wait $pid;
- 1: (62) Wait for connection completion.
- 1: (127) ->=thread-group-added,id="i1"
- 1: (127) ->~"GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2\n"
- 1: (127) ->~"Copyright (C) 2020 Free Software Foundation, Inc.\n"
- 1: (127) ->~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
- 1: (127) ->~"\nType \"show copying\" and \"show warranty\" for details.\n"
- 1: (128) ->~"This GDB was configured as \"x86_64-linux-gnu\".\n"
- 1: (128) ->~"Type \"show configuration\" for configuration details.\n"
- 1: (128) ->~"For bug reporting instructions, please see:\n"
- 1: (128) ->~"<http://www.gnu.org/software/gdb/bugs/>.\n"
- 1: (128) ->~"Find the GDB manual and other documentation resources online at:\n <http://www.gnu.org/software/gdb/documentation/>."
- 1: (128) ->~"\n\n"
- 1: (128) ->~"For help, type \"help\".\n"
- 1: (128) ->~"Type \"apropos word\" to search for commands related to \"word\".\n"
- 1: (128) ->(gdb)
- 1: (130) <-1001-gdb-set target-async on
- 1: (131) ->1001^done
- 1: (131) ->(gdb)
- 1: (132) 1001: elapsed time 2
- 1: (138) <-1002-interpreter-exec console "set pagination off"
- 1: (138) ->=cmd-param-changed,param="pagination",value="off"
- 1: (138) ->1002^done
- 1: (138) ->(gdb)
- 1: (138) 1002: elapsed time 0
- 1: (138) <-1003-gdb-set auto-solib-add on
- 1: (138) ->1003^done
- 1: (138) ->(gdb)
- 1: (138) 1003: elapsed time 0
- 1: (138) <-1004-gdb-set solib-search-path /home/xq/office/pose_server/build/remote_server:
- 1: (138) ->1004^done
- 1: (138) ->(gdb)
- 1: (138) 1004: elapsed time 0
- 1: (138) <-1005-gdb-set stop-on-solib-events 1
- 1: (139) ->1005^done
- 1: (139) ->(gdb)
- 1: (139) 1005: elapsed time 0
- 1: (139) <-1006-environment-cd /home/xq/office/pose_server
- 1: (139) ->1006^done
- 1: (139) ->(gdb)
- 1: (139) 1006: elapsed time 0
- 1: (139) <-1007-file-exec-and-symbols /home/xq/office/pose_server/build/remote_server/remote_server
- 1: (166) ->1007^done
- 1: (166) ->(gdb)
- 1: (166) 1007: elapsed time 26
- 1: (167) <-1008-interpreter-exec console "show architecture"
- 1: (167) ->~"The target architecture is set automatically (currently i386:x86-64)\n"
- 1: (167) ->1008^done
- 1: (167) ->(gdb)
- 1: (167) 1008: elapsed time 0
- 1: (167) <-1009-break-insert -f main
- 1: (168) ->1009^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000011d5c",func="main(int, char**)",file="/home/xq/office/pose_server/remote_server/remote_server.cpp",fullname="/home/xq/office/pose_server/remote_server/remote_server.cpp",line="98",thread-groups=["i1"],times="0",original-location="main"}
- 1: (168) ->(gdb)
- 1: (170) 1009: elapsed time 2
- 1: (174) Send Event AD7EngineCreateEvent
- 1: (177) Send Event AD7ProgramCreateEvent
- 1: (191) ShellPid=1837800
- 1: (192) DebuggerPid=1837802
- 1: (277) <-1010-break-insert -f remote_server.cpp:44
- 1: (278) ->1010^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x000000000001498f",func="RemoteInferenceHandler::Video2DPredictionController(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)",file="/home/xq/office/pose_server/remote_server/remote_server.cpp",fullname="/home/xq/office/pose_server/remote_server/remote_server.cpp",line="44",thread-groups=["i1"],times="0",original-location="remote_server.cpp:44"}
- 1: (278) ->(gdb)
- 1: (278) 1010: elapsed time 0
- 1: (283) <-1011-symbol-list-lines /home/xq/office/pose_server/remote_server/remote_server.cpp
- 1: (283) ->1011^done,lines=[{pc="0x0000000000011d5c",line="98"},{pc="0x0000000000011d7b",line="98"},{pc="0x0000000000011d8a",line="99"},{pc="0x0000000000011d94",line="100"},{pc="0x0000000000011db0",line="100"},{pc="0x0000000000011dc6",line="101"},{pc="0x0000000000011de6",line="101"},{pc="0x0000000000011e27",line="102"},{pc="0x0000000000011e3c",line="102"},{pc="0x0000000000011e4e",line="105"},{pc="0x0000000000011e67",line="107"},{pc="0x0000000000011e81",line="107"},{pc="0x0000000000011e93",line="108"},{pc="0x0000000000011ea5",line="108"},{pc="0x0000000000011eaf",line="108"},{pc="0x0000000000011ee7",line="109"},{pc="0x0000000000011f05",line="110"},{pc="0x0000000000011f3c",line="112"},{pc="0x0000000000011f6a",line="113"},{pc="0x0000000000011f79",line="114"},{pc="0x0000000000011f7e",line="112"},{pc="0x0000000000011f8d",line="110"},{pc="0x0000000000011f9c",line="107"},{pc="0x0000000000011fab",line="105"},{pc="0x0000000000011fba",line="102"},{pc="0x0000000000011fc9",line="101"},{pc="0x0000000000011fd8",line="100"},{pc="0x0000000000011fe9",line="115"},{pc="0x0000000000012008",line="100"},{pc="0x000000000001202b",line="101"},{pc="0x0000000000012060",line="108"},{pc="0x0000000000012078",line="110"},{pc="0x0000000000012092",line="112"},{pc="0x00000000000120aa",line="110"},{pc="0x00000000000120c2",line="107"},{pc="0x00000000000120da",line="105"},{pc="0x00000000000120f2",line="102"},{pc="0x000000000001210a",line="101"},{pc="0x0000000000012119",line="100"},{pc="0x0000000000012133",line="115"},{pc="0x0000000000012144",line="115"},{pc="0x0000000000012156",line="115"},{pc="0x0000000000012165",line="0"},{pc="0x000000000001218e",line="115"},{pc="0x0000000000012191",line="115"},{pc="0x0000000000012199",line="115"},{pc="0x00000000000121aa",line="0"},{pc="0x000000000001474a",line="21"},{pc="0x000000000001475b",line="21"},{pc="0x000000000001476a",line="21"},{pc="0x00000000000147c8",line="23"},{pc="0x00000000000147e1",line="21"},{pc="0x0000000000014804",line="23"},{pc="0x0000000000014810",line="0"},{pc="0x0000000000014810",line="25"},{pc="0x0000000000014828",line="25"},{pc="0x0000000000014837",line="26"},{pc="0x000000000001483f",line="26"},{pc="0x0000000000014852",line="27"},{pc="0x000000000001486e",line="28"},{pc="0x000000000001487a",line="29"},{pc="0x000000000001488e",line="26"},{pc="0x000000000001489a",line="30"},{pc="0x00000000000148b3",line="26"},{pc="0x00000000000148ca",line="30"},{pc="0x00000000000148d6",line="25"},{pc="0x00000000000148e6",line="0"},{pc="0x00000000000148e6",line="32"},{pc="0x00000000000148fa",line="33"},{pc="0x0000000000014909",line="34"},{pc="0x0000000000014915",line="35"},{pc="0x0000000000014918",line="36"},{pc="0x000000000001491a",line="32"},{pc="0x0000000000014927",line="0"},{pc="0x0000000000014928",line="38"},{pc="0x000000000001493d",line="39"},{pc="0x0000000000014948",line="40"},{pc="0x0000000000014954",line="41"},{pc="0x0000000000014957",line="38"},{pc="0x0000000000014964",line="0"},{pc="0x0000000000014964",line="43"},{pc="0x0000000000014980",line="43"},{pc="0x000000000001498f",line="44"},{pc="0x00000000000149a5",line="45"},{pc="0x00000000000149ad",line="45"},{pc="0x00000000000149c0",line="46"},{pc="0x00000000000149c8",line="46"},{pc="0x00000000000149db",line="47"},{pc="0x00000000000149ef",line="48"},{pc="0x0000000000014a03",line="49"},{pc="0x0000000000014a31",line="50"},{pc="0x0000000000014a47",line="51"},{pc="0x0000000000014a48",line="46"},{pc="0x0000000000014a54",line="45"},{pc="0x0000000000014a60",line="51"},{pc="0x0000000000014a61",line="52"},{pc="0x0000000000014a79",line="46"},{pc="0x0000000000014a8e",line="45"},{pc="0x0000000000014aa5",line="52"},{pc="0x0000000000014ab1",line="43"},{pc="0x0000000000014ac1",line="0"},{pc="0x0000000000014ac2",line="54"},{pc="0x0000000000014ade",line="54"},{pc="0x0000000000014aed",line="55"},{pc="0x0000000000014b03",line="56"},{pc="0x0000000000014b0b",line="56"},{pc="0x0000000000014b1e",line="57"},{pc="0x0000000000014b26",line="57"},{pc="0x0000000000014b39",line="58"},{pc="0x0000000000014b67",line="59"},{pc="0x0000000000014b7d",line="60"},{pc="0x0000000000014b7e",line="57"},{pc="0x0000000000014b8a",line="56"},{pc="0x0000000000014b96",line="60"},{pc="0x0000000000014b97",line="61"},{pc="0x0000000000014baf",line="57"},{pc="0x0000000000014bc4",line="56"},{pc="0x0000000000014bdb",line="61"},{pc="0x0000000000014be7",line="54"},{pc="0x0000000000014bf7",line="0"},{pc="0x0000000000014bf8",line="63"},{pc="0x0000000000014c08",line="65"},{pc="0x0000000000014c10",line="66"},{pc="0x0000000000014c1c",line="67"},{pc="0x0000000000014c1f",line="68"},{pc="0x0000000000014c21",line="63"},{pc="0x0000000000014c2e",line="0"},{pc="0x0000000000014c2e",line="70"},{pc="0x0000000000014c44",line="71"},{pc="0x0000000000014c56",line="72"},{pc="0x0000000000014c62",line="73"},{pc="0x0000000000014c66",line="74"},{pc="0x0000000000014c68",line="70"},{pc="0x0000000000014c75",line="0"},{pc="0x0000000000014c76",line="76"},{pc="0x0000000000014c8c",line="77"},{pc="0x0000000000014c98",line="78"},{pc="0x0000000000014caa",line="79"},{pc="0x0000000000014cad",line="80"},{pc="0x0000000000014caf",line="76"},{pc="0x0000000000014cbc",line="0"},{pc="0x0000000000014cbc",line="82"},{pc="0x0000000000014ccc",line="83"},{pc="0x0000000000014cd4",line="84"},{pc="0x0000000000014ce0",line="85"},{pc="0x0000000000014ce4",line="86"},{pc="0x0000000000014ce6",line="82"},{pc="0x0000000000014cf3",line="0"},{pc="0x0000000000014cf4",line="88"},{pc="0x0000000000014d04",line="89"},{pc="0x0000000000014d09",line="90"},{pc="0x0000000000014d15",line="91"},{pc="0x0000000000014d18",line="88"},{pc="0x0000000000014d25",line="0"},{pc="0x00000000000182b6",line="19"},{pc="0x00000000000182c6",line="19"},{pc="0x0000000000018301",line="19"},{pc="0x000000000001830e",line="0"},{pc="0x000000000001830e",line="19"},{pc="0x000000000001831e",line="19"},{pc="0x000000000001833d",line="19"},{pc="0x000000000001834a",line="0"}]
- 1: (284) ->(gdb)
- 1: (284) 1011: elapsed time 1
- 1: (287) Send Event AD7BreakpointBoundEvent
- 1: (304) Send Event AD7LoadCompleteEvent
- =thread-group-added,id="i1"
- GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
- Copyright (C) 2020 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 "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- 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".
- Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
- =cmd-param-changed,param="pagination",value="off"
- 1: (306) <-1012-exec-run
- 1: (306) ->=thread-group-started,id="i1",pid="1837809"
- 1: (306) ->=thread-created,id="1",group-id="i1"
- 1: (309) <-1013-thread-info 1
- 1: (311) ->=library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007ffff7fd0100",to="0x00007ffff7ff2684"}]
- 1: (319) ->1012^error,msg="Warning:\nCannot insert breakpoint 1.\nCannot access memory at address 0x11d5c\nCannot insert breakpoint 2.\nCannot access memory at address 0x1498f\n"
- 1: (319) ->(gdb)
- 1: (319) 1012: elapsed time 13
- 1: (321) ->1013^done,threads=[{id="1",target-id="process 1837809",name="AppRun",frame={level="0",addr="0x00007ffff7fd0100",func="_start",args=[],from="/lib64/ld-linux-x86-64.so.2",arch="i386:x86-64"},state="stopped",core="14"}]
- 1: (321) ->(gdb)
- 1: (321) 1013: elapsed time 12
- 1: (322) Send Event AD7MessageEvent
- 1: (325) Send Event AD7ProcessInfoUpdatedEvent
- 1: (330) Send Event AD7ThreadCreateEvent
- 1: (335) <--gdb-exit
- 1: (335) ->^exit
- 1: (335) ->=thread-exited,id="1",group-id="i1"
- 1: (335) ->=thread-group-exited,id="i1"
- 1: (339) Send Event AD7ProgramDestroyEvent
- The program '/home/xq/office/pose_server/build/remote_server/remote_server' has exited with code 42 (0x0000002a).
- 1: (345) Send Event AD7ThreadDestroyEvent
- 1: (349) EXCEPTION: System.ObjectDisposedException
- 1: (349) EXCEPTION: at Microsoft.MIDebugEngine.WorkerThread.PostOperation(Operation op)
- 1: (349) EXCEPTION: at Microsoft.MIDebugEngine.DebuggedProcess.ScheduleStdOutProcessing(String line)
- 1: (349) EXCEPTION: at MICore.Debugger.HandleThreadGroupExited(Results results)
- 1: (349) EXCEPTION: at MICore.Debugger.OnNotificationOutput(String cmd)
- 1: (349) EXCEPTION: at MICore.Debugger.ProcessStdOutLine(String line)
- 1: (349) EXCEPTION: at Microsoft.MIDebugEngine.DebuggedProcess.<>c__DisplayClass93_0.<ScheduleStdOutProcessing>b__0()
- 1: (349) EXCEPTION: at Microsoft.MIDebugEngine.WorkerThread.ThreadFunc()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement