bugGNU Octave - Bugs: bug #36493, memory exhausted when plotting...

 
 

bug #36493: memory exhausted when plotting small negative constant data with log scale

Submitted by:  Carlo de Falco <cdf>
Submitted on:  Fri 18 May 2012 08:51:07 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 25 May 2012 11:04:26 PM UTC, comment #3:

You definitely found the right piece of code. I checked in a fix here (http://hg.savannah.gnu.org/hgweb/octave/rev/e3da2a68d709) although I decided to use an if/then approach because I thought it was clearer.

Rik <rik5>
Project Administrator
Fri 25 May 2012 01:12:29 PM UTC, comment #2:

Hi,

I think the problem is around line 5931 of graphics.cc. min_val should be increased if negative and max_val decreased. Is it elegant something like
? Or, is it better an if-else solution?

Marco

Marco Caliari <caliari>
Project Member
Thu 24 May 2012 01:40:48 AM UTC, comment #1:

Confirmed on a recent tip (5/23/12). In addition I clarified in the Summary that the constant data needs to be negative.

Rik <rik5>
Project Administrator
Fri 18 May 2012 08:51:07 PM UTC, original submission:

I get the following error in the current development sources:

this happens with both gnuplot and fltk backends.

c.

Carlo de Falco <cdf>
Project Member

 

(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 caliari (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by cdf (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 25 May 2012 11:04:26 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 24 May 2012 01:40:48 AM UTCrik5StatusNone=>Confirmed
      Summarymemory exhausted when plotting small constat data with log scale=>memory exhausted when plotting small negative constant data with log scale

    Back to the top


    Powered by Savane 3.1-cleanup1