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 899 - Segfault with 'QVariantList' Property.
: Segfault with 'QVariantList' Property.
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtCore
: 1.0.4
: All All
: P2 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-06-25 19:18 EEST by Evan Patterson
Modified: 2011-07-22 22:12 EEST (History)
8 users (show)

See Also:


Attachments
Test case (618 bytes, text/x-python-script)
2011-06-25 19:18 EEST, Evan Patterson
Details
Test case 2 (717 bytes, text/x-python-script)
2011-07-01 20:30 EEST, Evan Patterson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Patterson 2011-06-25 19:18:29 EEST
Created attachment 355 [details]
Test case

I am getting a segfault from Shiboken when I use Properties of type
'QVariantList' under certain circumstances.

A test case is attached. The test case works under PyQt4 (provided 'Property'
is renamed to 'pyqtProperty').
Comment 1 Hugo Parente Lima 2011-06-27 20:56:02 EEST
Thanks, I can reproduce it here.
Comment 2 Marcelo Lira 2011-06-30 00:49:59 EEST
Fixed in PySide/8c5281ae.
Comment 3 Evan Patterson 2011-07-01 20:29:44 EEST
The segfault indeed seems to be fixed. Thanks!

Unfortunately, I can produce another problem by modifying the script slightly.
In the new test case, I get a TypeError when the first of the bound lambdas is
called. I am running a debug build of the master branch. Under PyQt4, it seems
to work.
Comment 4 Evan Patterson 2011-07-01 20:30:19 EEST
Created attachment 360 [details]
Test case 2
Comment 5 renato filho 2011-07-12 16:46:38 EEST
fixed on pyside commit:

commit 597d3ab0a424c7da3d5216ba6a4a950c5e5a8b5f
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Mon Jul 11 18:55:54 2011 -0300
Comment 6 renato filho 2011-07-22 22:12:46 EEST
release 1.0.5