julia-1.10.0 _Py_DECREF segmentation faults (not present in 1.9.3)
评估
调研方向
从附加的 log.txt 开始,将 Julia 1.10.0 和 1.9.3 之间报告的 _Py_DECREF 崩溃与 Python 3.10.10 进行比较。检查 init_julia 以及 --gcthreads=1 这一观察结果;要视为完成,需要可复现的诊断和经过验证的修复,但该 issue 没有提供 MWE 或指定的源文件。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Julia
- 星标
- 1.5k
- 派生
- 186
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JuliaPy/PyCall.jl 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
Meta-Issue: Mutli-threading leads to segfaults可能已有人在做 @topolarity 于 212 天前认领。 未关闭
难度 5/5 一周以上 新手友好度 20/100
-
Crashes with Julia 1.12 and Revise.jl可能已有人在做 @topolarity 于 212 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 45/100
查看 JuliaPy/PyCall.jl 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
oxfordcontrol/COSMO.jl#211 ·
-
documentation
难度 2/5 半天 新手友好度 65/100
维护者通常 6 天内回复
-
ARKODE: callbacks that modify `u` throw MethodError on reinit可能已有人在做 @devmotion 于 1 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 79/100
SciML/Sundials.jl#575 ·
-
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复
-
Tube(N) builds N TubeBase segments of length L/(N−1): total friction/inertia length is N·L/(N−1)可能已有人在做 @ChrisRackauckas-Claude 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
SciML/ModelingToolkitStandardLibrary.jl#525 ·
维护者通常 1 天内回复