bugGNU Octave - Bugs: bug #35004, Plotting: Nonsensical axis values...

 
 

bug #35004: Plotting: Nonsensical axis values cause hang for label commands

Submitted by:  Lukas Reichlin <paramaniac>
Submitted on:  Wed 07 Dec 2011 05:54:50 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: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Thu 14 Mar 2013 01:35:31 AM UTC, comment #8:

This has been fixed since version 3.6.0. Closing report.

Rik <rik5>
Project Administrator
Mon 12 Dec 2011 03:00:25 PM UTC, comment #7:

I tried the commands below on Octave-3.4.3 from Fink.

Octave hung on the title command. After a few ctrl+C, the core dumped.

I think the xlim, ylim, zlim, clim (others?) should be checked when set to be sure they have non-NaN values.

I checked the behavior of matlab ...

For the last example, the displayed plot had y-limits of [0,1].

The crash will be more difficult to track down.

Ben Abbott <bpabbott>
Project Member
Sun 11 Dec 2011 08:09:36 PM UTC, comment #6:

BTW: I filed a new bug report:
#35034
https://savannah.gnu.org/bugs/?35034

If the code in #35034 would be working, I could solve the problem quite elegantly in my plotting commands of the control package. In that case, bug #35004 would not be a show stopper any more.

Lukas Reichlin <paramaniac>
Sat 10 Dec 2011 05:01:52 PM UTC, comment #5:

I have access to a MacOS 10.6 install of Octave (Fink). I'll try the script on Monday.

Ben Abbott <bpabbott>
Project Member
Sat 10 Dec 2011 01:43:20 PM UTC, comment #4:

Sorry for the delay. The hang occurs on my MacOS X 10.6 machine and Octave 3.4.3, both FLTK and Gnuplot backends.

Laurent Tissier <libr.tissier@wanadoo.fr>- who reported the bug for "bode" of the control package on the octave help mailing list - confirmed that ubuntu 10.10 with octave 3.4.3 hangs with the code below:

Lukas Reichlin <paramaniac>
Sat 10 Dec 2011 03:10:56 AM UTC, comment #3:

Lucas,

Are you able to reproduce the hang?

Ben Abbott <bpabbott>
Project Member
Wed 07 Dec 2011 11:56:27 PM UTC, comment #2:

I checked the developers sources on MacOS X 10.7. I am able to reproduce Jordi's results (no hang).

Ben Abbott <bpabbott>
Project Member
Wed 07 Dec 2011 07:41:46 PM UTC, comment #1:

I can't reproduce this in dev (at cset 7ab497513c1a). Instead, I get the two attached images for gnuplot and fltk. Admittedly they are both weird, but at least the thing doesn't hang.

You said this happened in any operating system. Did you really test this in several operating systems?

(file #24542, file #24543)

Jordi GutiƩrrez Hermoso <jordigh>
Project Administrator
Wed 07 Dec 2011 05:54:50 PM UTC, original submission:

I came across these nonsensical axis values (NaN, Inf) when I fixed the control package. As reliable interpreters should never crash or hang, I think Octave should throw an error message. The problem is not limited to semilogx. plot or semilogy are also affected.

Lukas Reichlin <paramaniac>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #24542:  gnuplot.png added by jordigh (21KiB - image/png)
file #24543:  fltk.png added by jordigh (5KiB - image/png)

 

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 bpabbott (Posted a comment)
  • -unavailable- added by jordigh (Updated the item)
  • -unavailable- added by paramaniac (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 14 Mar 2013 01:35:31 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Mon 12 Dec 2011 03:00:25 PM UTCbpabbottStatusNeed Info=>Confirmed
    Wed 07 Dec 2011 07:44:20 PM UTCjordighStatusNone=>Need Info
    Wed 07 Dec 2011 07:41:46 PM UTCjordighAttached File-=>Added gnuplot.png, #24542
      Attached File-=>Added fltk.png, #24543

    Back to the top


    Powered by Savane 3.1-cleanup1