octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46926] saveas() crashes Octave


From: anonymous
Subject: [Octave-bug-tracker] [bug #46926] saveas() crashes Octave
Date: Mon, 18 Jan 2016 08:14:05 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

URL:
  <http://savannah.gnu.org/bugs/?46926>

                 Summary: saveas() crashes Octave
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 18 Jan 2016 08:14:04 AM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Christian Ridderström
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

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)





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46926>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]