Skip to content

GDB 16.3: handle_DW_AT_stmt_list: Assertion `! cu->per_cu->is_debug_types' #919

@Karm

Description

@Karm

Running Mandrel Integration testsuite as follows:

$ mvn clean verify -Dtest=DebugSymbolsTest#debugSymbolsQuarkusContainer
    -Ptestsuite-builder-image -Dquarkus.version=3.21.4
    -Dquarkus.native.container-runtime=podman
    -Dquarkus.native.builder-image=quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-24

Passes fine on e.g. CentOS 9 Stream and fails on e.g. GHA Ubuntu 22.04 runner - note that the GDB used is actually from /ubi-minimal:9.5 as we debug inside running container. The host running the container seems to matter though. Runc version?

The problem seems to be in GDB version that cannot digest our debug binary.

See the difference between Good GDB 14.2-4.1.el9_6 and Bad GDB 16.3-2.el9:

https://editor.mergely.com/oGYnhYVl

""../../gdb/dwarf2/read.c:7400: internal-error: handle_DW_AT_stmt_list: Assertion `! cu->per_cu->is_debug_types' failed.
A problem internal to GDB has been detected,

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions