Mon 18 Jan 2016 08:14:04 AM UTC, original submission:
Hi,
When trying to save a figure in format 'png', Octave crashes.
This is from an almost clean installation of Ubuntu 15.10.
Octave crashes both when ran with GUI and without.
Below is a very short sequence that crashes Octave for me.
In essence it's:
fig=figure(1); peaks(); saveas(fig, 'test.png', 'png')
I suppose it'd be ok that saving as PNG doesn't work because some tools are missing, but it shouldn't crash Octave in my opinion.
Regards,
Christian
$ octave --no-gui
GNU Octave, version 4.0.0
Copyright (C) 2015 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.
Octave was configured for "x86_64-pc-linux-gnu".
Additional information about Octave is available at http://www.octave.org.
Please contribute if you find this software useful.
For more information, visit http://www.octave.org/get-involved.html
Read http://www.octave.org/bugs.html to learn how to submit bug reports.
For information about changes from previous versions, type 'news'.
>> fig=figure(1); peaks(); saveas(fig, 'test.png', 'png')
warning: print.m: epstool binary is not available.
Some output formats are not available.
warning: called from
_print_parse_opts_ at line 382 column 9
print at line 291 column 8
saveas at line 105 column 3
warning: print.m: fig2dev binary is not available.
Some output formats are not available.
panic: Segmentation fault -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Segmentation fault (core dumped)
|