Skip to content

TST: numpy compiled with debug crashes in test_dict_recursion #29114

@mattip

Description

@mattip

To reproduce, create a venv on python3.12 with the current requirements in build_requirements and test_requirements, then:

spin build --clean -- -Dbuildtype=debug
spin test

On ubuntu 24.04, x86_64, I get a segfault in test_dict_recursion, which is meant to fail with a RecursionError. The other similar tests for recursion properly raise the RecursionError. Setting sys.setrecursionlimit(100) (where it usually is 1000) does not cause the RecursionError to be raised. Is the recursion detection somehow different for dtype-from-dict than for dtype-from-list or dtype-from-tuple?

This is the only test that fails for me when using a debug build.

Metadata

Metadata

Assignees

No one assigned

    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