-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Commit ed6c7b751dd4 causes test failures in debuginfo suite on Debian Stable #56730
Comments
Reverting the commit isn't really an option as the previous code was incorrect. Rewriting it in a different way is hard because What version of gdb are you using? Failing a workaround, I think the only recourse will be to disable the test, and probably that pretty-printer, on whatever gdb releases show the problem. |
I guessed that a revert wasn't the right answer, sure :-) It just got me to a point of being able to run the rest of the test suite so I could play with another issue. GDB is version It is the version packaged in Debian's Stretch (Stable) distribution. |
Sorry about that, I didn't mean to imply anything. I've built 7.12 and I can reproduce the problem. |
That's excellent news. Let me know if you put a patch together and want a confirmation on my system. |
I think this was this gdb bug: https://sourceware.org/bugzilla/show_bug.cgi?id=21763. I fixed it in 8.1. There isn't a workaround so I'll be disabling the test. |
Fair enough :-) Thanks for looking into this. |
gdb versions before 8.1 have a bug that prevents the BTreeSet and BTreeMap pretty-printers from working. This patch disables the test on those versions, and also disables the pretty-printers there as well. Closes rust-lang#56730
…er, r=alexcrichton Disable btree pretty-printers on older gdbs gdb versions before 8.1 have a bug that prevents the BTreeSet and BTreeMap pretty-printers from working. This patch disables the test on those versions, and also disables the pretty-printers there as well. Closes rust-lang#56730
…er, r=alexcrichton Disable btree pretty-printers on older gdbs gdb versions before 8.1 have a bug that prevents the BTreeSet and BTreeMap pretty-printers from working. This patch disables the test on those versions, and also disables the pretty-printers there as well. Closes rust-lang#56730
…er, r=alexcrichton Disable btree pretty-printers on older gdbs gdb versions before 8.1 have a bug that prevents the BTreeSet and BTreeMap pretty-printers from working. This patch disables the test on those versions, and also disables the pretty-printers there as well. Closes rust-lang#56730
Hi,
I have been trying to get the rust compiler tests running on my Debian/stable (Stretch) computer and was hitting continuous failure running the debuginfo suite, specifically the pretty-std-collections test. I kept hitting gdb complaining with
Python Exception <class 'gdb.error'> No type named alloc::collections::btree::node::InternalNode<i32, ()>.
and similar.Looking at the gdb pretty printer python integration, I decided to try reverting the commit mentioned in the title and now the tests pass just fine.
I'm sadly not well enough versed in gdb/python bindings to begin to debug this, but would be pleased to be remote-hands to help someone else work it out.
The text was updated successfully, but these errors were encountered: