JuliaPy / JuliaPy/PyPlot.jl

segfault after importing CSV and Images, PyPlot from a separate module

オープン
#402 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Julia
スター
488
フォーク
90
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

I get the following segfault
```
signal (11): Segmentation fault: 11
in expression starting at /MyProjectDirectory/Test.jl:4
_platform_strcmp at /usr/lib/system/libsystem_platform.dylib (unknown line)
```

when I run `/MyProjectDirectory/Test.jl` which contains the code
```
push!(LOAD_PATH, "/MyProjectDirectory")
import CSV
using MyModule
```

that uses `/MyProjectDirectory/MyModule.jl` which contains the code
```
module MyModule
using Images
import PyPlot
end
```

I don't know if this is an issue to do with CSV, Images, PyPlot or Julia itself. This is a minimal working example. I'm using Julia 1.0.1 on MacOS Mojave. The segfault goes away if I don't load any one of these three packages. There is still a segault if I start Julia with `--check-bounds=yes`.

I hope this can be resolved soon! Segfaults are frightening...

These are the versions of the packages in question + important dependencies
```
Images v0.16.0
PyCall v1.18.5+ #Master (https://github.com/JuliaPy/PyCall.jl.git)
PyPlot v2.6.3
CSV v0.4.1
```

I have also posted this issue on the [`Images.jl` github](https://github.com/JuliaImages/Images.jl/issues/759) and the [`CSV.jl` github](https://github.com/JuliaData/CSV.jl/issues/328).

Best,
Max

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Reproduce the minimal example in /MyProjectDirectory/Test.jl with the module in /MyProjectDirectory/MyModule.jl on Julia 1.0.1 and macOS Mojave. Start by testing the CSV, Images, and PyPlot imports individually and in combination, then compare the package versions listed in the issue and review the linked Images.jl and CSV.jl reports. Done means identifying a reproducible package interaction and documenting which component owns the failure.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, python
領域
data-visualization
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。