JuliaPy / JuliaPy/PyCall.jl

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

Aperta
#1,077 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Julia
Stelle
1.5k
Fork
186
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.