[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #50801] Qt toolkit segmentation fault when fig
From: |
jsh |
Subject: |
[Octave-bug-tracker] [bug #50801] Qt toolkit segmentation fault when figure+uicontrol created with string and deleted |
Date: |
Sat, 15 Apr 2017 21:56:53 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #2, bug #50801 (project octave):
I'm testing in a VirtualBox LinuxVM with software rendering, so although I
have integrated intel graphics I'm not sure if it applies in my case.
Although, I certainly don't grasp Qt or OpenGL to understand this fully it
still seems to me that the Qt threads run out of sync with the Octave internal
handles somehow. @Dmitri Could it possibly be that the discrete graphics are
so much faster that you don't see a bug with them?
Here is also my backtrace though:
octave:3> f = figure; c = uicontrol( 'parent', f, 'string', 'button' );
delete(c), delete(f)
octave:4> warning: base_graphics_object::get_properties: invalid graphics
object
terminate called after throwing an instance of 'std::bad_cast'
what(): std::bad_cast
Program received signal SIGABRT, Aborted.
0x00007ffff4d83c37 in __GI_raise (address@hidden) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) backtrace
#0 0x00007ffff4d83c37 in __GI_raise (address@hidden) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff4d87028 in __GI_abort () at abort.c:89
#2 0x00007ffff5388535 in __gnu_cxx::__verbose_terminate_handler() () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3 0x00007ffff53866d6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff5386703 in std::terminate() () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff5386976 in __cxa_rethrow () from
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff36eb596 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7 0x00007ffff36f0b79 in QCoreApplication::exec() () from
/usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8 0x00007ffff7a33472 in octave::gui_application::execute
(address@hidden)
at libgui/src/octave-gui.cc:248
#9 0x0000000000401032 in main (argc=2, argv=0x7fffffffdcd8) at
src/main-gui.cc:104
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50801>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/