-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
lldb crash on stack frame with closure: DWARF DIE at 0x000a7888 (class closure) has a member variable 0x000a788e (__0) whose type is a forward declaration, not a complete definition #36185
Comments
Any thoughts @michaelwoerister? |
Hm, that's interesting. I didn't think that we produced forward declarations anywhere. Seems like a bug on our side though. |
Looking at https://bugzilla.mozilla.org/show_bug.cgi?id=1301751, this problem is probably pretty high-priority as it is breaking the ability to get stack backtraces for Firefox on macOS. |
I'll see if I can reproduce it. |
I'm not entirely sure if this is the same bug as https://bugzilla.mozilla.org/show_bug.cgi?id=1301751 or not. We don't see that error message, we just see llvm-dsymutil crashing. |
@michaelwoerister just pinging you for updates on this P-high bug. |
Looks like michael is working with ted to reproduce the issue in https://bugzilla.mozilla.org/show_bug.cgi?id=1301751 . If whatever fix is uncovered there doesn't fix the lldb issue, I'll get repro steps together. |
So, investigations on that other, possibly related, bug yielded that the problem only occurs with Rust 1.11 stable, but doesn't occur with the current beta any more. @bholley, could you try reproducing the issue with the current Rust beta? |
The code seems to have changed since I encountered this problem, and the closure is gone. I tried to reintroduce it, but couldn't reproduce the problem. I'll see if this reproduces in the coming weeks, and if so, will make sure I try with 1.12 or newer. |
OK, I'll close this bug then. Can't leave a P-high issue open without being able to reproduce it. |
After stumbling upon #33062, I grabbed a copy of XCode 8 Beta and tried out lldb to debug assertion in Stylo (experimental Servo-in-Firefox). When I try to backtrace or |up| my way through a stackframe with a closure, lldb aborts:
error: libgkrust.a(geckoservo.0.o) DWARF DIE at 0x000a7888 (class closure) has a member variable 0x000a788e (__0) whose type is a forward declaration, not a complete definition.
Please file a bug against the compiler and include the preprocessed output for /files/mozilla/repos/qq/obj-x86_64-apple-darwin15.6.0/toolkit/library/rust/geckoservo
Interested in any suggestions or workarounds.
The text was updated successfully, but these errors were encountered: