octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39192] Repeated calls to trisurf crash Octave


From: anonymous
Subject: [Octave-bug-tracker] [bug #39192] Repeated calls to trisurf crash Octave
Date: Fri, 07 Jun 2013 09:51:58 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.110 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?39192>

                 Summary: Repeated calls to trisurf crash Octave
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Птн 07 Июн 2013 09:51:57
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Alexander Mamonov
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.4
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

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



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Птн 07 Июн 2013 09:51:57  Name: testfigcrash.m  Size: 178B   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=28278>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39192>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]