#18890 closed defect (invalid)
`from PyQt4 import QtCore` -> Bus Error
Reported by: | henkpoley@… | Owned by: | saispo@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | py25-pyqt4 |
Description
macbook-van-henk-poley:frontpage-silverstripe henk$ port info py25-pyqt4 py25-pyqt4 @4.4.4 (python, devel) Variants: universal PyQt4 is a set of Python bindings for the Qt4 toolkit. The bindings are implemented as a set of Python modules: qt, qtcanvas, qtgl, qtnetwork, qtsql, qttable, qtui and qtxml, and contains 300 classes and over 5,750 functions and methods. Homepage: http://www.riverbankcomputing.co.uk/software/pyqt/intro Library Dependencies: py25-sip, qt4-mac Platforms: macosx Maintainers: saispo@macports.org macbook-van-henk-poley:frontpage-silverstripe henk$ port activate py25-pyqt4 ---> Activating py25-pyqt4 Error: port activate failed: Image error: py25-pyqt4 @4.4.4_0 is already active. macbook-van-henk-poley:frontpage-silverstripe henk$ which python2.5 /opt/local/bin/python2.5 macbook-van-henk-poley:frontpage-silverstripe henk$ python2.5 Python 2.5.4 (r254:67916, Jan 18 2009, 15:13:04) [GCC 4.0.1 (Apple Inc. build 5488)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from PyQt4 import QtCore Bus error
Process: Python [28022] Path: /opt/local/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: ??? (???) Code Type: X86 (Native) Parent Process: bash [5031] Date/Time: 2009-03-18 10:07:09.857 +0100 OS Version: Mac OS X 10.5.6 (9G55) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Thread 0 Crashed: 0 ??? 0000000000 0 + 0 1 org.python.python 0x005d5fb2 PyImport_Import + 34 2 org.python.python 0x005d6237 PyImport_ImportModule + 39 3 QtCore.so 0x00048f82 initQtCore + 28 4 org.python.python 0x00256027 _PyImport_LoadDynamicModule + 167 5 org.python.python 0x00253c73 load_module + 227 6 org.python.python 0x0025419d import_submodule + 301 7 org.python.python 0x00254757 ensure_fromlist + 455 8 org.python.python 0x00254b37 import_module_level + 775 9 org.python.python 0x00254dee PyImport_ImportModuleLevel + 46 10 org.python.python 0x0022d61f builtin___import__ + 159 11 org.python.python 0x001a3bb2 PyObject_Call + 50 12 org.python.python 0x002328f6 PyEval_CallObjectWithKeywords + 118 13 org.python.python 0x002351af PyEval_EvalFrameEx + 6319 14 org.python.python 0x0023b5ca PyEval_EvalCodeEx + 1962 15 org.python.python 0x0023b6d7 PyEval_EvalCode + 87 16 org.python.python 0x0025f6e4 PyRun_InteractiveOneFlags + 532 17 org.python.python 0x0025f923 PyRun_InteractiveLoopFlags + 99 18 org.python.python 0x00260129 PyRun_AnyFileExFlags + 185 19 org.python.python 0x0026e63a Py_Main + 3050 20 org.python.python 0x00001fb6 0x1000 + 4022 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x0064a0f4 ebx: 0x005b5859 ecx: 0x00000001 edx: 0x0061e5bc edi: 0x00000000 esi: 0x000ba020 ebp: 0xbfffe0f8 esp: 0xbfffe0dc ss: 0x0000001f efl: 0x00010282 eip: 0x00000000 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x00000000 Binary Images: 0x1000 - 0x1ff8 +org.python.python 2.5a0 (2.5alpha0) <76d8197d046299df646201f8a3699d26> /opt/local/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python 0x48000 - 0x48ffc +QtCore.so ??? (???) <5ae867f28af12e5a2f65664f797aa8a1> /opt/local/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyQt4/QtCore.so 0x19a000 - 0x29afff +org.python.python 2.5a0 (2.5) <c766eb71ffce8537d873ede58e9536ff> /opt/local/Library/Frameworks/Python.framework/Versions/2.5/Python 0x500000 - 0x626fe3 +org.python.python 2.6.1, (c) 2004-2008 Python Software Foundation. (2.6.1) <873d94e3f0373d1a967cf3b5e2432920> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python 0x8fe00000 - 0x8fe2db43 dyld 97.1 (???) <100d362e03410f181a34e04e94189ae5> /usr/lib/dyld 0x91942000 - 0x91946fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib 0x91af9000 - 0x91b00fe9 libgcc_s.1.dylib ??? (???) <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib 0x93764000 - 0x938cbff3 libSystem.B.dylib ??? (???) <d68880dfb1f8becdbdac6928db1510fb> /usr/lib/libSystem.B.dylib 0x94345000 - 0x943a2ffb libstdc++.6.dylib ??? (???) <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib 0xffff0000 - 0xffff1780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
Change History (5)
comment:1 Changed 16 years ago by henkpoley@…
comment:2 Changed 16 years ago by mf2k (Frank Schima)
Cc: | saispo@… removed |
---|---|
Owner: | changed from macports-tickets@… to saispo@… |
Port: | py25-pyqt4 added |
comment:3 Changed 16 years ago by henkpoley@…
First set python 2.5 as default, instead of 2.6. Cleaned, (force) uninstalled, (force) installed py25-pyqt4 and py25-sip. Now it works without Bus errors.
This can be closed now.
comment:4 Changed 16 years ago by mf2k (Frank Schima)
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Apparently #18452 was updated since I last looked at it. Trying the recommendations by jonas now.