Skip to content

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
@graalvmbot graalvmbot closed this Mar 18, 2025
@graalvmbot graalvmbot deleted the doma/GR-62835 branch March 18, 2025 00:19
@graalvmbot graalvmbot merged commit 690c6e9 into master Mar 18, 2025
11 of 13 checks passed
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