[MacPorts] #30907: py27-pyside seg fault on Leopard 10.5.8

MacPorts noreply at macports.org
Mon Oct 24 15:47:34 PDT 2011


#30907: py27-pyside seg fault on Leopard 10.5.8
-------------------------------------------+--------------------------------
 Reporter:  jason.jackson.lives@…          |       Owner:  mmoll@…           
     Type:  defect                         |      Status:  new               
 Priority:  Normal                         |   Milestone:                    
Component:  ports                          |     Version:  2.0.1             
 Keywords:                                 |        Port:  py27-pyside       
-------------------------------------------+--------------------------------
Description changed by ryandesign@…:

Old 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

New 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

--

-- 
Ticket URL: <https://trac.macports.org/ticket/30907#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list