bugGNU Octave - Bugs: bug #53912, make check hangs system

 
 

bug #53912: make check hangs system

Submitter:  Michael Godfrey <godfrey>
Submitted:  Tue 15 May 2018 03:39:49 PM UTC
   
 
Category:  Test Suite Severity:  5 - Blocker
Priority:  5 - Normal Item Group:  Other
Status:  Fixed Assigned to:  None
Originator Name:  Godfrey Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 15 May 2018 08:17:09 PM UTC, comment #7: 

Verified.  'make check' has returned to passing.  I'm going to close this report.  The real action has to take place over at bug #53844.

Rik <rik5>
Group administrator
Tue 15 May 2018 08:02:50 PM UTC, comment #6: 

I undid the handle class destructor changes here:

http://hg.savannah.gnu.org/hgweb/octave/rev/61ba501d8f04

and merged stable with default.

This fix for classdef will just have to wait until it can be done properly on default.

John W. Eaton <jwe>
Group administrator
Tue 15 May 2018 06:37:59 PM UTC, comment #5: 

Separately, I just came across this as well.  Just running 'test gmres' gives a failure for me


octave:2> test gmres
***** test
 dim = 100;
 A = spdiags ([[1./(2:2:2*(dim-1)) 0]; 1./(1:2:2*dim-1); ...
 [0 1./(2:2:2*(dim-1))]]', -1:1, dim, dim);
 A = A'*A;
 b = rand (dim, 1);
 [x, resvec] = gmres (@(x) A*x, b, dim, 1e-10, dim,...
                      @(x) x./diag (A), [], []);
 assert (x, A\b, 1e-9*norm (x, Inf));
 [x, flag] = gmres (@(x) A*x, b, dim, 1e-10, 1e6,...
                    @(x) diag (diag (A)) \ x, [], []);
 assert (x, A\b, 1e-9*norm (x, Inf));
 [x, flag] = gmres (@(x) A*x, b, dim, 1e-10, 1e6,...
                    @(x) x ./ diag (A), [], []);
 assert (x, A\b, 1e-7*norm (x, Inf));
!!!!! test failed
out of memory or dimension too large for Octave's index type


I used hg bisect to locate the same cset as Mike as the source of the problem.

Rik <rik5>
Group administrator
Tue 15 May 2018 05:03:50 PM UTC, comment #4: 

OK, I will undo those changes.  Who knew that arranging to call a destructor would be so problematic?

John W. Eaton <jwe>
Group administrator
Tue 15 May 2018 04:50:06 PM UTC, comment #3: 

The change that broke this is 2f3a66d7cf8a (https://hg.savannah.gnu.org/hgweb/octave/rev/2f3a66d7cf8a).

jwe - another good reason to revert these classdef changes on stable :)

Mike Miller <mtmiller>
Group Member
Tue 15 May 2018 04:22:39 PM UTC, comment #2: 

The problematic test is:



dim = 100;
A = spdiags ([[1./(2:2:2*(dim-1)) 0]; 1./(1:2:2*dim-1);[0 1./(2:2:2*(dim-1))]]', -1:1, dim, dim);
A = A'*A;
b = rand (dim, 1);
[x, flag] = gmres (@(x) A*x, b, dim, 1e-10, 1e6,@(x) x ./ diag (A), [], []);


Dmitri.

Dmitri A. Sergatskov <dasergatskov>
Tue 15 May 2018 03:54:46 PM UTC, comment #1: 

I confirm.

Dmitri.
--


Dmitri A. Sergatskov <dasergatskov>
Tue 15 May 2018 03:39:49 PM UTC, original submission:  

As of: HG ID for this build is "b75d55b3dbb7"
running make check gets to:
  sparse/gmres.m ............................................../bin/sh: line 1: 14328 Killed

At which point the swapfile starts to grow indefinitely.
If the process is not killed the system locks up and must
be manually rebooted. This happens under Fedora 27 and 28.

Michael Godfrey <godfrey>
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 rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by godfrey (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-05-15 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2018-05-15 jwe StatusConfirmed Ready For Test
    2018-05-15 mtmiller Severity3 - Normal 5 - Blocker
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code