PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 589 - Crash related to QGraphicsProxyWidget and QVariant
: Crash related to QGraphicsProxyWidget and QVariant
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: HEAD
: All Linux
: P2 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-01-06 15:08 EET by Matti Airas
Modified: 2011-01-21 15:44 EET (History)
9 users (show)

See Also:


Attachments
bug example (732 bytes, text/x-python)
2011-01-06 15:08 EET, Matti Airas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matti Airas 2011-01-06 15:08:41 EET
Created attachment 213 [details]
bug example

From the mailing list:

During our evaluation of PySide 1.0.0 Beta 2, we have run into a crash that I
haven't been able to fix. When run on Ubuntu 10.0, the attached program crashes
at libshiboken/basewrapper.cpp:521. (I expect that the same crash occurs on
Windows, but I haven't tried there yet.) The problem is that self->d is a NULL
pointer. GDB is telling me that self is an instance of Shiboken.Object. Going
up a few frames to Sbk_QGraphicsProxyWidgetFunc_itemChange() where
Shiboken::Converter<QVariant>::toCpp() is invoked, I find that pyargs[1] is the
PySide.QtGui.QGraphicsProxyWidget object that is passed in to
PySide.QtGui.QGraphicsProxyWidget.itemChange().

That's as much as I have been able to gather so far. I don't have enough
experience with Shiboken yet to know how Shiboken::Converter<T> ought to
behave. Can anyone provide any guidance as to how I can fix this crash? Thanks
in advance.

 -Patrick



--
Patrick L. Hartling
Senior Software Engineer, Priority 5
http://www.priority5.com/
Comment 1 Matti Airas 2011-01-06 15:09:59 EET
Still crashes on a (few days old) HEAD version.

Since this is a crasher, prioritizing P2.
Comment 2 renato filho 2011-01-10 16:07:41 EET
fixed on:

shiboken commit:
commit a0186b6c830f17ccbbf97cc234c9d903e16cc456
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date:   Fri Jan 7 15:54:12 2011 -0300


pyside commit:
commit fb9fdba329899cfe884d1769c73686caa48c111d
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date:   Fri Jan 7 18:58:40 2011 -0300
Comment 3 renato filho 2011-01-21 15:44:48 EET
release beta4