-
-
Notifications
You must be signed in to change notification settings - Fork 359
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] [GR] Simple MWE plot with 10000 points causes segfault #2911
Comments
I can reproduce the crash of the plot window, but I do not get a segfault. Julia Version 1.5.0 GR v0.51.0 |
I also get the same hang and closing window but without the segway fault.
Julia Version 1.5.0
Commit 96786e22cc* (2020-08-01 23:44 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin19.6.0)
CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Environment:
JULIA_NUM_THREADS = 12 |
@briochemc can't reproduce, is this still relevant ? |
No I don't see the issue anymore for this MWE! I'll close it because I don't really know what good this issue does at this stage. |
Details
On MacOS (Catalina; v10.15.6), at the REPL, running the MWE below
causes a segfault:
If I don't run the second
plot!(x)
line, no error is thrown, no warning, and the REPL can still work, but if I focus on the plot window (GKSTerm), it freezes for a few seconds and eventually closes it (no segfault in this case). I'm not even sure how to report this, but hopefully this is useful 🙂 My guess is that it has to do with the number of points to be plotted because I don;t recall that ever happening with less points.Note 1: This behavior does not seem to be consistent. 1 out of 3 Slack users could not reproduce (at time of writing).
Note 2: Setting
default(fmt=:png)
prevented the segfault but then the behavior was the same as without the secondplot!(x)
call, i.e., the GKSTerm window hangs and closes on focus.Backends
This bug is specific to the GR backend
Versions
Plots.jl version: v1.5.8
Backend version (
]st -m
): GR v0.51.0Output of
versioninfo()
:The text was updated successfully, but these errors were encountered: