bugGNU Octave - Bugs: bug #35357, set "ylim": memory...

 
 

bug #35357: set "ylim": memory exhausted or requested size too large

Submitted by:  Dominik Schulz <realniki>
Submitted on:  Mon 23 Jan 2012 05:26:09 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.4.3Operating 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 02 Feb 2012 06:35:38 PM UTC, comment #2:

This has been fixed on the stable branch which is about to become release 3.6.1. The fix has also been merged onto the development branch.

Rik <rik5>
Project Administrator
Wed 25 Jan 2012 07:32:52 PM UTC, comment #1:

This bug also exists in the 3.6.0 release and on the development branch. The code for logarithmic axes has always had a lot of problems...

Rik <rik5>
Project Administrator
Mon 23 Jan 2012 05:26:09 PM UTC, original submission:

When I am doing the following on my Gentoo system:

-------------------------
x = [1 2];
y = [2 2];
semilogy(x, y);
a = 1.1;
set(gca, "ylim",[a, 2])
-------------------------

a get this message:
"error: memory exhausted or requested size too large for range of Octave's index type -- trying to return to prompt"

Everything works fine as long as 'a' is less or equal to 1.0 (or more precise: a <= 1+e-16).

I encountered this when using the function 'axis()'. Then, I digged through the code of axis.m until I was at line 289...
if (len > 3)
set (ca, "ylim", [ax(3), ax(4)]);
endif
...which results in the error mentioned above and crashes a running octave program.

Dominik Schulz <realniki>

 

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

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 02 Feb 2012 06:35:38 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 25 Jan 2012 07:32:52 PM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1