Skip to content

Executing python code with pixi run swallows message about segfaults #6166

Closed

Description

@jorisvandenbossche

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

When running some python that segfaults (here with a dummy example that triggers a segfault, but real case was something in pandas/numpy segfaulting), it does not print any message about this happening:

$ pixi exec python -c "import ctypes;ctypes.string_at(0)"
$ 

While running that python not through pixi exec or pixi run, in this case you see:

$ python -c "import ctypes;ctypes.string_at(0)"
Segmentation fault (core dumped)
$

This is using Linux (Ubuntu)

Issue description

Executing python code with pixi run or pixi exec does not print anything when the python process crashes with a segfault.

Expected behavior

To get some indication that a segfault happened

Activity

  1. added
    bug
    on May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions