Skip to content

py:faulty_types tests occasionally abort in ~data_layer_hierarchy #1091

Closed

Description

@beojan

The py:faulty_types:* tests occasionally abort with SIGABRT instead of exiting with an error. The abort was seen twice on CI coverage jobs (negative_uint on amd64, unicode_as_float on arm64) and once in about 1800 runs of ctest -R py:faulty_types --repeat until-fail:150 -j 16 on Linux x64. The tests pass when rerun.

The output ends with:

terminate called after throwing an instance of 'std::out_of_range'
  what():  Index out of requested size range

In the arm64 CI log, the abort follows the expected Python conversion error.

A core dump of the local abort shows where the exception is thrown. framework_graph::~framework_graph destroys data_layer_hierarchy, whose destructor calls print(), and print() calls graph_layout(). In graph_layout(), std::out_of_range is thrown by layers_.at(...) on a tbb::concurrent_unordered_map. The exception is thrown out of a destructor, so std::terminate is called.

This description was drafted by Claude Code. It has been fully reviewed and approved by Beojan Stanislaus.

Activity

  1. coderabbitai commented on Nov 19, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #1079 - refactor(model): simplify and harden hierarchy rendering [open]
    #986 - fix(core): hierarchy and completion correctness [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. changed the title [-]py:faulty_types tests occasionally abort in ~data_layer_hierarchy[/-] [+]`py:faulty_types` tests occasionally abort in `~data_layer_hierarchy`[/+] on Nov 19, 2026
  3. knoepfel commented on Nov 19, 2026

    @knoepfel
    Member

    @beojan, yep. This is solved by #1079.

  4. self-assigned this
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions