-
-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Plots crashes and julia hangs plotting correlogram with >11 columns on Boston housing dataset #4856
Comments
It seems the issue is with VSCODE: I was able to make it work in the REPL. I do find it peculiar that works with plotly backend though. I will close this issue here and open it in /~https://github.com/julia-vscode/julia-vscode |
@BioTurboNick By the way, the same gr() code crashes in From initial responses it seems that the VSCODE for Julia people won't do anything. It would be great if you guys could have a better look at this issue... |
It could be a GR issue then, with certain display types? Honestly if there are malloc/free issues, it is probably something in GR's C internals, rather than in Julia. |
The problem only occurs in the |
The problem is fixed with this commit. A new GR release is expected in the next days. |
@BeastyBlacksmith what is the plan for the next release of I understand that the new version of |
Plots 1.40 is compatible with GR 0.73 which includes 0.73.2, c.f. Line 63 in fcf2e74
|
With following code Plots.jl crashes and julia hangs. Julia 1.9.4 on Ubuntu 23.04 + vscode.
The Boston housing dataset is very common and similar visualizations exist e.g. with Seaborn on Python and many packages in R.
Everything works with 11 variables / columns but crashes with >11. As there are no problems in plotly, it may well be that the problem is centred on the gr() backend.
Before dying julia display the following:
Please note that not surprisingly the problem exist with StatsPlots (where I originally found the issue). I reported here JuliaPlots/StatsPlots.jl#547 (but the error shown before hanging is slightly different).
Backends
I use gr()
This bug occurs on ( insert
x
below )Versions
Plots.jl version: Plots v1.39.0
Backend version (
]st -m <backend(s)>
): GR v0.72.8Output of
versioninfo()
:julia> versioninfo()
Julia Version 1.9.4
Commit 8e5136fa297 (2023-11-14 08:46 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Linux (x86_64-linux-gnu)
CPU: 12 × Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, skylake)
Threads: 12 on 12 virtual cores
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS = 12
The text was updated successfully, but these errors were encountered: