-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
panic: in loadDebugInfoMapsCompileUnit: interface {} is nil, not dwarf.Offset #1636
Comments
aarzilli
added a commit
to aarzilli/delve
that referenced
this issue
Jul 26, 2019
GCC produces DW_TAG_inlined_subroutine entries without a DW_AT_abstract_origin attribute. From the bug report: <1><1fe6c7c>: Abbrev Number: 41 (DW_TAG_subprogram) <1fe6c7d> DW_AT_external : 1 <1fe6c7d> DW_AT_name : (indirect string, offset: 0x485814): MultiGetImpl (omissis) <2><1fe6c9e>: Abbrev Number: 65 (DW_TAG_inlined_subroutine) <1fe6c9f> DW_AT_low_pc : 0x311023a <1fe6ca7> DW_AT_high_pc : 0x5 <1fe6caf> DW_AT_call_file : 10 <1fe6cb0> DW_AT_call_line : 1690 <2><1fe6cb2>: Abbrev Number: 20 (DW_TAG_inlined_subroutine) <1fe6cb3> DW_AT_abstract_origin: <0x1ffb534> <1fe6cb7> DW_AT_entry_pc : 0x311023f <1fe6cbf> DW_AT_ranges : 0xe9bf20 <1fe6cc3> DW_AT_call_file : 10 <1fe6cc4> DW_AT_call_line : 1690 Inlined subroutine at 1fe6c9e doesn't have abstract origin, a name or a declaration location. It's unclear whether this is in-standard and what it even means. Let's ignore it. Fixes go-delve#1636
Thank you for providing a binary. |
cgxxv
pushed a commit
to cgxxv/delve
that referenced
this issue
Mar 25, 2022
go-delve#1637) GCC produces DW_TAG_inlined_subroutine entries without a DW_AT_abstract_origin attribute. From the bug report: <1><1fe6c7c>: Abbrev Number: 41 (DW_TAG_subprogram) <1fe6c7d> DW_AT_external : 1 <1fe6c7d> DW_AT_name : (indirect string, offset: 0x485814): MultiGetImpl (omissis) <2><1fe6c9e>: Abbrev Number: 65 (DW_TAG_inlined_subroutine) <1fe6c9f> DW_AT_low_pc : 0x311023a <1fe6ca7> DW_AT_high_pc : 0x5 <1fe6caf> DW_AT_call_file : 10 <1fe6cb0> DW_AT_call_line : 1690 <2><1fe6cb2>: Abbrev Number: 20 (DW_TAG_inlined_subroutine) <1fe6cb3> DW_AT_abstract_origin: <0x1ffb534> <1fe6cb7> DW_AT_entry_pc : 0x311023f <1fe6cbf> DW_AT_ranges : 0xe9bf20 <1fe6cc3> DW_AT_call_file : 10 <1fe6cc4> DW_AT_call_line : 1690 Inlined subroutine at 1fe6c9e doesn't have abstract origin, a name or a declaration location. It's unclear whether this is in-standard and what it even means. Let's ignore it. Fixes go-delve#1636
abner-chenc
pushed a commit
to loongson/delve
that referenced
this issue
Mar 1, 2024
go-delve#1637) GCC produces DW_TAG_inlined_subroutine entries without a DW_AT_abstract_origin attribute. From the bug report: <1><1fe6c7c>: Abbrev Number: 41 (DW_TAG_subprogram) <1fe6c7d> DW_AT_external : 1 <1fe6c7d> DW_AT_name : (indirect string, offset: 0x485814): MultiGetImpl (omissis) <2><1fe6c9e>: Abbrev Number: 65 (DW_TAG_inlined_subroutine) <1fe6c9f> DW_AT_low_pc : 0x311023a <1fe6ca7> DW_AT_high_pc : 0x5 <1fe6caf> DW_AT_call_file : 10 <1fe6cb0> DW_AT_call_line : 1690 <2><1fe6cb2>: Abbrev Number: 20 (DW_TAG_inlined_subroutine) <1fe6cb3> DW_AT_abstract_origin: <0x1ffb534> <1fe6cb7> DW_AT_entry_pc : 0x311023f <1fe6cbf> DW_AT_ranges : 0xe9bf20 <1fe6cc3> DW_AT_call_file : 10 <1fe6cc4> DW_AT_call_line : 1690 Inlined subroutine at 1fe6c9e doesn't have abstract origin, a name or a declaration location. It's unclear whether this is in-standard and what it even means. Let's ignore it. Fixes go-delve#1636
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(this is an instance on AWS)
Trying to attach to a
cockroach
process:Hopefully repros for others via this binary: https://drive.google.com/file/d/1-CkILyxXwzjTBLIvzCJ21-ud6vuBHs6w/view?usp=sharing (definitely repros here)
I worked around this via the following diff:
and was able to use dlv normally. (It printed the message dozens of times during startup).
As an additional clue, the issue does not occur with a binary that I thought would be similar:
https://binaries.cockroachdb.com/cockroach-v19.2.0-alpha.20190701.linux-amd64.tgz
The text was updated successfully, but these errors were encountered: