[PySide] random crashes in pyside during signals
Luc-Eric Rousseau
lucericml at gmail.com
Thu Apr 25 00:21:33 CEST 2013
On Tue, Apr 23, 2013 at 5:10 PM, John Ehresman <jpe at wingware.com> wrote:
> On 4/23/13 4:47 PM, Luc-Eric Rousseau wrote:
>> Hello, I'm getting frequent crashes in pyside, in different
>> circumstances but always in the same call stack, although it might be
>> for different controls.
>
> Could you try the sources in git at:
> https://qt.gitorious.org/pyside/shiboken
> https://qt.gitorious.org/pyside/pyside
>
> I have fixed bugs that cause segfaults with similar stack traces.
Thanks for the reply, John.
I've compiled pyside and shiboken from the latest source in github,
but I'm still getting the same crash: the metaobject ends up being
null after a while.
I'm not sure where to go next.. is it some kind of cache that isn't
getting refreshed?
I have a dialog box with a QListWidget, and changing the selection in
it causes a dialog in another pane to update with different controls.
this is the call stack on the Mac
#0 PySide::DynamicQMetaObject::update (this=0x0) at
/Users/dev/git/pyside/libpyside/dynamicqmetaobject.cpp:431
#1 PySide::SignalManager::retriveMetaObject (self=0x11e716d40) at
/Users/dev/git/pyside/libpyside/signalmanager.cpp:561
#2 QCheckBoxWrapper::metaObject (this=0x147681100) at
/Users/dev/git/pyside/build/PySide/QtGui/PySide/QtGui/qcheckbox_wrapper.cpp:1335
#3 Sbk_QCheckBox_Init (self=0x11e748d40, args=0x124450050, kwds=0x0)
at /Users/dev/git/pyside/build/PySide/QtGui/PySide/QtGui/qcheckbox_wrapper.cpp:1489
#4 type_call ()
#5 PyObject_Call ()
#6 PyEval_EvalFrameEx ()
#7 PyEval_EvalCodeEx ()
#8 function_call ()
#9 PyObject_Call ()
#10 instancemethod_call ()
#11 PyObject_Call ()
#12 slot_tp_init ()
#13 type_call ()
#14 PyObject_Call ()
#15 PyEval_EvalFrameEx ()
#16 PyEval_EvalFrameEx ()
#17 PyEval_EvalCodeEx ()
#18 function_call ()
#19 PyObject_Call ()
#20 instancemethod_call ()
#21 PyObject_Call ()
#22 slot_tp_init ()
#23 type_call ()
#24 PyObject_Call ()
#25 PyEval_EvalFrameEx ()
#26 PyEval_EvalFrameEx ()
#27 PyEval_EvalFrameEx ()
#28 PyEval_EvalFrameEx ()
#29 PyEval_EvalFrameEx ()
#30 PyEval_EvalCodeEx ()
#31 function_call ()
#32 PyObject_Call ()
#33 instancemethod_call ()
#34 PyObject_Call ()
#35 PyEval_CallObjectWithKeywords ()
#36 PySide::SignalManager::callPythonMetaMethod
(method=@0x7fff5fbfddc0, args=0x7fff5fbfe048, pyMethod=0x145f81460,
isShortCuit=false) at
/Users/dev/git/pyside/libpyside/signalmanager.cpp:475
#37 callMethod (object=0x1373b9800, id=28, args=0x7fff5fbfe048) at
/Users/dev/git/pyside/libpyside/signalmanager.cpp:581
#38 PySide::SignalManager::qt_metacall (object=0x1373b9800,
call=QMetaObject::InvokeMetaMethod, id=28, args=0x7fff5fbfe048) at
/Users/dev/git/pyside/libpyside/signalmanager.cpp:428
#39 QWidgetWrapper::qt_metacall (this=0x1373b9800,
call=QMetaObject::InvokeMetaMethod, id=28, args=0x7fff5fbfe048) at
/Users/dev/git/pyside/build/PySide/QtGui/PySide/QtGui/qwidget_wrapper.cpp:1338
#40 QMetaObject::activate ()
#41 QAbstractButton::clicked ()
#42 QAbstractButtonPrivate::emitClicked ()
#43 QAbstractButtonPrivate::click ()
#44 QAbstractButton::mouseReleaseEvent ()
#45 QToolButton::mouseReleaseEvent ()
#46 QToolButtonWrapper::mouseReleaseEvent (this=0x1373bab10,
arg__1=0x7fff5fbfec38) at
/Users/dev/git/pyside/build/PySide/QtGui/PySide/QtGui/qtoolbutton_wrapper.cpp:1020
#47 QWidget::event ()
#48 QAbstractButton::event ()
#49 QToolButton::event ()
#50 QToolButtonWrapper::event (this=0x1373bab10, e=0x7fff5fbfec38) at
/Users/dev/git/pyside/build/PySide/QtGui/PySide/QtGui/qtoolbutton_wrapper.cpp:478
#51 QApplicationPrivate::notify_helper ()
More information about the PySide
mailing list