JuliaPy / JuliaPy/PyPlot.jl

segfault if process title is not "julia"

未关闭
#512 2 条评论 5 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Julia
星标
488
派生
90
PR 合并指标
30 天内没有已合并 PR

描述

_clean install of PyPlot v2.9.0 on Julia 1.5.3, MacOS. Python 3.8.2 was preinstalled but I never launched it before_

This runs fine:
```julia
fons@rekenmachine ~ % julia --banner=no

julia> using PyPlot

julia> plot(1:3,1:3);

julia>
```

This segfaults:
```julia
fons@rekenmachine ~ % julia --banner=no

julia> Sys.set_process_title("asdfasdf")

julia> using PyPlot

julia> plot(1:3,1:3);

signal (11): Segmentation fault: 11
in expression starting at REPL[3]:1
_ZNK7QScreen6handleEv at /Users/fons/.julia/conda/3/lib/libQt5Gui.5.9.7.dylib (unknown line)
Allocations: 12180057 (Pool: 12175774; Big: 4283); GC: 11
zsh: segmentation fault julia
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

Reproduce the issue with Julia 1.5.3, PyPlot v2.9.0, Python 3.8.2, and macOS using the two REPL sequences in the report. Compare the working and crashing cases, then investigate the reported Qt5Gui QScreen::handle stack frame. Done means plotting no longer segfaults after setting the process title.

由索引模型根据 Issue 内容生成。

评估

技术栈
matplotlib, python
领域
data-visualization
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
30/100

把新 issue 发到你的邮箱

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