Bug 1661199
Summary: | gdb crashes in std::vector<context_stack, std::allocator<context_stack> >::empty() when reading core/debug symbols | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Pokorný [poki] <jpokorny> |
Component: | gdb | Assignee: | Sergio Durigan Junior <sergiodj> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jan.kratochvil, keiths, kevinb, pmuldoon, sergiodj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-12-20 16:49:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Pokorný [poki]
2018-12-20 11:48:45 UTC
Thanks for the report, Jan. Further debugging shows that the problem happens because: (top-gdb) up #3 0x00000000005d980b in new_symbol (die=0x74c61f0, type=0x0, cu=0x716f1e0, space=0x0) at ../../binutils-gdb/gdb/dwarf2read.c:21607 21607 = cu->builder->get_current_context_stack (); (top-gdb) p cu.builder $2 = std::unique_ptr<buildsym_compunit> = {get() = 0x0} This is a known issue and we're tracking it on Bug 1638798, therefore I'm closing this bug as a duplicate. The current status as I write this message is that we're waiting for upstream to review and approve Keith's patch to fix the issue. Once that happens, I will release a Rawhide GDB containing the patch. Thanks. *** This bug has been marked as a duplicate of bug 1638798 *** Thanks, interestingly, it's not that frequent to hit this problem and now I see the original bug also deals with Python 3 interpreter :-) (I looked for dupes first, I swear, must have missed that) (In reply to Jan Pokorný [poki] from comment #3) > Thanks, interestingly, it's not that frequent to hit this problem > and now I see the original bug also deals with Python 3 interpreter :-) Yep :-). There's a very specific DWARF layout that triggers this problem on Python 3's debuginfo. > (I looked for dupes first, I swear, must have missed that) No problem at all, it's hard to spot exactly where the problem happens sometimes. Thanks. |