bugGNU Octave - Bugs: bug #44285, "test eigs" never...

 
 

bug #44285: "test eigs" never returns when built with SuiteSparse 4.4.3

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Tue 17 Feb 2015 04:23:08 PM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Thu 19 Feb 2015 03:37:48 AM UTC, comment #6:

Found and fixed, this is a version compatibility thing:

http://hg.savannah.gnu.org/hgweb/octave/rev/cdcdb255c46d

In SuiteSparse 4.3 and newer, the functions cholmod_divcomplex and cholmod_hypot were changed to dispatch to SuiteSparse_divcomplex and SuiteSparse_hypot. The patch that was applied to fix bug #43063 updated how the function pointers are assigned, but the wrong (old) function pointers were still being assigned. This resulted in an infinite loop of cholmod_divcomplex calling itself.

Mike Miller <mtmiller>
Project Administrator
Thu 19 Feb 2015 02:15:36 AM UTC, comment #5:

The impact seems to be that certain sparse complex matrix functions will not return when using SuiteSparse 4.4, maybe also version 4.3. Debian and Ubuntu are still on SuiteSparse 4.2.1. Fedora 21 is still on SuiteSparse 4.2.1, but Fedora 22 will have 4.3 or 4.4. Not sure about other distros or Mac packaging systems.

I would say that it's not a blocker since 4.2 is still pretty widespread, but maybe a serious regression with 4.3 and 4.4 coming along.

Mike Miller <mtmiller>
Project Administrator
Wed 18 Feb 2015 06:51:10 PM UTC, comment #4:

Is this a blocker for the 4.0 release?

Rik <rik5>
Project Administrator
Tue 17 Feb 2015 11:10:27 PM UTC, comment #3:

Seems strange that our calling conventions use to work, but now don't. That would tend to point the finger towards SuiteSparse rather than Octave.

Rik <rik5>
Project Administrator
Tue 17 Feb 2015 10:57:57 PM UTC, comment #2:

All tests in the "Complex hermitian tests" block that are marked with HAVE_UMFPACK hang. If I comment them all out, `test eigs` finishes successfully. All of them are blocked in the function cholmod_divcomplex, which never returns (Ctrl-C followed by the `finish` command to gdb shows that the function never returns).

Example top of the stack:

It could be a bug in the library, or it could be something we need to call or configure differently before using the same functions that used to work.

Mike Miller <mtmiller>
Project Administrator
Tue 17 Feb 2015 04:42:20 PM UTC, comment #1:

Can you run under gdb and wait for the tests to become stuck, hit Ctrl+C, and then get a backtrace? Are we stuck in Octave code or in a library call to a function in SuiteSparse? Maybe the latest SuiteSparse library has a bug?

The other thing I do sometimes is a binary search within the %!tests by commenting out 1/2 of the tests, running, and based on failure/success comment out 1/2 of the remaining, etc. It converges pretty quickly.

Rik <rik5>
Project Administrator
Tue 17 Feb 2015 04:23:08 PM UTC, original submission:

When Octave is built with SuiteSparse 4.4.3, "test eigs" runs forever. Extracting all %!test lines from eigs.m and running it as a separate script finishes.

The last test to execute is (I think) this one:

http://hg.savannah.gnu.org/hgweb/octave/file/17a7e9f26e50/scripts/sparse/eigs.m#l634

(assuming `test eigs verbose` prints before it executes).

Switching back to SuiteSparse 4.2.1, the same "test eigs" runs fine.

Mike Miller <mtmiller>
Project Administrator

 

(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 mtmiller (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 19 Feb 2015 03:37:48 AM UTCmtmillerStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1