bugGNU Octave - Bugs: bug #49758, octave-cli crashes when closing...


bug #49758: octave-cli crashes when closing fullscreen plot

Submitter:  None
Submitted:  Sat 03 Dec 2016 04:03:27 AM UTC
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Need Info Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.2.0
Operating System:  * Mac OS Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


( Jump to the original submission )

Sun 10 Mar 2019 06:48:06 PM UTC, comment #11: 

FLTK is no longer actively supported in Octave.  I would recommend working with the qt or gnuplot toolkits.  Closing report.

Rik <rik5>
Project Administrator
Sun 03 Mar 2019 06:52:09 AM UTC, comment #10: 

I believe the issue should still be checked for reproducibility using the laste stable version of 5.1.0.

Rik <rik5>
Project Administrator
Sat 16 Feb 2019 09:04:51 AM UTC, comment #9: 

Unfortunately, this bug is about the FLTK toolkit, so the fix for bug #54187 can't have changed anything here.

Pantxo Diribarne <pantxo>
Project Member
Fri 15 Feb 2019 04:42:33 PM UTC, comment #8: 

Oops, sorry. In my comment #6 I put the wrong reference. I wanted to link to bug #54187 instead (Rik's comment 12 of that one).

Hartmut <hardy>
Fri 15 Feb 2019 12:50:07 PM UTC, comment #7: 

@Harmut: What other bug report are you referencing in comment #6? The one you linked to is this one.

Pantxo Diribarne <pantxo>
Project Member
Thu 10 Jan 2019 08:12:23 PM UTC, comment #6: 

In bug #49758 (comment 12 there), Rik mentioned that the patch that solves that issue will likely also solve this issue. So if some MacOS user is willing and able to compile Octave from source he or she could test if this patch really is a solution to this issue under MacOS. Or, since this patch will most likely go into the upcoming 5.0 release of Octave, one could just wait until this new Octave version is (pre-)released and then test this issue with the new 5.0 version of Octave.

(I also cannot reproduce this crash under linux, with versions 4.4 or 5.0 of Octave.)

Hartmut <hardy>
Mon 05 Dec 2016 09:52:49 PM UTC, comment #5: 

I'm pretty sure this is Mac OS only and related to threading and that there is no solution for the time being other than using gnuplot.  You might ask on the octave-help list about this.

Rik <rik5>
Project Administrator
Mon 05 Dec 2016 09:39:33 PM UTC, comment #4: 

Upgrading to 4.2.0 does not seem to have fixed this:

GNU Octave, version 4.2.0
Copyright (C) 2016 John W. Eaton and others.
This is free software; see the source code for copying conditions.
FITNESS FOR A PARTICULAR PURPOSE.  For details, type 'warranty'.

Octave was configured for "x86_64-apple-darwin15.x.x".

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'.

octave:1> plot(1,1)
octave:2> panic: Segmentation fault: 11 -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Segmentation fault: 11

Mon 05 Dec 2016 04:27:11 PM UTC, comment #3: 

Octave 4.0.3 is deprecated and no longer supported.  Could you upgrade to the newly released 4.2.0 and try to reproduce the issue.

Rik <rik5>
Project Administrator
Sat 03 Dec 2016 06:51:20 PM UTC, comment #2: 

This happens when using the fltk graphics toolkit, it does not happen when using the gnuplot toolkit.  Qt is not listed as available by available_graphics_toolkits

Sat 03 Dec 2016 08:25:22 AM UTC, comment #1: 

Does this happen for Qt only?  What happens when you try:

graphics_toolkit fltk

and then repeat the process?

Dan Sebald <sebald>
Sat 03 Dec 2016 04:03:27 AM UTC, original submission:  

when closing fullscreen plot, octave-cli crashes with segmentation fault:


octave:1> plot(1,1)
octave:2> %make plot full screen by clicking green 'maximize' button on plot title bar
octave:2> %close plot using file menu or pressing esc key
octave:2> panic: Segmentation fault: 11 -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete
Segmentation fault: 11

This doesn't happen with octave, only with octave-cli

I am using OSX 10.11.6, and octave 4.0.3, which was installed using macports with the following variant options selected: +accelerate +app +docs +fltk +gfortran +graphicsmagick +qt4gui +sound



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #39135:  crash_report.txt added by None (58KiB - text/plain - osx-generated crash report)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by sebald (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.





    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-10 rik5 Open/ClosedOpen Closed
    2016-12-05 rik5 CategoryNone Plotting with OpenGL
        Release4.0.3 4.2.0
    2016-12-05 rik5 StatusNone Need Info
    2016-12-03 None Attached File- Added crash_report.txt, #39135

    Back to the top

    Powered by Savane 3.9