Opened 13 years ago

Last modified 13 years ago

#30907 closed defect

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

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

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (8)

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

comment:1 Changed 13 years ago by jason.jackson.lives@…

Cc: jason.jackson.lives@… added

Cc Me!

comment:2 Changed 13 years ago by jason.jackson.lives@…

To clarify, the seg fault happens every time and the versions are all the latest macports as of now 21-Aug-2011:

  • Pyside 1.0.5
  • Qt 4.7.3
  • Python 2.7.2

comment:3 Changed 13 years ago by jmroot (Joshua Root)

Cc: jason.jackson.lives@… removed
Keywords: py27-pyside leopard 10.5.8 segmentation fault seg segfault removed
Owner: changed from macports-tickets@… to mmoll@…

Please remember to cc the maintainer. You do not need to be in cc when you are the reporter.

comment:4 Changed 13 years ago by mamoll (Mark Moll)

Seems to work fine on Lion as well with latest version of everything on MacPorts.

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.