bugGNU Octave - Bugs: bug #56908, segmentation fault when closing...

 
 

bug #56908: segmentation fault when closing plot on macos with fltk toolkit

Submitter:  Carlo de Falco <cdf>
Submitted:  Tue 17 Sep 2019 05:35:53 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 14 Dec 2019 10:25:06 AM UTC, comment #4: 

seems to be fixed in a recent release of the dev branch


octave:17> __octave_config_info__ hg_id
ans = 0948ba09abbd
octave:18> plot (randn (5))
octave:19> close all
octave:20> plot (randn (5))


I'm closing the ticket

Carlo de Falco <cdf>
Group Member
Wed 16 Oct 2019 10:38:27 PM UTC, comment #3: 

There was some recent work done on bug #50025, and the cross-thread error handling was also recently revamped.  It would be worth re-testing to see if this is still an issue.

Rik <rik5>
Group administrator
Sat 21 Sep 2019 07:38:13 PM UTC, comment #2: 

It is a known issue that FLTK, which runs in the same thread as the interpreter, causes problems when Octave's interpreter is not ran from the main thread.

But from your options I guess you are running pure cli Octave. It would help to determined when this stopped working.

Pantxo Diribarne <pantxo>
Group Member
Sat 21 Sep 2019 12:41:57 AM UTC, comment #1: 

Maybe bug #50025?

Rik <rik5>
Group administrator
Tue 17 Sep 2019 05:35:53 AM UTC, original submission:  

I am building on macos 10.14.6 (mojave) with,
among others, the following otions :


 --without-x --with-framework-opengl --with-fltk --without-qt


whenever I try to close a plot I get a segmentation fault :



>> version
ans = 6.0.0
>> graphics_toolkit fltk
>> plot (randn (5))
>> close
fatal: caught signal Segmentation fault: 11 -- stopping myself...
Segmentation fault: 11


I think I had seen the same behavior before, but I thought it had been fixed?


Carlo de Falco <cdf>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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 rik5 (Posted a comment)
  • -email is unavailable- added by cdf (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 group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-14 cdf StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2019-10-16 rik5 StatusNone Need Info
    2019-09-21 pantxo CategoryPlotting Plotting with OpenGL

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code