Skip to content
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

[GR-62835] Assertion error when loading native image debug info in GDB 16. #10823

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

graalvmbot
Copy link
Collaborator

Loading a native image with debug info in GDB 16 or newer causes an assertion error during parsing debug info from DWARF type units.

This is caused by a DWARF AT_decl_file attribute in the debug info of a class layout, placed in a type unit instead of the compilation unit.
The AT_decl_file attribute contains a file index referencing a source file in a line header.
A type unit in native image debug info does not reference a line header, therefore the file index can't be resolved.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants