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 412 - Segmentation violation on close event
: Segmentation violation on close event
Status: CLOSED DUPLICATE of bug 394
Product: PySide
Classification: Unclassified
Component: PySide
: HEAD
: PC Linux
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-10-14 05:35 EEST by Thomas Sturm
Modified: 2010-11-25 17:53 EET (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Sturm 2010-10-14 05:35:16 EEST
I have built on Ubuntu the current git version of Pyside (0.4.2) without
problems. Using this the code below throws a SIGSEGV when closing the
QMainWindow. The relevant bit is the definition of the colour "gray" as a class
variable in Pseudo (which is never used).

The problem did not occur with the previous binary distribution 0.4.1 of
Pyside.


#!/usr/bin/env python
import sys

from PySide.QtCore import QObject

from PySide.QtGui import QApplication
from PySide.QtGui import QMainWindow

from PySide.QtGui import QColor
from PySide.QtGui import qRgb

class Pseudo(QObject):
   gray = QColor(qRgb(230,230,230))

app = QApplication(sys.argv)
mainwindow = QMainWindow()
mainwindow.show()
mainwindow.raise_()
sys.exit(app.exec_())
Comment 1 renato filho 2010-10-18 15:48:46 EEST

*** This bug has been marked as a duplicate of bug 394 ***
Comment 2 Hugo Parente Lima 2010-11-25 17:53:39 EET
Released on version 1.0.0~beta1