bugGNU Octave - Bugs: bug #30099, Segmentation fault when using...

 
 

bug #30099: Segmentation fault when using logical index to sparse array

Submitted by:  Rik <rik5>
Submitted on:  Thu 10 Jun 2010 12:51:28 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
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.

 

Mon 14 Jun 2010 08:42:14 AM UTC, comment #1:

Fixed by
http://hg.savannah.gnu.org/hgweb/octave/rev/c49911ab7ac7

Jaroslav Hajek <highegg>
Thu 10 Jun 2010 12:51:28 AM UTC, original submission:

The following code produces a segmentation fault under the development version, but not under 3.0.5.

t2 = sparse (2,2);
t1 = logical (speye (2));
t2(t1) = 5;

octave: idx-vector.cc:1091: void idx_vector::copy_data(octave_idx_type*) const: Assertion `false' failed.
panic: Aborted -- stopping myself...

Rik <rik5>
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 highegg (Posted a comment)
  • -unavailable- added by rik5 (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
    Mon 14 Jun 2010 09:13:03 AM UTChigheggStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1