8000 WIP memmap multithreaded segfault by crusaderky · Pull Request #29157 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

Conversation

crusaderky
Copy link
Contributor
@crusaderky crusaderky commented Jun 9, 2025

Reproduces #29126
This segfaults instantly for me on 3.13t

pixi run test-nogil -v -- -k TestMemmap

pixi from https://github.com/rgommers/pixi-dev-scipystack

[EDIT] looks like it segfaults with the GIL on too!

@crusaderky crusaderky changed the title WIP memmap nogil segfault WIP memmap multithreaded segfault Jun 9, 2025
@ngoldbaum
Copy link
Member

Thanks! I'll try to take a look at this today.

@charris charris added the 09 - Backport-Candidate PRs tagged should be backported label Jun 9, 2025
@seberg
Copy link
Member
seberg commented Jul 9, 2025

Should we just close this? It seemed to me that this mmap usage is just unsafe (in Python)?

@seberg seberg added the 57 - Close? Issues which may be closable unless discussion continued label Jul 9, 2025
@crusaderky
Copy link
Contributor Author

In #29126 (comment) I mention that the underlying functionality may or may not be thread-safe in POSIX C. In the latter case, this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
09 - Backport-Candidate PRs tagged should be backported 25 - WIP 57 - Close? Issues which may be closable unless discussion continued
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0