-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DWARF2 Queue Guard Internal Error on run #201
Comments
Thanks for reporting. It'll take some time and effort to investigate. |
@christiankissig, I was able to reproduce the issue with your instructions. And gdb doesn't crash anymore for me after the fix, although in x64. Could you please verify the bug has been fixed in your environment? |
Thank you for the quick fix @sakhnik . The issue is fixed, but I'm seeing another issue
I seem to have above commit
From console this GDB works fine
Do you want me to open another issue? |
Btw this not running on aarch64, just a cross-compile scenario being tested:
|
I'm reopening the same ticket. It looks like the issue is more severe than I anticipated. A python script is run inside gdb to fetch information about the current line and breakpoints: https://github.com/sakhnik/nvim-gdb/blob/master/lib/gdb_commands.py . And because a separate thread is forked to handle external commands, I can easily imagine how different kinds of data races can occur. I'm not able to reproduce the issue this time. How do you build llvm? |
I'm sorry @sakhnik , I've missed this message in my inbox. Thanks for the deep dive! I'm building LLVM as follows ❯ cmake -S llvm -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug
❯ ninja -C build |
What are the steps to reproduce this issue?
I'm using
For context, I'm working on https://github.com/llvm/llvm-project
:GdbStart gdb --args /home/ubuntu/workspace/llvm-project/build/unittests/CodeGen/CodeGenTests --gtest_filter=AArch64SelectionDAGTest.ComputeKnownBits_SUBC
in Neovim(gdb) break AArch64SelectionDAGTest.cpp:278
in nvim-gdb buffer(gdb) run
in nvim-gdb bufferWhat happens?
DWARF2 queue guard errors out with an internal error:
What were you expecting to happen?
In the terminal the same succeeds
Any logs, error output, etc?
Command doesn't exist.
CI=1 ./nivm.py
fails with https://gist.github.com/christiankissig/e8125e2f4a14de2150205794411c6d5fSee log output above
Any other comments?
No
The text was updated successfully, but these errors were encountered: