[PyKDE] seg fault using pyqt

Torsten Marek shlomme at gmx.net
Mon Feb 10 19:12:00 GMT 2003


Nicholas Priborsky schrieb:
> hi,
> 
> I am having troubles getting PyQt 3.5 to work.I'm running SuSE 8.0 with 
> gcc 2.95.3, sip 3.5, qt 3.1.1, python 2.2.2. I built python, sip and 
> pyqt from scratch the usual way and everything compiled ok (for lib 
> qt-mt). Unfortunately I always get a segmentation fault when running any 
> of the examples contained in the examples3 directory of the pyqt 
> distribution.
> 
> python -d -v tut1.py
> # /usr/local/lib/python2.2/site.pyc matches 
> /usr/local/lib/python2.2/site.py
> import site # precompiled from /usr/local/lib/python2.2/site.pyc
> # /usr/local/lib/python2.2/os.pyc matches /usr/local/lib/python2.2/os.py
> import os # precompiled from /usr/local/lib/python2.2/os.pyc
> import posix # builtin
> # /usr/local/lib/python2.2/posixpath.pyc matches 
> /usr/local/lib/python2.2/posixpath.py
> import posixpath # precompiled from /usr/local/lib/python2.2/posixpath.pyc
> # /usr/local/lib/python2.2/stat.pyc matches 
> /usr/local/lib/python2.2/stat.py
> import stat # precompiled from /usr/local/lib/python2.2/stat.pyc
> # /usr/local/lib/python2.2/UserDict.pyc matches 
> /usr/local/lib/python2.2/UserDict.py
> import UserDict # precompiled from /usr/local/lib/python2.2/UserDict.pyc
> # /usr/local/lib/python2.2/copy_reg.pyc matches 
> /usr/local/lib/python2.2/copy_reg.py
> import copy_reg # precompiled from /usr/local/lib/python2.2/copy_reg.pyc
> # /usr/local/lib/python2.2/types.pyc matches 
> /usr/local/lib/python2.2/types.py
> import types # precompiled from /usr/local/lib/python2.2/types.pyc
> # /usr/local/lib/python2.2/__future__.pyc matches 
> /usr/local/lib/python2.2/__future__.py
> import __future__ # precompiled from 
> /usr/local/lib/python2.2/__future__.pyc
> Python 2.2.2 (#1, Feb  7 2003, 09:52:39)
> [GCC 2.95.3 20010315 (SuSE)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> # /usr/local/lib/python2.2/site-packages/qt.pyc matches 
> /usr/local/lib/python2.2/site-packages/qt.py
> import qt # precompiled from /usr/local/lib/python2.2/site-packages/qt.pyc
> dlopen("/usr/local/lib/python2.2/site-packages/libsip.so", 2);
> import libsip # dynamically loaded from 
> /usr/local/lib/python2.2/site-packages/libsip.so
> dlopen("/usr/local/lib/python2.2/site-packages/libqtcmodule.so", 2);
> import libqtc # dynamically loaded from 
> /usr/local/lib/python2.2/site-packages/libqtcmodule.so
> Segmentation fault
> 
> Any help or suggestions would be appreciated
> thanks
> nick
Put
export KDE_MALLOC="n"
in your ~/.profile, that should do the job.

greetings

Torsten


-- 
Torsten Marek <shlomme at gmx.net>
ID: A244C858 -- fingerprint 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
www.keyserver.net -- wwwkeys.eu.pgp.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 248 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20030210/887f0138/attachment.bin


More information about the PyQt mailing list