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 547 - QTreeWidget segmentation fault
: QTreeWidget segmentation fault
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: PC Linux
: P2 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-12-15 09:58 EET by Piotr Sokołowski
Modified: 2011-01-06 16:19 EET (History)
9 users (show)

See Also:


Attachments
Test program (951 bytes, text/x-python)
2010-12-15 09:58 EET, Piotr Sokołowski
Details
Modified bug_547 test (1.41 KB, text/x-python)
2010-12-28 07:01 EET, Piotr Sokołowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Sokołowski 2010-12-15 09:58:33 EET
Created attachment 182 [details]
Test program

When use setExpanded(True) on item, and it parent (from item.parent()) test
program ends with segmentation fault, but not in setExpanded() function.
When I use stored item (not from item.parent()) test program works fine.

On PyQt4 always work fine.

I wasn't able to test deeper because of python-dbg problem (bug 506).

PySide was compiled from sources.

OS:
Debian squeeze
Linux 2.6.32-5-686 #1 SMP i686 GNU/Linux
Comment 1 Matti Airas 2010-12-15 12:13:11 EET
Thanks for the bug report. Since this is a crasher bug, I'm prioritizing it P2.
This will be taken care of once the preceding P2 bugs have been resolved.
Comment 2 renato filho 2010-12-27 19:21:18 EET
fixed on pyside commit:

commit a74d92adcecb3df3bbb712e67590052279c5fd06
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date:   Mon Dec 27 18:59:32 2010 -0300
Comment 3 Piotr Sokołowski 2010-12-28 07:00:43 EET
Apparently problem isn't fully resolved or there is some other problem, because
after commenting second "self._updateTree()" line in test case file
(tests/QtGui/bug_547.py) test ends with segfault probably when cleanup is
triggered.
Comment 4 Piotr Sokołowski 2010-12-28 07:01:35 EET
Created attachment 205 [details]
Modified bug_547 test
Comment 5 renato filho 2011-01-03 14:57:03 EET
fixed on commit:

commit 39a5a09145133871dec87cbd11766824f9e4c5a3
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date:   Mon Jan 3 14:21:40 2011 -0300
Comment 6 renato filho 2011-01-03 14:58:45 EET
*** Bug 548 has been marked as a duplicate of this bug. ***
Comment 7 renato filho 2011-01-06 16:19:31 EET
released on beta3