bugGNU Octave - Bugs: bug #29584, Abort in rref when used with...

 
 

bug #29584: Abort in rref when used with matrix produced by eye()

Submitter:  None
Submitted:  Sat 17 Apr 2010 06:40:34 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  highegg
Originator Name:  stac Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.2.2
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 18 Apr 2010 03:49:53 PM UTC, comment #1: 

This appears to be fixed within the development tree.

Jaroslav Hajek <highegg>
Sat 17 Apr 2010 06:40:34 PM UTC, original submission:  

octave --eval "rref(eye(2,2))"         ===> abort in free()
octave --eval "m = eye(2,2); rref(m)"  ===> abort in free()
octave --eval "rref([1 0; 0 1])"       ===> correct result

octave --eval "rref(eye(2,1))"         ===> abort in malloc()
octave --eval "rref([1;0])"            ===> correct result

Same results are produced in an interactive session with octave.

Looks like a heap corruption since malloc/free are noticing a broken heap and calling abort().

I'm running on Ubuntu Karmic (9.10) with ubuntu package version 3.2.2-2build1.

The output from the very first command (above) and the octave-core file are attached.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #20257:  octave_crash.txt added by None (8KiB - text/plain - Crash output from the first command in the bug report.)
file #20258:  octave-core added by None (113B - application/octet-stream - Crash output from the first command in the bug report.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by highegg (Posted a comment)
  • -email is unavailable- added by None (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-18 highegg Open/ClosedOpen Closed
    2010-04-18 highegg StatusNone Fixed
        Assigned toNone highegg
    2010-04-17 None Attached File- Added octave_crash.txt, #20257
        Attached File- Added octave-core, #20258

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code