JuliaPy / JuliaPy/PyCall.jl

julia-1.10.0 _Py_DECREF segmentation faults (not present in 1.9.3)

Open
#1,077 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
1.5k
Forks
186
PR merge metrics
No merged PRs in 30d

Description

I am experiencing random segfaults with julia 1.10.0 and python 3.10.10 at _Py_DECREF calls. An example crash dump is attached.

The issue is not present when downgrading julia to 1.9.3.

Julia changed its GC to be multi-threaded between these versions. Using --gcthreads=1 in init_julia has no effect.

I cannot produce an MWE, as the code triggering it is complex, flips through GBs of data, communicates a lot, and the crash happens completely random, but always after far into execution. The julia code is single-threaded.

[log.txt](https://github.com/JuliaPy/PyCall.jl/files/14227059/log.txt)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.