[PyQt] Fwd: Bug#661854: python-qt4: segfault calling family() on QFontInfo object

Phil Thompson phil at riverbankcomputing.com
Fri Mar 2 14:18:23 GMT 2012


On Fri, 02 Mar 2012 08:30:39 -0500, Scott Kitterman <debian at kitterman.com>
wrote:
> This is a user reported bug.  I get the same segmentation fault.  I
tried
> the 
> sample program with 4.8.5 and 4.9.1 (both python and python3) on Debian
> and 
> Ubuntu with the same results.
> 
> Scott K

It's a bug in the test - create a QApplication instance first.

Phil

> ----------  Forwarded Message  ----------
> 
> Subject: Bug#661854: python-qt4: segfault calling family() on QFontInfo
> object
> Date: Friday, March 02, 2012, 12:06:17 AM
> From: Yann Dirson <ydirson at free.fr>
> To: Debian Bug Tracking System <submit at bugs.debian.org>
> 
> Package: python-qt4
> Version: 4.9.1-1
> Severity: normal
> 
> $ python
> Python 2.7.2+ (default, Nov 30 2011, 19:22:03) 
> [GCC 4.6.2] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> from PyQt4 import QtCore, QtGui, QtSvg
>>>> fi = QtGui.QFontInfo(QtGui.QFont())
>>>> fi
> <PyQt4.QtGui.QFontInfo object at 0x7fbf89211b40>
>>>> fi.family()
> Segmentation fault
> 
> 
> -- System Information:
> Debian Release: wheezy/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'),
(500, 
> 'oldstable'), (101, 'experimental')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
> 
> Versions of packages python-qt4 depends on:
> ii  libc6                     2.13-26
> ii  libgcc1                   1:4.6.2-12
> ii  libpython2.7              2.7.2-8
> ii  libqt4-dbus               4:4.7.4-2
> ii  libqt4-declarative        4:4.7.4-2
> ii  libqt4-designer           4:4.7.4-2
> ii  libqt4-help               4:4.7.4-2
> ii  libqt4-network            4:4.7.4-2
> ii  libqt4-script             4:4.7.4-2
> ii  libqt4-scripttools        4:4.7.4-2
> ii  libqt4-svg                4:4.7.4-2
> ii  libqt4-test               4:4.7.4-2
> ii  libqt4-xml                4:4.7.4-2
> ii  libqt4-xmlpatterns        4:4.7.4-2
> ii  libqtassistantclient4     4.6.3-3
> ii  libqtcore4                4:4.7.4-2
> ii  libqtgui4                 4:4.7.4-2
> ii  libqtwebkit4              2.2.0-3
> ii  libstdc++6                4.6.2-12
> ii  python                    2.7.2-10
> ii  python-sip [sip-api-8.1]  4.13.2-1
> ii  python2.6                 2.6.7-4
> ii  python2.7                 2.7.2-8
> 
> 
> 
> 
> 
> -----------------------------------------
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list