segfault after importing CSV and Images, PyPlot from a separate module
- Ngôn ngữ chính
- Julia
- Star
- 488
- Fork
- 90
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.