bugGNU Octave - Bugs: bug #45849, crash when using matrix division...

 
 

bug #45849: crash when using matrix division with Inf values (Windows only)

Submitted by:  None
Submitted on:  Mon 31 Aug 2015 08:48:51 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: DuplicateAssigned to: None
Originator Name: WimMOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.0
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 12 Sep 2015 10:02:28 PM UTC, comment #5:

Closing as duplicate, no more information is needed here, we just need a solution to bug #39000.

Mike Miller <mtmiller>
Project Administrator
Mon 31 Aug 2015 02:42:43 PM UTC, comment #4:

Also bug #39000. We can't expect to avoid all exceptional conditions with the linear algebra libraries, but Octave does expect to be able to override the error handler routine so it doesn't cause the program to exit immediately.

Mike Miller <mtmiller>
Project Administrator
Mon 31 Aug 2015 02:26:58 PM UTC, comment #3:

Is this a duplicate of bug #45484 or bug #45577?

It looks like whenever the matrix divide routine in the BLAS library is called with an IEEE exceptional value such as Inf or NaN there is a possibility of triggering the exception.

The sqrt() is not necessary and the ultimate stripped down example is

Rik <rik5>
Project Administrator
Mon 31 Aug 2015 10:02:12 AM UTC, comment #2:

confirmed. it crashes imediatly.

Anonymous
Mon 31 Aug 2015 09:55:33 AM UTC, comment #1:

If I run your code I get

A very stripped down snippet is

Can you confirm, that the line above also crashes Octave 4.0.0 on Windows?

Andreas Weber <andy1978>
Project Member
Mon 31 Aug 2015 08:48:51 AM UTC, original submission:

When i run the m-file attached, octave consistently crashes. The problem accored when adding (and running) lines 40/41. I know the matrix dimensions are screwed up, and was expeciting to get an error. however, the error never showed up and octave crashes instead. :(

PS: great work! My work would be nearly impossible without octave!

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #34773:  ReqSpeed.m added by None (2KiB - application/octet-stream)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by rik5
  • -unavailable- added by andy1978 (Posted a comment)
  • -unavailable- added by None (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 12 Sep 2015 10:02:28 PM UTCmtmillerOpen/ClosedOpen=>Closed
    Tue 01 Sep 2015 03:27:06 PM UTCrik5StatusNone=>Duplicate
      Summaryshutdown on running simple calculation .m file=>crash when using matrix division with Inf values (Windows only)
    Tue 01 Sep 2015 03:26:12 PM UTCrik5Dependencies-=>Depends on bugs #45484
    Tue 01 Sep 2015 03:25:35 PM UTCrik5Dependencies-=>Depends on bugs #39000
    Mon 31 Aug 2015 02:26:58 PM UTCrik5Carbon-Copy-=>Added jwe
    Mon 31 Aug 2015 08:48:51 AM UTCNoneAttached File-=>Added ReqSpeed.m, #34773

    Back to the top


    Powered by Savane 3.1-cleanup1