bugGNU Octave - Bugs: bug #36137, Running 'test dassl.cc' twice...

 
 

bug #36137: Running 'test dassl.cc' twice creates unrecoverable error

Submitter:  Rik <rik5>
Submitted:  Mon 09 Apr 2012 04:45:03 AM UTC
   
 
Category:  Libraries 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:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Thu 20 Jun 2013 01:05:13 AM UTC, comment #1: 

Fixed by changing the test code to restore the tolerance to a proper value rather than eps().  See this changeset (http://hg.savanna ... /rev/781916090eb1).

Rik <rik5>
Group administrator
Mon 09 Apr 2012 04:45:03 AM UTC, original submission:  

When using run-octave in a development directory, executing 'test dassl.cc' creates an unrecoverable error.

Test code:


test dassl.cc
PASSES 4 out of 4 tests
test dassl.cc

test dassl.cc
 ***MESSAGE FROM ROUTINE DDASSL IN LIBRARY SLATEC.
 ***POTENTIALLY RECOVERABLE ERROR, PROG ABORTED, TRACEBACK REQUESTED
 *  AT T =    0.000000D+00  AND STEPSIZE H =    3.925231D-18  THE ITERATION
 *  MATRIX IS SINGULAR
 *  ERROR NUMBER = -8
 *
 ***END OF MESSAGE

 ***JOB ABORT DUE TO UNRECOVERED ERROR.
0          ERROR MESSAGE SUMMARY
 LIBRARY    SUBROUTINE MESSAGE START             NERR     LEVEL     COUNT
 SLATEC     DDASSL     AT T =    0.000000D+        -8         1         1

  ***** test

 x0 = [1; 0];
 xdot0 = [-10; 10];
 t = (0:0.2:1)';

 tol = 500 * dassl_options ("relative tolerance");

 [x, xdot] = dassl ("__f", x0, xdot0, t);

 y = [exp(-10*t), 1-exp(-10*t)];

 assert (x, y, tol);
!!!!! test failed
exception encountered in Fortran subroutine ddassl_



Rik <rik5>
Group administrator

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    Votes

    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.

     

    History

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-20 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.16-ed84.
    Corresponding source code