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

 
 

bug #39192: Repeated calls to trisurf crash Octave

Submitter:  None
Submitted:  Fri 07 Jun 2013 09:51:57 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  None
Originator Name:  Alexander Mamonov Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.6.4
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
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
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-19 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2013-06-07 None Attached File- Added testfigcrash.m, #28278

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code