Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign uplldb 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
This comment has been minimized.
This comment has been minimized.
|
Any thoughts @michaelwoerister? |
This comment has been minimized.
This comment has been minimized.
|
Hm, that's interesting. I didn't think that we produced forward declarations anywhere. Seems like a bug on our side though. |
sfackler
added
the
A-debuginfo
label
Sep 1, 2016
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
I'll see if I can reproduce it. |
michaelwoerister
self-assigned this
Sep 15, 2016
michaelwoerister
added
P-high
T-compiler
labels
Sep 15, 2016
This comment has been minimized.
This comment has been minimized.
|
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. |
brson
added
the
I-wrong
label
Sep 22, 2016
This comment has been minimized.
This comment has been minimized.
|
@michaelwoerister just pinging you for updates on this P-high bug. |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
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? |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
OK, I'll close this bug then. Can't leave a P-high issue open without being able to reproduce it. |
bholley commentedSep 1, 2016
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.