[PyKDE] seg fault using pyqt
Nicholas Priborsky
nicholas.priborsky at dlr.de
Tue Feb 11 10:47:01 GMT 2003
thanks a lot torsten, that did the trick.
tara
nick
Torsten Marek wrote:
> 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
>
>
More information about the PyQt
mailing list