Discussion:
[Octave-bug-tracker] [bug #53912] make check hangs system
Michael Godfrey
2018-05-15 15:39:51 UTC
Permalink
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.

URL:
<http://savannah.gnu.org/bugs/?53912>

Summary: make check hangs system
Project: GNU Octave
Submitted by: godfrey
Submitted on: Tue 15 May 2018 03:39:49 PM UTC
Category: Test Suite
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Other
Status: None
Assigned to: None
Originator Name: Godfrey
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux

_______________________________________________________

Details:

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.





_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?53912>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Dmitri A. Sergatskov
2018-05-15 15:54:46 UTC
Permalink
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #1, bug #53912 (project octave):

I confirm.

Dmitri.
--
_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?53912>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Dmitri A. Sergatskov
2018-05-15 16:22:39 UTC
Permalink
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #2, bug #53912 (project octave):

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.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?53912>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Mike Miller
2018-05-15 16:50:06 UTC
Permalink
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Update of bug #53912 (project octave):

Severity: 3 - Normal => 5 - Blocker
Status: None => Confirmed

_______________________________________________________

Follow-up 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 :)

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?53912>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
John W. Eaton
2018-05-15 17:03:50 UTC
Permalink
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #4, bug #53912 (project octave):

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


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?53912>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Rik
2018-05-15 18:37:59 UTC
Permalink
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Follow-up Comment #5, bug #53912 (project octave):

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.


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?53912>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
John W. Eaton
2018-05-15 20:02:50 UTC
Permalink
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Update of bug #53912 (project octave):

Status: Confirmed => Ready For Test

_______________________________________________________

Follow-up 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.


_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?53912>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
Rik
2018-05-15 20:17:10 UTC
Permalink
Please use the bug tracker to post updates to a bug report. The mailing list is intended as a read-only notification stream. Info posted to this mailing list address won't appear in the tracker database where it is most useful.

Update of bug #53912 (project octave):

Status: Ready For Test => Fixed
Open/Closed: Open => Closed

_______________________________________________________

Follow-up 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.

_______________________________________________________

Reply to this item at:

<http://savannah.gnu.org/bugs/?53912>

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

Loading...