Opened 13 years ago

Last modified 13 years ago

#30907 closed defect

py27-pyside seg fault on Leopard 10.5.8 — at Initial Version

Reported by: jason.jackson.lives@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc:
Port: py27-pyside

Description

Hi there, WARNING this report may be against Ticket Guidelines, sincere apologies if it is. The reason why I post here is because the code below works fine on other OSs (including Snow Leopard I believe) so thought it possibly could be an install issue. I'm also hoping someone here will be able to replicate it.

n.b. I've also recently posted this at PySide - http://bugs.pyside.org/show_bug.cgi?id=979

The Issue:

I have PySide installed using the py27-pyside port on my intel macbook 64-bit with osx 10.5.8 (Leopard). I can get a segmentation fault to happen with these two files:

PysideImportTest2.py:


class PysideImportTest2(object):

pass


PysideImportTest1.py:


from PySide import QtGui from PysideImportTest2 import *

class PysideImportTest1(QtGui.QDialog, PysideImportTest2):

pass

if name == 'main':

quit()


and running: python -B PysideImportTest1.py

Other info:

  • if the PysideImportTest2 class is defined in PysideImportTest1.py (ie is not

imported) it compiles and runs fine

  • without -B flag only PysideImportTest2.pyc is created
  • seems to work on other OSs Windows/Ubuntu/Snow Leopard

Change History (3)

Changed 13 years ago by jason.jackson.lives@…

Attachment: PysideImportTest1.py added

Changed 13 years ago by jason.jackson.lives@…

Attachment: PysideImportTest2.py added

Changed 13 years ago by jason.jackson.lives@…

Crash log

Note: See TracTickets for help on using tickets.