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

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

[Octave-bug-tracker] [bug #58814] Abort, core dump on exiting from graph


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #58814] Abort, core dump on exiting from graphics code
Date: Thu, 13 Aug 2020 18:39:16 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #20, bug #58814 (project octave):

Another update:

With Octave built from hg id bdc53d9affb2 and using the tst_segfault2.m
script, I can usually generate a crash at exit if I select the "rotate"
toolbar icon in one of the figures and rotate the figure as Octave is exiting.
 That also happens for me with my patches.

Following an idea from comment #13, I added "close all" to the end of the
tst_segfault2.m script and it seemed to help.  So I removed that and added


  OCTAVE_SAFE_CALL (feval, ("close", ovl ("all"), 0));


as the first thing in the interpreter:shutdown function.  That also seemed to
work without needing any calls to sleep.

A new patch is attached (interp-shutdown-reorder-diffs-2.txt).  Does this
change work for anyone else?

(file #49669)
    _______________________________________________________

Additional Item Attachment:

File name: interp-shutdown-reorder-diffs-2.txt Size:2 KB
   
<https://file.savannah.gnu.org/file/interp-shutdown-reorder-diffs-2.txt?file_id=49669>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58814>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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