Opened 13 years ago

Closed 13 years ago

#30907 closed defect (worksforme)

py27-pyside seg fault on Leopard 10.5.8

Reported by: jason.jackson.lives@… Owned by: mamoll (Mark Moll)
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

Attachments (3)

PysideImportTest1.py (159 bytes) - added by jason.jackson.lives@… 13 years ago.
PysideImportTest2.py (39 bytes) - added by jason.jackson.lives@… 13 years ago.
Python_2011-08-18-125837_macbook-2 pyside segfault crash.log (17.8 KB) - added by jason.jackson.lives@… 13 years ago.
Crash log

Download all attachments as: .zip

Change History (12)

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)

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

Is still set faulting? On bugs.pyside.org a rather terse message suggests this may have been fixed since version 1.0.7.

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

For me yes it is still segfaulting. I don't know anyone else who is running Leopard, would love to know if it's something I've messed up with my install or a legitimate bug with either PySide, the macports installer, or the OS... I have been so busy haven't had time to (work out how to) try and build it in a different way.. Though i someone gave me clear step by step instructions I would very happily follow then :)

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

Yep I'm on 1.0.7, sorry I didn't make that clear $ port installed py27-pyside Warning: port definitions are more than two weeks old, consider using selfupdate The following ports are currently installed:

py27-pyside @1.0.3_0 py27-pyside @1.0.4_0 py27-pyside @1.0.5_0 py27-pyside @1.0.7_0 (active)

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

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.