bugGNU Octave - Bugs: bug #48574, With GCC 6.x, an error in an...

 
 

bug #48574: With GCC 6.x, an error in an onCleanup function causes Octave to crash

Submitted by:  John W. Eaton <jwe>
Submitted on:  Wed 20 Jul 2016 11:28:45 PM UTC  
 
Category: InterpreterSeverity: 5 - Blocker
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: John W. Eaton <jwe>
Originator Name: jweOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 22 Jul 2016 04:28:29 PM UTC, comment #1:

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/63c806042c27

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Wed 20 Jul 2016 11:28:45 PM UTC, original submission:

GCC 6 now warns

and an error in an onCleanup function can trigger this problem. The following is sufficient to demonstrate the bug:

A possible fix is attached.

Maybe we should also display the message from the last error along with the new warning about an error in the cleanup function?

What does Matlab do for something like this?

John W. Eaton <jwe>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #37966:  diffs.txt added by jwe (888B - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 22 Jul 2016 04:28:29 PM UTCjweStatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Wed 20 Jul 2016 11:28:45 PM UTCjweAttached File-=>Added diffs.txt, #37966

    Back to the top


    Powered by Savane 3.1-cleanup1