I try to debug certain suggestions from LLM, and typing this:
local array b = [2, 4, 5, 6];
crashes gnuplot silently.
gnuplot
Confirmed. Still happens with 6.0.5 and is not specific to Windows. Of course "local" on top-level makes little sense, but gnuplot certainly should not crash. The code segfaults here:
/* Create new local variable with this name */ if (array_token) { c_token = array_token; local_array_command(lf_head->depth);
because lf_head is NULL in that case.
lf_head
Confirmed. It broke between 6.0.1 and 6.0.2 . The breakage was imported from 6.1 so the fix is needed there also.
Fix pushed for both branch-6-0-stable and master
Log in to post a comment.
Confirmed. Still happens with 6.0.5 and is not specific to Windows. Of course "local" on top-level makes little sense, but gnuplot certainly should not crash. The code segfaults here:
because
lf_headis NULL in that case.Confirmed. It broke between 6.0.1 and 6.0.2 . The breakage was imported from 6.1 so the fix is needed there also.
Fix pushed for both branch-6-0-stable and master