Skip to content

tachyon fails to attach with _ctypes imported #144563

@mstarodub

Description

@mstarodub

Bug report

Bug description:

test.py:

import os
import polars

print(os.getpid())
while True:
  pass

running it gives
uv run -p 3.15 --with polars test.py:
9586

attach fails (sudo run mode seems to work)
sudo uv run -p 3.15 python -m profiling.sampling attach 9586:

Password:
Can't determine the Python version of the remote process

if I change it to import polars as pl, attach fails with:
Failed to read debug offsets structure from remote process

CPython versions tested on:

3.15

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixes3.15new features, bugs and security fixesOS-macinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-profilingtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions