[Lldb-commits] [lldb] [lldb][test] Add test for qSymbol handling (PR #200411)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Jun 1 06:49:57 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 33576 tests passed
* 531 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### lldb-api
<details>
<summary>lldb-api.functionalities/gdb_remote_client/TestQSymbol.py</summary>
```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --triple x86_64-unknown-linux-gnu --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/gdb_remote_client -p TestQSymbol.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project revision 482469c233730df7f1d2b20fde212579676f70b7)
clang revision 482469c233730df7f1d2b20fde212579676f70b7
llvm revision 482469c233730df7f1d2b20fde212579676f70b7
python3 0x327e56b0 Platform::Platform()
python3 0x3267f190 Module::Module((aarch64) '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_elf')
python3 0x324f2480 ObjectFile::ObjectFile() module = 0x3267f190 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_elf), file = /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_elf, file_offset = 0x00000000, size = 592
python3 0x00000000327E7060 Broadcaster::Broadcaster("lldb.target")
python3 0x00000000327E6E30 Target::Target()
python3 Target::Target created with architecture aarch64 (aarch64--)
python3 0x0000000032883E10 Broadcaster::Broadcaster("lldb.ScriptInterpreterIORedirect.comm")
python3 0x0000000032883DC8 ThreadedCommunication::ThreadedCommunication (name = lldb.ScriptInterpreterIORedirect.comm)
python3 0x0000000032883DC8 ThreadedCommunication::~ThreadedCommunication (name = lldb.ScriptInterpreterIORedirect.comm)
python3 0x0000000032883E10 Broadcaster::~Broadcaster("lldb.ScriptInterpreterIORedirect.comm")
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 0x00000000328040F8 Broadcaster::Broadcaster("lldb.process")
python3 0x0000000032804168 Broadcaster::Broadcaster("lldb.process.internal_state_broadcaster")
python3 0x00000000328041B0 Broadcaster::Broadcaster("lldb.process.internal_state_control_broadcaster")
python3 0x327e5320 Listener::Listener('lldb.process.internal_state_listener')
python3 0x0000000032804718 Broadcaster::Broadcaster("process.stdio")
python3 0x00000000328046D0 ThreadedCommunication::ThreadedCommunication (name = process.stdio)
python3 0x328040c0 Process::Process()
python3 0x0000000032804DE0 Broadcaster::Broadcaster("gdb-remote.client")
python3 0x00000000328052A0 Broadcaster::Broadcaster("lldb.process.gdb-remote.async-broadcaster")
python3 0x327e4f70 Listener::Listener('lldb.process.gdb-remote.async-listener')
python3 0x327566e0 ConnectionFileDescriptor::ConnectionFileDescriptor ()
python3 < 1> send packet: +
python3 history[1] tid=0x74953 < 1> send packet: +
python3 < 19> send packet: $QStartNoAckMode#b0
python3 < 1> read packet: +
python3 < 6> read packet: $OK#9a
python3 < 1> send packet: +
python3 < 104> send packet: $qSupported:xmlRegisters=i386,arm,mips,arc;multiprocess+;fork-events+;vfork-events+;swbreak+;hwbreak+#cd
python3 < 57> read packet: $qXfer:features:read+;PacketSize=3fff;QStartNoAckMode+#86
python3 < 26> send packet: $QThreadSuffixSupported#e4
python3 < 4> read packet: $#00
python3 < 27> send packet: $QListThreadsInStopReply#21
python3 < 4> read packet: $#00
python3 < 13> send packet: $qHostInfo#9b
python3 < 28> read packet: $ptrsize:8;endian:little;#30
python3 < 10> send packet: $vCont?#49
python3 < 4> read packet: $#00
python3 < 27> send packet: $qVAttachOrWaitSupported#38
python3 < 4> read packet: $#00
python3 < 23> send packet: $QEnableErrorStrings#8c
python3 < 6> read packet: $OK#9a
python3 < 16> send packet: $qProcessInfo#dc
python3 < 4> read packet: $#00
python3 < 6> send packet: $qC#b4
python3 < 7> read packet: $QC0#c4
python3 < 16> send packet: $qfThreadInfo#bb
python3 < 5> read packet: $l#6c
python3 < 5> send packet: $?#3f
python3 < 7> read packet: $S02#b5
python3 < 16> send packet: $qProcessInfo#dc
python3 < 4> read packet: $#00
python3 < 18> send packet: $qRegisterInfo0#72
python3 < 4> read packet: $#00
python3 < 16> send packet: $qfThreadInfo#bb
python3 < 5> read packet: $l#6c
python3 0x0000000032759CF8 Broadcaster::Broadcaster("lldb.thread")
python3 0x32759cc0 Thread::Thread(tid = 0x0001)
python3 < 7> send packet: $Hg1#e0
python3 < 6> read packet: $OK#9a
python3 < 6> send packet: $p0#a0
python3 < 12> read packet: $00000000#80
python3 (plugin = gdb-remote, state = stopped)
python3 (plugin = gdb-remote, state = stopped, stop_id = 1
python3 timeout = <infinite>, event_sp)...
python3 timeout = <infinite>, event_sp) => stopped
python3 Process::CompleteAttach()
python3 < 16> send packet: $qProcessInfo#dc
python3 < 4> read packet: $#00
python3 < 16> send packet: $qProcessInfo#dc
python3 < 4> read packet: $#00
python3 < 16> send packet: $qProcessInfo#dc
python3 < 4> read packet: $#00
python3 < 12> send packet: $qOffsets#4b
python3 < 4> read packet: $#00
python3 < 26> send packet: $qStructuredDataPlugins#02
python3 < 4> read packet: $#00
python3 0x0000000032883E10 Broadcaster::Broadcaster("lldb.ScriptInterpreterIORedirect.comm")
python3 0x0000000032883DC8 ThreadedCommunication::ThreadedCommunication (name = lldb.ScriptInterpreterIORedirect.comm)
python3 0x0000000032883DC8 ThreadedCommunication::~ThreadedCommunication (name = lldb.ScriptInterpreterIORedirect.comm)
python3 0x0000000032883E10 Broadcaster::~Broadcaster("lldb.ScriptInterpreterIORedirect.comm")
python3 < 13> send packet: $qSymbol::#5b
python3 < 20> read packet: $qSymbol:6d61696e#2c
python3 < 25> send packet: $qSymbol:1000:6d61696e#27
python3 < 38> read packet: $qSymbol:6c6f63616c5f61646472657373#3d
python3 < 43> send packet: $qSymbol:1004:6c6f63616c5f61646472657373#3c
python3 < 36> read packet: $qSymbol:676c6f62616c5f76616c7565#0a
python3 < 37> send packet: $qSymbol::676c6f62616c5f76616c7565#44
python3 < 34> read packet: $qSymbol:6c6f63616c5f76616c7565#9e
python3 < 35> send packet: $qSymbol::6c6f63616c5f76616c7565#d8
python3 < 36> read packet: $qSymbol:6e6f745f615f73796d626f6c#71
python3 < 37> send packet: $qSymbol::6e6f745f615f73796d626f6c#ab
python3 < 6> read packet: $OK#9a
python3 after DynamicLoader::DidAttach(), target executable is /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_elf (using static plugin)
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 0x327e4940 Listener::Listener('ThreadedCommunication::SyncronizeWithReadThread')
python3 0x327e4940 Listener::~Listener('ThreadedCommunication::SyncronizeWithReadThread')
python3 < 16> send packet: $qfThreadInfo#bb
python3 < 5> read packet: $l#6c
python3 < 16> send packet: $qfThreadInfo#bb
python3 < 5> read packet: $l#6c
python3 < 7> send packet: $p20#d2
python3 < 12> read packet: $00000000#80
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 Process::ShouldBroadcastEvent (0x327a68b0) => new state: stopped, last broadcast state: stopped - YES
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 Process::HandlePrivateEvent (pid = 1) broadcasting new state stopped (old state stopped) to public
python3 (plugin = gdb-remote, state = stopped, restarted = 0)
python3 Process::ControlPrivateStateThread (signal = 4)
python3 Sending control event of type: 4.
intern-state Process::RunPrivateStateThread (arg = 0x328040c0, pid = 1) thread starting...
intern-state timeout = <infinite>, event_sp)...
intern-state Process::RunPrivateStateThread (arg = 0x328040c0, pid = 1) got a control event: 4
intern-state timeout = <infinite>, event_sp)...
python3 (plugin = gdb-remote, state = stopped, restarted = 0)
python3 < 16> send packet: $jThreadsInfo#c1
python3 < 4> read packet: $#00
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 < 7> send packet: $p20#d2
python3 < 12> read packet: $00000000#80
python3 < 7> send packet: $p1f#07
python3 < 12> read packet: $00000000#80
python3 < 7> send packet: $p20#d2
python3 < 12> read packet: $00000000#80
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 < 5> send packet: $k#6b
python3 < 7> read packet: $W01#b8
python3 (plugin = gdb-remote status = 1 (0x00000001), description="killed")
python3 (plugin = gdb-remote, state = exited)
python3 (plugin = gdb-remote, state = exited, stop_id = 2
intern-state 0x7df1b4000d70 Listener::Listener('ThreadedCommunication::SyncronizeWithReadThread')
intern-state 0x7df1b4000d70 Listener::~Listener('ThreadedCommunication::SyncronizeWithReadThread')
intern-state Process::ShouldBroadcastEvent (0x327a68b0) => new state: exited, last broadcast state: exited - YES
intern-state policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
intern-state Process::HandlePrivateEvent (pid = 1) broadcasting new state exited (old state exited) to public
intern-state Process::RunPrivateStateThread (arg = 0x328040c0, pid = 1) about to exit with internal state exited...
intern-state Process::RunPrivateStateThread (arg = 0x328040c0, pid = 1) thread exiting...
python3 Process::ControlPrivateStateThread (signal = 1)
python3 Sending control event of type: 1.
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 (plugin = gdb-remote status = 6 (0x00000006), description="destroying when not connected to debugserver")
python3 (plugin = gdb-remote) ignoring exit status because state was already set to eStateExited
python3 Went to stop the private state thread, but it was already invalid.
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 (plugin = gdb-remote status = 6 (0x00000006), description="destroying when not connected to debugserver")
python3 (plugin = gdb-remote) ignoring exit status because state was already set to eStateExited
python3 Went to stop the private state thread, but it was already invalid.
python3 0x327e5320 Listener::Clear('lldb.process.internal_state_listener')
python3 0x32759cc0 Thread::~Thread(tid = 0x0001)
python3 0x0000000032759CF8 Broadcaster::~Broadcaster("lldb.thread")
python3 0x327e4f70 Listener::~Listener('lldb.process.gdb-remote.async-listener')
python3 0x00000000328052A0 Broadcaster::~Broadcaster("lldb.process.gdb-remote.async-broadcaster")
python3 0x0000000032804DE0 Broadcaster::~Broadcaster("gdb-remote.client")
python3 0x327566e0 ConnectionFileDescriptor::~ConnectionFileDescriptor ()
python3 0x328040c0 Process::~Process()
python3 Went to stop the private state thread, but it was already invalid.
python3 0x00000000328046D0 ThreadedCommunication::~ThreadedCommunication (name = process.stdio)
python3 0x0000000032804718 Broadcaster::~Broadcaster("process.stdio")
python3 0x327e5320 Listener::~Listener('lldb.process.internal_state_listener')
python3 0x00000000328041B0 Broadcaster::~Broadcaster("lldb.process.internal_state_control_broadcaster")
python3 0x0000000032804168 Broadcaster::~Broadcaster("lldb.process.internal_state_broadcaster")
python3 0x00000000328040F8 Broadcaster::~Broadcaster("lldb.process")
python3 0x00000000327E6E30 Target::~Target()
python3 0x00000000327E7060 Broadcaster::~Broadcaster("lldb.target")
python3 0x32696450 Listener::Clear('lldb.Debugger')
python3 0x00000000327ADA30 Target::~Target()
python3 0x00000000327ADC60 Broadcaster::~Broadcaster("lldb.target")
python3 0x000000003285E1C0 Broadcaster::~Broadcaster("lldb.debugger")
python3 0x000000003285E178 Broadcaster::~Broadcaster("lldb.debugger.sync")
python3 0x00000000326CE360 Broadcaster::~Broadcaster("lldb.commandInterpreter")
python3 0x32696450 Listener::~Listener('lldb.Debugger')
python3 0x000000003285DD98 Broadcaster::~Broadcaster("lldb.targetList")
python3 0x3267f190 Module::~Module((aarch64) '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_elf')
python3 0x324f2480 ObjectFile::~ObjectFile ()
python3 0x00000000327AFAD8 Broadcaster::Broadcaster("lldb.targetList")
python3 0x327e4a60 Listener::Listener('lldb.Debugger')
python3 0x00000000326CE360 Broadcaster::Broadcaster("lldb.commandInterpreter")
python3 0x00000000327AFEB8 Broadcaster::Broadcaster("lldb.debugger.sync")
python3 0x00000000327AFF00 Broadcaster::Broadcaster("lldb.debugger")
python3 0x000000003269A400 Broadcaster::Broadcaster("lldb.target")
python3 0x000000003269A1D0 Target::Target()
python3 Target::Target created with architecture x86_64 (x86_64--linux-gnu)
python3 0x328a83f0 Platform::Platform()
python3 0x328a83f0 Platform::Platform()
python3 0x326b4d10 Module::Module((arm64) '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_macho')
python3 0x3271dc60 ObjectFile::ObjectFile() module = 0x326b4d10 (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_macho), file = /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_macho, file_offset = 0x00000000, size = 4216
python3 0x0000000032720180 Broadcaster::Broadcaster("lldb.target")
python3 0x000000003271FF50 Target::Target()
python3 Target::Target created with architecture arm64 (arm64-apple-)
python3 0x00000000327A9FF0 Broadcaster::Broadcaster("lldb.ScriptInterpreterIORedirect.comm")
python3 0x00000000327A9FA8 ThreadedCommunication::ThreadedCommunication (name = lldb.ScriptInterpreterIORedirect.comm)
python3 0x00000000327A9FA8 ThreadedCommunication::~ThreadedCommunication (name = lldb.ScriptInterpreterIORedirect.comm)
python3 0x00000000327A9FF0 Broadcaster::~Broadcaster("lldb.ScriptInterpreterIORedirect.comm")
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 0x000000003269EE58 Broadcaster::Broadcaster("lldb.process")
python3 0x000000003269EEC8 Broadcaster::Broadcaster("lldb.process.internal_state_broadcaster")
python3 0x000000003269EF10 Broadcaster::Broadcaster("lldb.process.internal_state_control_broadcaster")
python3 0x3271fe30 Listener::Listener('lldb.process.internal_state_listener')
python3 0x000000003269F478 Broadcaster::Broadcaster("process.stdio")
python3 0x000000003269F430 ThreadedCommunication::ThreadedCommunication (name = process.stdio)
python3 0x3269ee20 Process::Process()
python3 0x000000003269FB40 Broadcaster::Broadcaster("gdb-remote.client")
python3 0x00000000326A0000 Broadcaster::Broadcaster("lldb.process.gdb-remote.async-broadcaster")
python3 0x3271f3b0 Listener::Listener('lldb.process.gdb-remote.async-listener')
python3 0x327bdae0 ConnectionFileDescriptor::ConnectionFileDescriptor ()
python3 < 1> send packet: +
python3 history[1] tid=0x74953 < 1> send packet: +
python3 < 19> send packet: $QStartNoAckMode#b0
python3 < 1> read packet: +
python3 < 6> read packet: $OK#9a
python3 < 1> send packet: +
python3 < 104> send packet: $qSupported:xmlRegisters=i386,arm,mips,arc;multiprocess+;fork-events+;vfork-events+;swbreak+;hwbreak+#cd
python3 < 57> read packet: $qXfer:features:read+;PacketSize=3fff;QStartNoAckMode+#86
python3 < 26> send packet: $QThreadSuffixSupported#e4
python3 < 4> read packet: $#00
python3 < 27> send packet: $QListThreadsInStopReply#21
python3 < 4> read packet: $#00
python3 < 13> send packet: $qHostInfo#9b
python3 < 28> read packet: $ptrsize:8;endian:little;#30
python3 < 10> send packet: $vCont?#49
python3 < 4> read packet: $#00
python3 < 27> send packet: $qVAttachOrWaitSupported#38
python3 < 4> read packet: $#00
python3 < 23> send packet: $QEnableErrorStrings#8c
python3 < 6> read packet: $OK#9a
python3 < 16> send packet: $qProcessInfo#dc
python3 < 4> read packet: $#00
python3 < 6> send packet: $qC#b4
python3 < 7> read packet: $QC0#c4
python3 < 16> send packet: $qfThreadInfo#bb
python3 < 5> read packet: $l#6c
python3 < 5> send packet: $?#3f
python3 < 7> read packet: $S02#b5
python3 < 16> send packet: $qProcessInfo#dc
python3 < 4> read packet: $#00
python3 < 18> send packet: $qRegisterInfo0#72
python3 < 4> read packet: $#00
python3 < 16> send packet: $qfThreadInfo#bb
python3 < 5> read packet: $l#6c
python3 0x0000000032759CF8 Broadcaster::Broadcaster("lldb.thread")
python3 0x32759cc0 Thread::Thread(tid = 0x0001)
python3 < 7> send packet: $Hg1#e0
python3 < 6> read packet: $OK#9a
python3 < 6> send packet: $p0#a0
python3 < 12> read packet: $00000000#80
python3 (plugin = gdb-remote, state = stopped)
python3 (plugin = gdb-remote, state = stopped, stop_id = 1
python3 timeout = <infinite>, event_sp)...
python3 timeout = <infinite>, event_sp) => stopped
python3 Process::CompleteAttach()
python3 < 16> send packet: $qProcessInfo#dc
python3 < 4> read packet: $#00
python3 < 16> send packet: $qProcessInfo#dc
python3 < 4> read packet: $#00
python3 < 16> send packet: $qProcessInfo#dc
python3 < 4> read packet: $#00
python3 < 12> send packet: $qOffsets#4b
python3 < 4> read packet: $#00
python3 < 26> send packet: $qStructuredDataPlugins#02
python3 < 4> read packet: $#00
python3 0x00000000327A9FF0 Broadcaster::Broadcaster("lldb.ScriptInterpreterIORedirect.comm")
python3 0x00000000327A9FA8 ThreadedCommunication::ThreadedCommunication (name = lldb.ScriptInterpreterIORedirect.comm)
python3 0x00000000327A9FA8 ThreadedCommunication::~ThreadedCommunication (name = lldb.ScriptInterpreterIORedirect.comm)
python3 0x00000000327A9FF0 Broadcaster::~Broadcaster("lldb.ScriptInterpreterIORedirect.comm")
python3 < 13> send packet: $qSymbol::#5b
python3 < 20> read packet: $qSymbol:6d61696e#2c
python3 < 25> send packet: $qSymbol:1000:6d61696e#27
python3 < 38> read packet: $qSymbol:6c6f63616c5f61646472657373#3d
python3 < 43> send packet: $qSymbol:1004:6c6f63616c5f61646472657373#3c
python3 < 36> read packet: $qSymbol:676c6f62616c5f76616c7565#0a
python3 < 37> send packet: $qSymbol::676c6f62616c5f76616c7565#44
python3 < 34> read packet: $qSymbol:6c6f63616c5f76616c7565#9e
python3 < 35> send packet: $qSymbol::6c6f63616c5f76616c7565#d8
python3 < 36> read packet: $qSymbol:6e6f745f615f73796d626f6c#71
python3 < 37> send packet: $qSymbol::6e6f745f615f73796d626f6c#ab
python3 < 6> read packet: $OK#9a
python3 after DynamicLoader::DidAttach(), target executable is /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_macho (using static plugin)
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 0x3271eae0 Listener::Listener('ThreadedCommunication::SyncronizeWithReadThread')
python3 0x3271eae0 Listener::~Listener('ThreadedCommunication::SyncronizeWithReadThread')
python3 < 16> send packet: $qfThreadInfo#bb
python3 < 5> read packet: $l#6c
python3 < 16> send packet: $qfThreadInfo#bb
python3 < 5> read packet: $l#6c
python3 < 7> send packet: $p20#d2
python3 < 12> read packet: $00000000#80
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 Process::ShouldBroadcastEvent (0x327bdf40) => new state: stopped, last broadcast state: stopped - YES
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 Process::HandlePrivateEvent (pid = 1) broadcasting new state stopped (old state stopped) to public
python3 (plugin = gdb-remote, state = stopped, restarted = 0)
python3 Process::ControlPrivateStateThread (signal = 4)
python3 Sending control event of type: 4.
intern-state Process::RunPrivateStateThread (arg = 0x3269ee20, pid = 1) thread starting...
intern-state timeout = <infinite>, event_sp)...
intern-state Process::RunPrivateStateThread (arg = 0x3269ee20, pid = 1) got a control event: 4
intern-state timeout = <infinite>, event_sp)...
python3 (plugin = gdb-remote, state = stopped, restarted = 0)
python3 < 16> send packet: $jThreadsInfo#c1
python3 < 4> read packet: $#00
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 < 7> send packet: $p20#d2
python3 < 12> read packet: $00000000#80
python3 < 7> send packet: $p1f#07
python3 < 12> read packet: $00000000#80
python3 < 7> send packet: $p20#d2
python3 < 12> read packet: $00000000#80
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 < 5> send packet: $k#6b
python3 < 7> read packet: $W01#b8
python3 (plugin = gdb-remote status = 1 (0x00000001), description="killed")
python3 (plugin = gdb-remote, state = exited)
python3 (plugin = gdb-remote, state = exited, stop_id = 2
intern-state 0x7df1b80015c0 Listener::Listener('ThreadedCommunication::SyncronizeWithReadThread')
intern-state 0x7df1b80015c0 Listener::~Listener('ThreadedCommunication::SyncronizeWithReadThread')
intern-state Process::ShouldBroadcastEvent (0x327bdf40) => new state: exited, last broadcast state: exited - YES
intern-state policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
intern-state Process::HandlePrivateEvent (pid = 1) broadcasting new state exited (old state exited) to public
intern-state Process::RunPrivateStateThread (arg = 0x3269ee20, pid = 1) about to exit with internal state exited...
intern-state Process::RunPrivateStateThread (arg = 0x3269ee20, pid = 1) thread exiting...
python3 Process::ControlPrivateStateThread (signal = 1)
python3 Sending control event of type: 1.
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 (plugin = gdb-remote status = 6 (0x00000006), description="destroying when not connected to debugserver")
python3 (plugin = gdb-remote) ignoring exit status because state was already set to eStateExited
python3 Went to stop the private state thread, but it was already invalid.
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 policy: view=public, capabilities={eval_expr=true run_all=true try_all=true bp_actions=true frame_providers=true frame_recognizers=true}
python3 (plugin = gdb-remote status = 6 (0x00000006), description="destroying when not connected to debugserver")
python3 (plugin = gdb-remote) ignoring exit status because state was already set to eStateExited
python3 Went to stop the private state thread, but it was already invalid.
python3 0x3271fe30 Listener::Clear('lldb.process.internal_state_listener')
python3 0x32759cc0 Thread::~Thread(tid = 0x0001)
python3 0x0000000032759CF8 Broadcaster::~Broadcaster("lldb.thread")
python3 0x3271f3b0 Listener::~Listener('lldb.process.gdb-remote.async-listener')
python3 0x00000000326A0000 Broadcaster::~Broadcaster("lldb.process.gdb-remote.async-broadcaster")
python3 0x000000003269FB40 Broadcaster::~Broadcaster("gdb-remote.client")
python3 0x327bdae0 ConnectionFileDescriptor::~ConnectionFileDescriptor ()
python3 0x3269ee20 Process::~Process()
python3 Went to stop the private state thread, but it was already invalid.
python3 0x000000003269F430 ThreadedCommunication::~ThreadedCommunication (name = process.stdio)
python3 0x000000003269F478 Broadcaster::~Broadcaster("process.stdio")
python3 0x3271fe30 Listener::~Listener('lldb.process.internal_state_listener')
python3 0x000000003269EF10 Broadcaster::~Broadcaster("lldb.process.internal_state_control_broadcaster")
python3 0x000000003269EEC8 Broadcaster::~Broadcaster("lldb.process.internal_state_broadcaster")
python3 0x000000003269EE58 Broadcaster::~Broadcaster("lldb.process")
python3 0x000000003271FF50 Target::~Target()
python3 0x0000000032720180 Broadcaster::~Broadcaster("lldb.target")
python3 0x327e4a60 Listener::Clear('lldb.Debugger')
python3 0x000000003269A1D0 Target::~Target()
python3 0x000000003269A400 Broadcaster::~Broadcaster("lldb.target")
python3 0x00000000327AFF00 Broadcaster::~Broadcaster("lldb.debugger")
python3 0x00000000327AFEB8 Broadcaster::~Broadcaster("lldb.debugger.sync")
python3 0x00000000326CE360 Broadcaster::~Broadcaster("lldb.commandInterpreter")
python3 0x327e4a60 Listener::~Listener('lldb.Debugger')
python3 0x00000000327AFAD8 Broadcaster::~Broadcaster("lldb.targetList")
python3 0x326b4d10 Module::~Module((arm64) '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_macho')
python3 0x3271dc60 ObjectFile::~ObjectFile ()
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
--
Command Output (stderr):
--
warning: the debug server supports Target Description XML but LLDB does not have XML parsing enabled. Using "qRegisterInfo" was also not possible. Register information may be incorrect or missing
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_qsymbol_elf (TestQSymbol.TestQSymbol.test_qsymbol_elf)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/Failure_test_qsymbol_elf.log
warning: the debug server supports Target Description XML but LLDB does not have XML parsing enabled. Using "qRegisterInfo" was also not possible. Register information may be incorrect or missing
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_qsymbol_macho (TestQSymbol.TestQSymbol.test_qsymbol_macho)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/Failure_test_qsymbol_macho.log
======================================================================
FAIL: test_qsymbol_elf (TestQSymbol.TestQSymbol.test_qsymbol_elf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/gdb_remote_client/TestQSymbol.py", line 93, in test_qsymbol_elf
self.do_test_qsymbol("test_qsymbol_elf.yaml", "aarch64-unknown-linux-gnu")
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/gdb_remote_client/TestQSymbol.py", line 72, in do_test_qsymbol
self.expect("image dump symtab", substrs=["sdsddfsdf"])
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2833, in expect
self.fail(log_msg)
AssertionError: Ran command:
"image dump symtab"
Got output:
Dumping symbol table for 1 modules.
Symtab, file = /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_elf, num_symbols = 4:
Debug symbol
|Synthetic symbol
||Externally Visible
|||
Index UserID DSX Type File Address/Value Load Address Size Flags Name
------- ------ --- --------------- ------------------ ------------------ ------------------ ---------- ----------------------------------
[ 0] 1 X Code 0x0000000000001000 0x0000000000001000 0x0000000000000004 0x00000012 main
[ 1] 2 Code 0x0000000000001004 0x0000000000001004 0x0000000000000000 0x00000000 local_address
[ 2] 3 Absolute 0x000000000000abcd 0x0000000000000000 0x00000000 local_value
[ 3] 4 X Absolute 0x0000000000001234 0x0000000000000000 0x00000010 global_value
Expecting sub string: "sdsddfsdf" (was not found)
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
======================================================================
FAIL: test_qsymbol_macho (TestQSymbol.TestQSymbol.test_qsymbol_macho)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/gdb_remote_client/TestQSymbol.py", line 98, in test_qsymbol_macho
self.do_test_qsymbol("test_qsymbol_macho.yaml", "arm64-apple-macosx")
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/gdb_remote_client/TestQSymbol.py", line 72, in do_test_qsymbol
self.expect("image dump symtab", substrs=["sdsddfsdf"])
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2833, in expect
self.fail(log_msg)
AssertionError: Ran command:
"image dump symtab"
Got output:
Dumping symbol table for 1 modules.
Symtab, file = /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/gdb_remote_client/TestQSymbol/test_qsymbol_macho, num_symbols = 4:
Debug symbol
|Synthetic symbol
||Externally Visible
|||
Index UserID DSX Type File Address/Value Load Address Size Flags Name
------- ------ --- --------------- ------------------ ------------------ ------------------ ---------- ----------------------------------
[ 0] 0 Data 0x0000000000001004 0x0000000000001004 0x0000000000000000 0x000e0000 local_address
[ 1] 1 Absolute 0x000000000000abcd 0x0000000000000000 0x00020000 local_value
[ 2] 2 X Code 0x0000000000001000 0x0000000000001000 0x0000000000000004 0x000f0000 main
[ 3] 3 X Absolute 0x0000000000001234 0x0000000000000000 0x00030000 global_value
Expecting sub string: "sdsddfsdf" (was not found)
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 2 tests in 0.051s
FAILED (failures=2)
--
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/200411
More information about the lldb-commits
mailing list