octave-maintainers
[Top][All Lists]
Advanced

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

Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support


From: Michael Goffioul
Subject: Re: QtHandles: Qt-based toolkit with uicontrol/uipanel support
Date: Tue, 11 Oct 2011 22:56:24 +0100

On Tue, Oct 11, 2011 at 8:44 PM, Kai Habel <address@hidden> wrote:
> Michael,
>
> I had the time to compile QtHandles today. Unfortunately it crashes for me
> when I try to open a qt-based figure. I have updated octave and QtHandles to
> their most recent version.
>
> Kai
>
>
> octave-qt:1> graphics_toolkit qt
> Missing separate debuginfo for /usr/lib64/libQtOpenGL.so.4
> Try: zypper install -C
> "debuginfo(build-id)=3fbbbe1b08637395bf3b12506f29951f045fc7de"
> octave-qt:2> figure
> Backend::initialize figure from thread e67b9700
> ObjectFactory::createObject: create figure from thread f7fb4800
> 20 0
> Backend::update figure(2031) from thread f7fb4800
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
> Backend::initialize uimenu from thread e67b9700
>
> ...
>
> ObjectFactory::createObject: create uimenu from thread f7fb4800
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff43be5bb in std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >::basic_string(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) () from
> /usr/lib64/libstdc++.so.6
> (gdb) bt
> #0  0x00007ffff43be5bb in std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >::basic_string(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&) () from
> /usr/lib64/libstdc++.so.6
> #1  0x00007fffe3388378 in string_value (this=0xf544f0, go=<value optimized
> out>, action=0xc390f0, parent=0x7fffdc002ef0)
>    at /usr/local/include/octave-3.5.0+/octave/../octave/graphics.h:495
> #2  get_label (this=0xf544f0, go=<value optimized out>, action=0xc390f0,
> parent=0x7fffdc002ef0)
>    at /usr/local/include/octave-3.5.0+/octave/../octave/graphics.h:10297
> #3  QtHandles::Menu::Menu (this=0xf544f0, go=<value optimized out>,
> action=0xc390f0, parent=0x7fffdc002ef0) at Menu.cpp:59
> #4  0x00007fffe33886d7 in QtHandles::Menu::create (go=...) at Menu.cpp:46
> #5  0x00007fffe338aaaa in QtHandles::ObjectFactory::createObject
> (this=<value optimized out>, handle=-1.6126398324907572)
>    at ObjectFactory.cpp:120
> #6  0x00007fffe339a361 in QtHandles::ObjectFactory::qt_metacall
> (this=0x7fffe35acfe0, _c=QMetaObject::InvokeMetaMethod,
>    _id=<value optimized out>, _a=0x7fffdc0535b0) at moc_ObjectFactory.cpp:73
> #7  0x00007ffff49ba37a in QObject::event(QEvent*) () from
> /usr/lib64/libQtCore.so.4
> #8  0x00007ffff4ea5144 in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () from /usr/lib64/libQtGui.so.4
> #9  0x00007ffff4ead6fa in QApplication::notify(QObject*, QEvent*) () from
> /usr/lib64/libQtGui.so.4
> #10 0x00007ffff49a647c in QCoreApplication::notifyInternal(QObject*,
> QEvent*) () from /usr/lib64/libQtCore.so.4
> #11 0x00007ffff49a9c75 in
> QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) ()
>   from /usr/lib64/libQtCore.so.4
> #12 0x00007ffff49d1093 in ?? () from /usr/lib64/libQtCore.so.4
> #13 0x00007fffef8a9bd3 in g_main_context_dispatch () from
> /lib64/libglib-2.0.so.0
> #14 0x00007fffef8aa3b0 in ?? () from /lib64/libglib-2.0.so.0
> #15 0x00007fffef8aa650 in g_main_context_iteration () from
> /lib64/libglib-2.0.so.0
> #16 0x00007ffff49d122f in
> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
> ()
>   from /usr/lib64/libQtCore.so.4
> #17 0x00007ffff4f4abae in ?? () from /usr/lib64/libQtGui.so.4
> #18 0x00007ffff49a58d2 in
> QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib64/libQtCore.so.4
> #19 0x00007ffff49a5ae5 in
> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
> /usr/lib64/libQtCore.so.4
> #20 0x00007ffff49a9f2b in QCoreApplication::exec() () from
> /usr/lib64/libQtCore.so.4
> #21 0x0000000000401131 in main (argc=1, argv=0x7fffffffdd78) at
> octave-qt.cpp:62
> (gdb)

Not sure what's going on. Could you put a breakpoint at Menu.cpp:59 and
inspect variables, like "up" or "up.label"?

Michael.


reply via email to

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