[Python-modules-team] Bug#702445: segfault when calling PyQt4.QtGui.QIcon.themeSearchPaths()

Picca Frédéric-Emmanuel picca at debian.org
Wed Mar 6 17:34:11 UTC 2013


Package: python-qt4
Version: 4.9.3-4
Severity: important

Hello, I try to debug a problem in one of my package so I need to access the
search path for the theme

So I tryed to print PyQt4.QtGui.QIcon.themeSearchPaths(), but I got a segfault

here the backtrace

>>> import PyQt4.QtGui
>>> PyQt4.QtGui.QIcon.themeSearchPaths()

Program received signal SIGSEGV, Segmentation fault.
0xb6c05434 in qt_guiPlatformPlugin () at kernel/qguiplatformplugin.cpp:89
89      kernel/qguiplatformplugin.cpp: Aucun fichier ou dossier de ce type.
(gdb) bt
#0  0xb6c05434 in qt_guiPlatformPlugin () at kernel/qguiplatformplugin.cpp:89
#1  0xb6c4e83d in QIconLoader::themeSearchPaths (this=0x83bbc80) at
image/qiconloader.cpp:153
#2  0xb6c48d5b in QIcon::themeSearchPaths () at image/qicon.cpp:935
#3  0xb7c4bc88 in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)


Cheers

Fred



-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-486
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-qt4 depends on:
ii  libc6                     2.13-38
ii  libgcc1                   1:4.7.2-5
ii  libpython2.7              2.7.3-8
ii  libqt4-dbus               4:4.8.2+dfsg-11
ii  libqt4-declarative        4:4.8.2+dfsg-11
ii  libqt4-designer           4:4.8.2+dfsg-11
ii  libqt4-help               4:4.8.2+dfsg-11
ii  libqt4-network            4:4.8.2+dfsg-11
ii  libqt4-script             4:4.8.2+dfsg-11
ii  libqt4-scripttools        4:4.8.2+dfsg-11
ii  libqt4-svg                4:4.8.2+dfsg-11
ii  libqt4-test               4:4.8.2+dfsg-11
ii  libqt4-xml                4:4.8.2+dfsg-11
ii  libqt4-xmlpatterns        4:4.8.2+dfsg-11
ii  libqtassistantclient4     4.6.3-4
ii  libqtcore4                4:4.8.2+dfsg-11
ii  libqtgui4                 4:4.8.2+dfsg-11
ii  libqtwebkit4              2.2.1-5
ii  libstdc++6                4.7.2-5
ii  python                    2.7.3-4
ii  python-sip [sip-api-8.1]  4.13.3-2

python-qt4 recommends no packages.

Versions of packages python-qt4 suggests:
pn  python-qt4-dbg  <none>

-- no debconf information



More information about the Python-modules-team mailing list