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: Fri, 14 Apr 2017 09:48:25 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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

The issue is with the recent snapshots  (at the moment it is
​
 hg id
d4ef04757ead tip @​)

compiled with (-O2 -fsanitize=undefined):



octave:1> f = figure; c = uicontrol( 'parent', f, 'string', 'button' );
delete(c); delete(f)
octave:2> /usr/include/qt5/QtWidgets/qwidget.h:746:35: runtime error: downcast
of address 0x0000010f7b00 which does not point to an object of type 'QWidget'
0x0000010f7b00: note: object is of type 'QObject'
 00 00 00 00  e0 9e 7b a9 bf 7f 00 00  60 ed 11 01 00 00 00 00  b8 6b c6 a9 bf
7f 00 00  00 00 0f 01
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'QObject'
../libgui/graphics/Container.cc:110:67: runtime error: member call on address
0x0000010f7b00 which does not point to an object of type 'QWidget'
0x0000010f7b00: note: object is of type 'QObject'
 00 00 00 00  e0 9e 7b a9 bf 7f 00 00  60 ed 11 01 00 00 00 00  b8 6b c6 a9 bf
7f 00 00  00 00 0f 01
              ^~~~~~~~~~~~~~~~~~~~~~~
              vptr for 'QObject'
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)



The qt backend on this particular computer (i7-2600K intel graphics) is all
messed
up -- the qt window would not refresh until I do e.g. "print".

​
​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]