bugGNU Octave - Bugs: bug #51660, __run_test_suite__ can unwind its...

 
 

bug #51660: __run_test_suite__ can unwind its own return values

Submitted by:  Colin Macdonald <cbm>
Submitted on:  Fri 04 Aug 2017 06:59:42 PM UTC  
 
Category: Test SuiteSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Unexpected Error
Status: FixedAssigned to: None
Originator Name: Open/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.

 

Sat 05 Aug 2017 03:44:26 AM UTC, comment #2:

This works for me now. Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Fri 04 Aug 2017 11:13:16 PM UTC, comment #1:

I pushed the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/595d6716e3e2

It seems to fix the immediate problem, but I'm not sure whether there are others related to exception handling/stack unwinding.

John W. Eaton <jwe>
Project Administrator
Fri 04 Aug 2017 06:59:42 PM UTC, original submission:

_run_test_suite_.m does a lot of work inside both a unwind_protect and a try block. It later uses some of those variables which may have been unwound.

For example, "nfail".

Here's a kind of trivial example, but there may be more significant ones (e.g., after some tests have run).

1. Suppose I go to some dir where I do not have write permissions.

2. Try:

Colin Macdonald <cbm>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by cbm
  • -unavailable- added by cbm (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 05 Aug 2017 03:44:26 AM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 04 Aug 2017 11:13:16 PM UTCjweStatusNone=>Ready For Test
    Fri 04 Aug 2017 07:03:15 PM UTCcbmCarbon-Copy-=>Added mtmiller

    Back to the top


    Powered by Savane 3.1-cleanup1