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 836 - Pyside crashes with more than four base classes
: Pyside crashes with more than four base classes
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: PC Linux
: P2 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2011-04-24 01:00 EEST by mreithinger
Modified: 2011-04-29 18:06 EEST (History)
8 users (show)

See Also:


Attachments
demo program (854 bytes, text/x-python)
2011-04-24 01:00 EEST, mreithinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mreithinger 2011-04-24 01:00:51 EEST
Created attachment 317 [details]
demo program

a pyside subclass like 

  class MainWindow(Mixin1, Mixin2, Mixin3, QFrame):
    ...


Will crash pyside. Please see the demo program attached.
Comment 1 Hugo Parente Lima 2011-04-25 17:34:20 EEST
At least PySide knows if it's going to crash :-)

[hugo@thinkpadugo ~  4.7] $ python /tmp/test.py 
Sub class of QObject not inheriting QObject!? Crash will happen when using
MainWindow.
Segmentation fault
Comment 2 renato filho 2011-04-25 17:43:45 EEST
only a observation if you use the QFrame  as first class this works fine.

something like that:
       class MainWindow(QFrame, Mixin1, Mixin2, Mixin3):
Comment 3 Hugo Parente Lima 2011-04-28 16:58:41 EEST
Fixed in commit:

pyside/aa8c4f6b2e4dc0e0e0b7bc2e0da92527976fc12a
Comment 4 renato filho 2011-04-29 18:06:23 EEST
PySide release 1.0.2