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 965 - Segfault in QtUiTools.QUiLoader.load
: Segfault in QtUiTools.QUiLoader.load
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtUiTools
: 1.0.5
: PC Linux
: P2 major
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-08-11 01:32 EEST by Victor Wåhlström
Modified: 2011-08-23 00:35 EEST (History)
8 users (show)

See Also:


Attachments
code, .ui file, and stack trace (2.49 KB, application/zip)
2011-08-11 01:32 EEST, Victor Wåhlström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Wåhlström 2011-08-11 01:32:13 EEST
Created attachment 395 [details]
code, .ui file, and stack trace

While trying to convert a PyQt application to PySide, I ran across this post:
http://www.mail-archive.com/pyside@lists.openbossa.org/msg00878.html

When integrated in a simple test case, the code segfaults on the "ui =
loader.load(uifile)" line.

Attaching the code, a default .ui file and a stack trace.

Additional information:
Ubuntu Linux 11.04 64bit
PySide 1.0.5 (via PPA)
Qt 4.7.2

May be related to bug 958?
Comment 1 renato filho 2011-08-13 00:57:59 EEST
I fixed the core dump, this happen because your function create widget was
returning always None,

fixed on shiboken commit:

commit 11f3321714d359ba103019547b99c7b92925bb37
Author: Renato Filho <renato.filho@openbossa.org>
Date:   Fri Aug 12 14:50:44 2011 -0300
Comment 2 renato filho 2011-08-23 00:35:34 EEST
Released on PySide 1.0.6