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

 
 

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

Submitted by:  Naftali Kidron <ilatfan>
Submitted on:  Sat 05 Oct 2013 04:07:29 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: ilafanOpen/Closed: Closed
Release: 3.6.4Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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 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 ilatfan (Submitted the item)
  • -unavailable- added by ilatfan
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 07 Oct 2013 03:37:00 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 05 Oct 2013 04:07:29 AM UTCilatfanCarbon-Copy-=>Added ilatfan

    Back to the top


    Powered by Savane 3.1-cleanup1