bugGNU Octave - Bugs: bug #45162, setdiff(A,B) crashes if A is a...

 
 

bug #45162: setdiff(A,B) crashes if A is a matrix of repeated integers

Submitted by:  None
Submitted on:  Thu 21 May 2015 07:41:49 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: Miguel AngelOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.2
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 21 May 2015 08:40:53 PM UTC, comment #2:

With 3.8.2 on Windows, I get the same results (error) as you.

On Windows with octave-4.0.0-rc4:

==> I consider this bug fixed.

Philip Nienhuis <philipnienhuis>
Project Member
Thu 21 May 2015 08:40:22 PM UTC, comment #1:

Happily, this has already been fixed. Try the latest 4.0.0-rc4 release candidate available at ftp://alpha.gnu.org/gnu/octave/.

Octave 4.0.0 will be released fully very soon.

Rik <rik5>
Project Administrator
Thu 21 May 2015 07:41:49 PM UTC, original submission:

octave:102> setdiff(uint8([0 0 0 0]),uint8([0]))
error: setdiff: A(I) = X: X must have the same size as I
error: called from:
error: /usr/share/octave/3.8.2/m/set/setdiff.m at line 80, column 20
octave:102> setdiff([0 0 0 0],uint8([0]))
ans = [](1x0)

Anonymous

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 May 2015 08:40:22 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1