bugGNU Octave - Bugs: bug #48323, interval package: segmentation...

 
 

bug #48323: interval package: segmentation fault in qr function

Submitter:  Oliver Heimlich <oheim>
Submitted:  Mon 27 Jun 2016 05:45:02 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Works For Me Assigned to:  None
Originator Name:  Oliver Heimlich Open/Closed:  * Closed
Release:  * 3.8.2 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 16 Jul 2016 09:48:06 PM UTC, comment #3: 

It has to do with parallelization. I can use either OMP_THREAD_LIMIT=1 or OMP_NUM_THREADS=1 as a workaround on my system. I don't know how to trace down the error further.

Since on the very same system there is no error with Octave 4.0.3, I suspect that the root cause is located somewhere in Octave core and has been fixed already.

Please close this bug report.

Oliver Heimlich <oheim>
Mon 27 Jun 2016 05:50:27 PM UTC, comment #2: 

Thank you! Might be something wrong with my system then. I will investigate further in that direction and come back with more information.

Oliver Heimlich <oheim>
Mon 27 Jun 2016 05:07:13 PM UTC, comment #1: 

I do not get a segfault with Octave 3.8.2 given the procedure shown. I get instead "PASSES 10 out of 10 tests".

I did a clean build with revision bea91f0188a3, and used "make run MKOCTFILE=mkoctfile-3.8.2 OCTAVE=octave-3.8.2".

Mike Miller <mtmiller>
Group Member
Mon 27 Jun 2016 05:45:02 AM UTC, original submission:  

Octave 3.8.2 crashes during BISTs of the new @infsup/qr method. The crash does not happen in Octave 4.0.2 (tested on GNU/Linux and Windows).

If I added some tracing output, I can see that the crash does not happen reproducibly at the same spot every time. However, since there are a few BISTs for that method, chances are very high that it crashes before all tests have been run. At least in Octave 3.8.2.

For now, could you please try to reproduce the problem? You may clone the interval repo and use  “make run”. I can also provide a tarball, but that shouldn't be necessary.


$ make run
Run GNU Octave with the development version of the package
… *SNIP* …
octave:1> test @infsup/qr
warning: mx_el_or: automatic broadcasting operation applied
… *SNIP* ignore the warnings *SNIP* …
warning: mx_el_or: automatic broadcasting operation applied
panic: Segmentation fault -- stopping myself...
Segmentation fault


Oliver Heimlich <oheim>

 

(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 (Updated the item)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by siko1056
  • -email is unavailable- added by oheim (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-08-12 rik5 Open/ClosedOpen Closed
    2016-06-27 mtmiller StatusNone Works For Me
    2016-06-27 siko1056 Carbon-Copy- Added siko1056

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code