Pluto intermittently needs to be restarted on Julia-1.7-RC3 (arm version, MacOS Monterey 16" M1) when attempting to plot. #1686
-
Hi, First question is if there are other users working with above configuration. If so, I've seen many issues over the last 2 weeks and have been trying to create a MWE to show the issues. Below one case. Both files need to be in a single directory and it uses (in addition to Pluto.jl):
As I state in the notebook:
At least for this MWE. I have also seen cases where disabling distribution does not suffice and simply hangs, e.g. in CSV.read but these have been harder to pin down in a MWE. All cases work fine in the REPL. With distribution enabled the notebook hangs and wants to be restarted (mostly, I've also seen Julia terminated and task errors). Some of these issues I've also seen on my Intel MacBook. I'll dig into that more today. |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
Digging into what was going on using an Intel based machine I noticed my So I went back to the M1 machine and noticed there I had used The problem always seems to be related to working with Plots/StatsPlots. |
Beta Was this translation helpful? Give feedback.
-
Just for completeness, I will try Make/AlgebraOfGraphics/CairoMakie as well, the problem always shows up as:
Further lowering the number of Julia threads doesn't help a lot (but going from 5 to 4 is a small step). |
Beta Was this translation helpful? Give feedback.
-
Hi! Thanks for the report. Just to make it easier to understand, could you edit your original message to make it really clear what the problem is. You say "Issues", but we don't know what they are. This also makes it easier for other users to find this discussion and contribute. |
Beta Was this translation helpful? Give feedback.
-
Hi Fons, bedankt voor je reactie! Here some more details what I meant by "With distribution enabled the notebook hangs". At the bottom a screenshot showing how the notebook looks after "hanging". Since I set JULIA_NUM_THREADS=4 In the terminal, after a fresh Julia-1.7-RC3 restart, updating my project (ROS, just so the packages are available), I start Pluto and select pluto_test.jl. The notebook hangs in the plot cell at the end as shown in the screenshot. Please let me know if this is not sufficient. Terminal output:
|
Beta Was this translation helpful? Give feedback.
-
My versions and loaded packages are:
The ROS project is part of StanJulia. |
Beta Was this translation helpful? Give feedback.
-
I've seen 2 updates tp Plots and StatsPlots and haven't seen this issue since. I'll leave this open for one more week and then mark this as an answer. |
Beta Was this translation helpful? Give feedback.
-
I wonder if this is related/similar as JuliaLang/julia#43285 (comment) My experiences with native (arm) Julia--1.7 on Apple silicon and Pluto have been pretty good since above updates. |
Beta Was this translation helpful? Give feedback.
-
This week, after building Julia 1.8-DEV from sources I have not seen this issue anymore, neither with Plots/GR nor Make/GLMakie. |
Beta Was this translation helpful? Give feedback.
This week, after building Julia 1.8-DEV from sources I have not seen this issue anymore, neither with Plots/GR nor Make/GLMakie.
I consider the discussion as closed and answered now.