python segfaults when importing qt

Bug #65257 reported by Stas Zytkiewicz
6
Affects Status Importance Assigned to Milestone
python-qt3 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python2.4-qt3

stas@mobi:~$ python
Python 2.4.3 (#2, Oct 6 2006, 07:52:30)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import qt
Segmentation fault
stas@mobi:~$

stas@mobi:~$ dpkg -l | grep "ii.*qt"
ii libavahi-qt3-1 0.6.10-0ubuntu3 Avahi QT3 integration library
ii libdbus-qt-1-1c2 0.60-6ubuntu8 simple interprocess messaging system (Qt-based shared library)
ii libqt3-mt 3.3.6-1ubuntu3 Qt GUI Library (Threaded runtime version), Version 3
ii libqthreads-12 1.6.7-2 QuickThreads library for Guile
ii pyqt-tools 3.15.1-0ubuntu3 pyuic and pylupdate for Qt3
ii python2.4-qt3 3.15.1-0ubuntu3 Qt3 bindings for Python 2.4
ii python2.4-sip4-qt3 4.3.99+snapshot20060302-2ubuntu1 Python/C++ bindings generator - Python2.3 runtime
ii qt3-assistant 3.3.6-1ubuntu3 The Qt3 assistant application
ii qt3-designer 3.3.6-1ubuntu3 Qt3 Designer
ii qt3-doc 3.3.6-1ubuntu3 Qt3 API documentation
ii qt3-linguist 3.3.6-1ubuntu3 The Qt3 Linguist
ii qt3-qtconfig 3.3.6-1ubuntu3 The Qt3 Configuration Application

Tags: dapper
Revision history for this message
Vassilis Pandis (pandisv) wrote :

Cannot reproduce on Edgy

Revision history for this message
Stas Zytkiewicz (stas-zytkiewicz) wrote :

I'm on dapper.

here's some more info:

stas@mobi:~$ python -d -v -c "import qt"
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib/python2.4/site.pyc matches /usr/lib/python2.4/site.py
import site # precompiled from /usr/lib/python2.4/site.pyc
# /usr/lib/python2.4/os.pyc matches /usr/lib/python2.4/os.py
import os # precompiled from /usr/lib/python2.4/os.pyc
import posix # builtin
# /usr/lib/python2.4/posixpath.pyc matches /usr/lib/python2.4/posixpath.py
import posixpath # precompiled from /usr/lib/python2.4/posixpath.pyc
# /usr/lib/python2.4/stat.pyc matches /usr/lib/python2.4/stat.py
import stat # precompiled from /usr/lib/python2.4/stat.pyc
# /usr/lib/python2.4/UserDict.pyc matches /usr/lib/python2.4/UserDict.py
import UserDict # precompiled from /usr/lib/python2.4/UserDict.pyc
# /usr/lib/python2.4/copy_reg.pyc matches /usr/lib/python2.4/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.4/copy_reg.pyc
# /usr/lib/python2.4/types.pyc matches /usr/lib/python2.4/types.py
import types # precompiled from /usr/lib/python2.4/types.pyc
# /usr/lib/python2.4/site-packages/sitecustomize.pyc matches /usr/lib/python2.4/site-packages/sitecustomize.py
import sitecustomize # precompiled from /usr/lib/python2.4/site-packages/sitecustomize.pyc
# /usr/lib/python2.4/warnings.pyc matches /usr/lib/python2.4/warnings.py
import warnings # precompiled from /usr/lib/python2.4/warnings.pyc
# /usr/lib/python2.4/linecache.pyc matches /usr/lib/python2.4/linecache.py
import linecache # precompiled from /usr/lib/python2.4/linecache.pyc
import encodings # directory /usr/lib/python2.4/encodings
# /usr/lib/python2.4/encodings/__init__.pyc matches /usr/lib/python2.4/encodings/__init__.py
import encodings # precompiled from /usr/lib/python2.4/encodings/__init__.pyc
# /usr/lib/python2.4/codecs.pyc matches /usr/lib/python2.4/codecs.py
import codecs # precompiled from /usr/lib/python2.4/codecs.pyc
import _codecs # builtin
# /usr/lib/python2.4/encodings/aliases.pyc matches /usr/lib/python2.4/encodings/aliases.py
import encodings.aliases # precompiled from /usr/lib/python2.4/encodings/aliases.pyc
# /usr/lib/python2.4/encodings/iso8859_15.pyc matches /usr/lib/python2.4/encodings/iso8859_15.py
import encodings.iso8859_15 # precompiled from /usr/lib/python2.4/encodings/iso8859_15.pyc
Python 2.4.3 (#2, Oct 6 2006, 07:52:30)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/usr/lib/python2.4/site-packages/qt.so", 2);
dlopen("/usr/lib/python2.4/site-packages/sip.so", 2);
import sip # dynamically loaded from /usr/lib/python2.4/site-packages/sip.so
Segmentation fault

Revision history for this message
ville palo (vi64pa) wrote :

Probably this has been already fixed, because I'm not able to reproduce on edgy either.

Revision history for this message
Scott Kitterman (kitterman) wrote :

Works fine in Gutsy/Hardy. I couldn't reproduce this even on Dapper now.

Changed in python-qt3:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.