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 453 - Segfault when scrolling QML ListView with model data from a QObjectList from Python
: Segfault when scrolling QML ListView with model data from a QObjectList from ...
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtDeclarative
: HEAD
: PC Linux
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-11-02 18:10 EET by Ilkka Laukkanen
Modified: 2010-11-25 17:48 EET (History)
0 users

See Also:


Attachments
Test that causes Python to crash when scrolling (666 bytes, application/x-gzip)
2010-11-02 18:10 EET, Ilkka Laukkanen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilkka Laukkanen 2010-11-02 18:10:35 EET
Created attachment 136 [details]
Test that causes Python to crash when scrolling

When providing data to a QML ListView via a Python list of QObject-derivative
objects, Python always crashes when scrolling the listview. A test case is
attached.

The ListView has a delegate that uses named properties of the QObject subclass
to get data.
Comment 1 Ilkka Laukkanen 2010-11-02 18:13:17 EET
Python 2.6.6 on Ubuntu Maverick.
Comment 2 renato filho 2010-11-03 10:36:58 EET
fixed on pyside commit:

commit 5b0606009d478cf01d9b3d25110352823cdce0f4
Author: renatofilho <renato.filho@openbossa.org>
Date:   Mon Nov 1 11:04:56 2010 -0300
Comment 3 renato filho 2010-11-25 17:48:21 EET
released on 1.0.0~beta1