-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
What are the steps to reproduce this issue?
I'm using
> nvim --version
NVIM v0.10.0-dev-28f54a7
Build type: RelWithDebInfo
LuaJIT 2.1.1694751058
~/.local/share/nvim/site/pack/packer/start/nvim-gdb > git rev-parse HEAD
6fd4eb53ac25fda0c2f1a60457c5f0592a0e95ad
> gdb --version
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1For context, I'm working on https://github.com/llvm/llvm-project
- Open Neovim
- Execute
:GdbStart gdb --args /home/ubuntu/workspace/llvm-project/build/unittests/CodeGen/CodeGenTests --gtest_filter=AArch64SelectionDAGTest.ComputeKnownBits_SUBCin Neovim - Set break point
(gdb) break AArch64SelectionDAGTest.cpp:278in nvim-gdb buffer - Run
(gdb) runin nvim-gdb buffer
What happens?
DWARF2 queue guard errors out with an internal error:
1 Reading symbols from /home/ubuntu/workspace/llvm-project/build/unittests/CodeGen/./CodeGenTests...
2 (gdb) break AArch64SelectionDAGTest.cpp:278
3 Breakpoint 1 at 0x5fe405: file /home/ubuntu/workspace/llvm-project/llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp, line 278.
4 (gdb) run
5 Starting program: /home/ubuntu/workspace/llvm-project/build/unittests/CodeGen/CodeGenTests --gtest_filter=AArch64SelectionDAGTest.ComputeKnownBits_SUBC
6 [Thread debugging using libthread_db enabled]
7 Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
8 Note: Google Test filter = AArch64SelectionDAGTest.ComputeKnownBits_SUBC
9 [==========] Running 1 test from 1 test suite.
10 [----------] Global test environment set-up.
11 [----------] 1 test from AArch64SelectionDAGTest
12 [ RUN ] AArch64SelectionDAGTest.ComputeKnownBits_SUBC
13
14 Breakpoint 1, llvm::AArch64SelectionDAGTest_ComputeKnownBits_SUBC_Test::TestBody (/build/gdb-ZgDh0V/gdb-12.1/gdb/dwarf2/read.c:1498: internal-error: dwarf2_queue_guard: Assertion `!m_per_objfile->per_bfd->queue.has_value ()' failed.
15 A problem internal to GDB has been detected,
16 further debugging may prove unreliable.
17 ----- Backtrace -----
18 0x55c93435f077 ???
19 0x55c9346c3a64 ???
...
56 0x7f126d0857bc ???
57 0x7f126d01758a ???
58 0x7f126c094b42 start_thread
59 ./nptl/pthread_create.c:442
60 0x7f126c1269ff ???
61 ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
62 0xffffffffffffffff ???
63 ---------------------
64
65 This is a bug, please report it. For instructions, see:
66 <https://www.gnu.org/software/gdb/bugs/>.
67
68
69 [Process exited 134]
What were you expecting to happen?
In the terminal the same succeeds
> gdb --args /home/ubuntu/workspace/llvm-project/build/unittests/CodeGen/CodeGenTests --gtest_filter=AArch64SelectionDAGTest.ComputeKnownBits_SUBC
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
Copyright (C) 2022 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:
<https://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"...
Reading symbols from /home/ubuntu/workspace/llvm-project/build/unittests/CodeGen/CodeGenTests...
(gdb) break AArch64SelectionDAGTest.cpp:278
Breakpoint 1 at 0x5fe405: file /home/ubuntu/workspace/llvm-project/llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp, line 278.
(gdb) run
Starting program: /home/ubuntu/workspace/llvm-project/build/unittests/CodeGen/CodeGenTests --gtest_filter=AArch64SelectionDAGTest.ComputeKnownBits_SUBC
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Note: Google Test filter = AArch64SelectionDAGTest.ComputeKnownBits_SUBC
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from AArch64SelectionDAGTest
[ RUN ] AArch64SelectionDAGTest.ComputeKnownBits_SUBC
Breakpoint 1, llvm::AArch64SelectionDAGTest_ComputeKnownBits_SUBC_Test::TestBody (this=0x5555621bcfa0) at /home/ubuntu/workspace/llvm-project/llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp:278
278 SDLoc Loc;
(gdb)Any logs, error output, etc?
To obtain the logs (
nvimgdb.log,proxy.log,spy_ui.log), launch neovim as follows:
cd <plugin_dir>/test; CI=1 ./nvim
Command doesn't exist. CI=1 ./nivm.py fails with https://gist.github.com/christiankissig/e8125e2f4a14de2150205794411c6d5f
If it’s long, please paste to https://gist.github.com/ and insert the link here.
See log output above
Any other comments?
No
Metadata
Metadata
Assignees
Labels
No labels