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: Rik
Subject: [Octave-bug-tracker] [bug #44330] Qt toolkit segmentation fault when figure opened, closed, and opened again
Date: Sun, 01 Mar 2015 05:13:15 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

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

The sample code segfaults for me every time.  Here is the backtrace:


./run-octave -g -f --no-gui
octave:1> graphics_toolkit ("qt");
octave:2> h = figure (); close (h); h = figure ();

---Type <return> to continue, or q <return> to quit---
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff348aad4 in QWidget::update() () from
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
(gdb) bt
#0  0x00007ffff348aad4 in QWidget::update() ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#1  0x00007ffff7ae0d2b in QtHandles::Canvas::redraw (this=0x7ef2c0,
sync=false)
    at graphics/Canvas.cc:51
#2  0x00007ffff7aed27d in QtHandles::Figure::redraw (this=0x7fa2a0)
    at graphics/Figure.cc:341
#3  0x00007ffff7aefa0b in QtHandles::Figure::updateContainer (this=0x7fa2a0)
    at graphics/Figure.cc:848
#4  0x00007ffff7ad4acc in QtHandles::Figure::qt_static_metacall (_o=0x7fa2a0,

    _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffd81c3d50)
    at graphics/moc-Figure.cc:86
#5  0x00007ffff2f3f446 in QObject::event(QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007ffff3448894 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007ffff344d713 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x00007ffff2f25e9c in QCoreApplication::notifyInternal(QObject*, QEvent*)
()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007ffff2f29c6a in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007ffff2f54f93 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007fffed933d13 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fffed934060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007fffed934124 in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff2f553bf in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#15 0x00007ffff34f0d9e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#16 0x00007ffff2f24c82 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
    () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#17 0x00007ffff2f24ed7 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff2f29f67 in QCoreApplication::exec() ()
   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#19 0x00007ffff7a77447 in octave_start_gui (argc=10, argv=0x7fffffffca28,
start_gui=false)
    at src/octave-gui.cc:203
#20 0x0000000000402dc0 in main (argc=10, argv=0x7fffffffca28) at
main-gui.cc:43


Note that this was with the newish CLI interface to the Qt libraries.  When I
run in the GUI I don't get a segfault.


    _______________________________________________________

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]