Description of problem: Octave crashes when plotting a 3d surface: tx = ty = linspace (-8, 8, 41)'; [xx, yy] = meshgrid (tx, ty); r = sqrt (xx .^ 2 + yy .^ 2) + eps; tz = sin (r) ./ r; mesh (tx, ty, tz); From: https://www.gnu.org/software/octave/doc/v4.2.1/Three_002dDimensional-Plots.html Version-Release number of selected component (if applicable): octave.x86_64 6:3.8.2-20.el7 Steps to Reproduce: 1. Execute the script: tx = ty = linspace (-8, 8, 41)'; [xx, yy] = meshgrid (tx, ty); r = sqrt (xx .^ 2 + yy .^ 2) + eps; tz = sin (r) ./ r; mesh (tx, ty, tz); Actual results: panic: Segmentation fault -- stopping myself... attempting to save variables to 'octave-workspace'... save to 'octave-workspace' complete Segmentation fault (core dumped)
A workaround is to use graphics_toolkit('gnuplot') Filed ticket upstream at https://savannah.gnu.org/bugs/?52280
As you can see from the upstream ticket, the 3.8 series is no longer supported. Unfortunately, while Octave 4.2.1 would appear to build in EPEL7, we can't really update the EPEL7 packages due to the Fedora EPEL update policy, which heavily recommends not doing major version updates. I'm sorry but you'll have to either use the workaround in Comment 1, or manually update to a newer version of Octave.
Note there there is a newer version available from https://copr.fedorainfracloud.org/coprs/g/scitech/octave/ (4.0). Hope to update to 4.2 someday (testing in https://copr.fedorainfracloud.org/coprs/g/scitech/octave4.2/builds/)
OpenGL driver is a suspect. As another possible workaround you can try LIBGL_ALWAYS_SOFTWARE=1 octave Dmitri. --
(In reply to Dmitri A. Sergatskov from comment #4) > LIBGL_ALWAYS_SOFTWARE=1 octave I can reproduce a crash even with the software driver.