-
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
debuginfo-lldb test failures with lldb 350 on OS X #32520
Comments
Set source file name when setting breakpoints in lldb. Addresses first part of #32520
That's strange. I'll have to get ahold of an OSX system in order to look into that. |
Update: I was able to reproduce this issue. |
Hello! Not sure how much it will help, but I was investigating similar crashes with llnode, and it turns out that lldb is lying when reporting its version:
In fact it is more compatible to 380, because this commit is present there. I was able to tell that after checking the disassembly of lldb and offsets in vtable that it expects. Anyway, hope this helps! |
+1 on this issue. I'm finding this is pretty bad for compiler contributors who work on the latest mac. The end result tends to be that "make check" fails, and you're left running all the various checks that run after debuginfo-lldb run by hand. We could put debuginfo-lldb last, so at the very least the other tests run first. |
I have been using @michaelwoerister's closed pull request #33097, and it is working for me (passes full make check). |
@tedhorst which lldb are you on? I'm on lldb-350.0.21.9 and I'm still seeing the issue. |
I'm on the same. I have just been merging #33097 into master, and it has been working for a while. Which issue are you seeing? |
@tedhorst - oh I missed it wasn't merged yet. I'm seeing:
|
Do you still get the failures after merging #33097? You may need to do a make clean, not sure. |
If I understand this and this right, the latest version of LLDB distributed with XCode should already contain the fix and things should work again. What we could do to mitigate this problem in the meantime is to collect version strings of LLDB versions that don't work and explicitly warn people that they should update, or disable LLDB-based tests if a version known to be broken is found. |
…alexcrichton Disable debuginfo tests for a given blacklist of LLDB versions Anyone having trouble with most LLDB tests failing on OSX, please report your LLDB version here so I can add it to the blacklist. Blacklisted versions so far: * lldb-350.* cc @rust-lang/tools cc @tedhorst @indutny @jonathandturner (people from the original bug report) Fixes rust-lang#32520.
The current image is `xcode7.3`, Travis's current default. Unfortunately this has a version of LLDB which doesn't support debuginfo-lldb tests (see rust-lang#32520), so we're not running LLDB tests on Travis yet. This switches us to the newest image from Travis, `xcode8.2`, which should have a newer version of LLDB we can run tests against.
travis: Update the OSX image we run tests in The current image is `xcode7.3`, Travis's current default. Unfortunately this has a version of LLDB which doesn't support debuginfo-lldb tests (see #32520), so we're not running LLDB tests on Travis yet. This switches us to the newest image from Travis, `xcode8.2`, which should have a newer version of LLDB we can run tests against.
I upgraded to Xcode 7.3 which includes lldb version 350.0.21.3. When running make check, all the debuginfo-lldb tests fail like this:
I can fix this by specifying the source file name in the breakpoint command, but then I get a different failure:
Nothing is printed by the print command. This happens with or without the formatters.
The text was updated successfully, but these errors were encountered: