bugGNU Octave - Bugs: bug #39192, Repeated calls to trisurf crash...

 
 

bug #39192: Repeated calls to trisurf crash Octave

Submitted by:  None
Submitted on:  Fri 07 Jun 2013 09:51:57 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: Alexander MamonovOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.4
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 19 Jun 2013 05:47:54 PM UTC, comment #1:

Happily, this problem has already been fixed in the development sources. The fix will be available in the next major release of Octave, or you can try building directly from Mercurial sources.

For the time being, if you close the figure in between calls to testfigcrash Octave will work correctly. This shouldn't be too inconvenient if you draw a plot, print or save it, and then close the figure before the next colorbar plot.

Rik <rik5>
Project Administrator
Fri 07 Jun 2013 09:51:57 AM UTC, original submission:

When using Octave 3.6.4 MinGW build on Windows, executing the script below twice crashes Octave.
Important: a single execution works OK. It is the second execution that results in a segfault. If "close all" is executed between the runs of the script, everything works OK.
This bug happens with FLTK plotting (default in 3.6.4 MinGW build), gnuplot seems unaffected.

testfigcrash.m
%---------------------------------------------------
x = rand(100, 1);
y = rand(100, 1);
z = x.^2 + y.^2;
tri = delaunay(x, y);

figure(2); clf; hold on;
trisurf(tri, x, y, z);
shading interp; axis equal; box on; colorbar;
%---------------------------------------------------

The error upon the crash is
error: base_graphics_object::get_properties: invalid graphics object

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #28278:  testfigcrash.m added by None (178B - application/octet-stream)

 

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 None (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
    Wed 19 Jun 2013 05:47:54 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 07 Jun 2013 09:51:57 AM UTCNoneAttached File-=>Added testfigcrash.m, #28278

    Back to the top


    Powered by Savane 3.1-cleanup1