Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#1,077 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

@topolarity 已经在做这个了。

开始于 2026年3月10日。

  • #1097 来自 @topolarity —— 未关闭

评估

难度
5/5
预计耗时
一周以上
新手友好度
18/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
julia, python
领域
backend

调研方向

从附加的 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.

log.txt

主要语言
Julia
星标
1.5k
派生
186
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

JuliaPy/PyCall.jl 的其他 Issue

查看 JuliaPy/PyCall.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。