Advertisement
roachsinai

Untitled

Aug 10th, 2022
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.16 KB | None | 0 0
  1. 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}}
  2. 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;
  3. 1: (62) Wait for connection completion.
  4. 1: (127) ->=thread-group-added,id="i1"
  5. 1: (127) ->~"GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2\n"
  6. 1: (127) ->~"Copyright (C) 2020 Free Software Foundation, Inc.\n"
  7. 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."
  8. 1: (127) ->~"\nType \"show copying\" and \"show warranty\" for details.\n"
  9. 1: (128) ->~"This GDB was configured as \"x86_64-linux-gnu\".\n"
  10. 1: (128) ->~"Type \"show configuration\" for configuration details.\n"
  11. 1: (128) ->~"For bug reporting instructions, please see:\n"
  12. 1: (128) ->~"<http://www.gnu.org/software/gdb/bugs/>.\n"
  13. 1: (128) ->~"Find the GDB manual and other documentation resources online at:\n <http://www.gnu.org/software/gdb/documentation/>."
  14. 1: (128) ->~"\n\n"
  15. 1: (128) ->~"For help, type \"help\".\n"
  16. 1: (128) ->~"Type \"apropos word\" to search for commands related to \"word\".\n"
  17. 1: (128) ->(gdb)
  18. 1: (130) <-1001-gdb-set target-async on
  19. 1: (131) ->1001^done
  20. 1: (131) ->(gdb)
  21. 1: (132) 1001: elapsed time 2
  22. 1: (138) <-1002-interpreter-exec console "set pagination off"
  23. 1: (138) ->=cmd-param-changed,param="pagination",value="off"
  24. 1: (138) ->1002^done
  25. 1: (138) ->(gdb)
  26. 1: (138) 1002: elapsed time 0
  27. 1: (138) <-1003-gdb-set auto-solib-add on
  28. 1: (138) ->1003^done
  29. 1: (138) ->(gdb)
  30. 1: (138) 1003: elapsed time 0
  31. 1: (138) <-1004-gdb-set solib-search-path /home/xq/office/pose_server/build/remote_server:
  32. 1: (138) ->1004^done
  33. 1: (138) ->(gdb)
  34. 1: (138) 1004: elapsed time 0
  35. 1: (138) <-1005-gdb-set stop-on-solib-events 1
  36. 1: (139) ->1005^done
  37. 1: (139) ->(gdb)
  38. 1: (139) 1005: elapsed time 0
  39. 1: (139) <-1006-environment-cd /home/xq/office/pose_server
  40. 1: (139) ->1006^done
  41. 1: (139) ->(gdb)
  42. 1: (139) 1006: elapsed time 0
  43. 1: (139) <-1007-file-exec-and-symbols /home/xq/office/pose_server/build/remote_server/remote_server
  44. 1: (166) ->1007^done
  45. 1: (166) ->(gdb)
  46. 1: (166) 1007: elapsed time 26
  47. 1: (167) <-1008-interpreter-exec console "show architecture"
  48. 1: (167) ->~"The target architecture is set automatically (currently i386:x86-64)\n"
  49. 1: (167) ->1008^done
  50. 1: (167) ->(gdb)
  51. 1: (167) 1008: elapsed time 0
  52. 1: (167) <-1009-break-insert -f main
  53. 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"}
  54. 1: (168) ->(gdb)
  55. 1: (170) 1009: elapsed time 2
  56. 1: (174) Send Event AD7EngineCreateEvent
  57. 1: (177) Send Event AD7ProgramCreateEvent
  58. 1: (191) ShellPid=1837800
  59. 1: (192) DebuggerPid=1837802
  60. 1: (277) <-1010-break-insert -f remote_server.cpp:44
  61. 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"}
  62. 1: (278) ->(gdb)
  63. 1: (278) 1010: elapsed time 0
  64. 1: (283) <-1011-symbol-list-lines /home/xq/office/pose_server/remote_server/remote_server.cpp
  65. 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"}]
  66. 1: (284) ->(gdb)
  67. 1: (284) 1011: elapsed time 1
  68. 1: (287) Send Event AD7BreakpointBoundEvent
  69. 1: (304) Send Event AD7LoadCompleteEvent
  70. =thread-group-added,id="i1"
  71. GNU gdb (Ubuntu 9.2-0ubuntu1~20.04.1) 9.2
  72. Copyright (C) 2020 Free Software Foundation, Inc.
  73. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  74. This is free software: you are free to change and redistribute it.
  75. There is NO WARRANTY, to the extent permitted by law.
  76. Type "show copying" and "show warranty" for details.
  77. This GDB was configured as "x86_64-linux-gnu".
  78. Type "show configuration" for configuration details.
  79. For bug reporting instructions, please see:
  80. <http://www.gnu.org/software/gdb/bugs/>.
  81. Find the GDB manual and other documentation resources online at:
  82. <http://www.gnu.org/software/gdb/documentation/>.
  83.  
  84. For help, type "help".
  85. Type "apropos word" to search for commands related to "word".
  86. Warning: Debuggee TargetArchitecture not detected, assuming x86_64.
  87. =cmd-param-changed,param="pagination",value="off"
  88. 1: (306) <-1012-exec-run
  89. 1: (306) ->=thread-group-started,id="i1",pid="1837809"
  90. 1: (306) ->=thread-created,id="1",group-id="i1"
  91. 1: (309) <-1013-thread-info 1
  92. 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"}]
  93. 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"
  94. 1: (319) ->(gdb)
  95. 1: (319) 1012: elapsed time 13
  96. 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"}]
  97. 1: (321) ->(gdb)
  98. 1: (321) 1013: elapsed time 12
  99. 1: (322) Send Event AD7MessageEvent
  100. 1: (325) Send Event AD7ProcessInfoUpdatedEvent
  101. 1: (330) Send Event AD7ThreadCreateEvent
  102. 1: (335) <--gdb-exit
  103. 1: (335) ->^exit
  104. 1: (335) ->=thread-exited,id="1",group-id="i1"
  105. 1: (335) ->=thread-group-exited,id="i1"
  106. 1: (339) Send Event AD7ProgramDestroyEvent
  107. The program '/home/xq/office/pose_server/build/remote_server/remote_server' has exited with code 42 (0x0000002a).
  108.  
  109. 1: (345) Send Event AD7ThreadDestroyEvent
  110. 1: (349) EXCEPTION: System.ObjectDisposedException
  111. 1: (349) EXCEPTION: at Microsoft.MIDebugEngine.WorkerThread.PostOperation(Operation op)
  112. 1: (349) EXCEPTION: at Microsoft.MIDebugEngine.DebuggedProcess.ScheduleStdOutProcessing(String line)
  113. 1: (349) EXCEPTION: at MICore.Debugger.HandleThreadGroupExited(Results results)
  114. 1: (349) EXCEPTION: at MICore.Debugger.OnNotificationOutput(String cmd)
  115. 1: (349) EXCEPTION: at MICore.Debugger.ProcessStdOutLine(String line)
  116. 1: (349) EXCEPTION: at Microsoft.MIDebugEngine.DebuggedProcess.<>c__DisplayClass93_0.<ScheduleStdOutProcessing>b__0()
  117. 1: (349) EXCEPTION: at Microsoft.MIDebugEngine.WorkerThread.ThreadFunc()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement