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

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

[Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when fig


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again
Date: Thu, 13 Apr 2017 02:22:28 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #27, bug #44330 (project octave):

If I add a short pause() between delete(c) and delete(f) then it works fine:


 octave:1> f = figure; c = uicontrol( 'parent', f, 'string', 'button' );
delete(c); pause(0.1); delete(f)
octave:2> 

But for short pause it still crashes:

octave:1> f = figure; c = uicontrol( 'parent', f, 'string', 'button' );
delete(c); pause(0.01); delete(f)
octave:2> warning: base_graphics_object::get_properties: invalid graphics
object
terminate called after throwing an instance of 'std::bad_cast'
  what():  std::bad_cast
Aborted (core dumped)


Dmitri.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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