bugGNU Octave - Bugs: bug #40184, pol2cart crashes if nargout==1 but...

 
 

bug #40184: pol2cart crashes if nargout==1 but columns(argout)==2

Submitter:  Naftali Kidron <ilatfan>
Submitted:  Sat 05 Oct 2013 04:07:29 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  ilafan Open/Closed:  * Closed
Release:  * 3.6.4 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 07 Oct 2013 03:37:00 AM UTC, comment #1: 

I fixed this on the development branch of Octave here (http://hg.savannah.gnu.org/hgweb/octave/rev/6278085742b7).  You can grab the m-file from Mercurial, or wait until the next stable release (3.8) which should be out relatively soon (< 2 months).

Rik <rik5>
Group administrator
Sat 05 Oct 2013 04:07:29 AM UTC, original submission:  

calling pol2cart like:
x(:,1:2)=pol2cart(teta,r)
crashes since z is undefined.
adding the statement
z=[];
after the line 60 solves the bug.

Naftali Kidron <ilatfan>

 

(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 (Posted a comment)
  • -email is unavailable- added by ilatfan (Submitted the item)
  • -email is unavailable- added by ilatfan
  •  

    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
    2013-10-07 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2013-10-05 ilatfan Carbon-Copy- Added ilatfan

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code