[PyQt] QFont creating in Qt 5 results in a segfault

Dmitrijs Ledkovs xnox at ubuntu.com
Thu Apr 18 15:49:31 BST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Heya,

On 18/04/13 15:44, Dmitry Shachnev wrote:
> Hi all,
> 
> Thanks Dmitrijs for preparing packages built against Qt 5. I was
> trying to test it today and it seems that creating two QFont
> objects results in a segmentation fault:
> 
> #0  initFontUnlocked () at kernel/qguiapplication.cpp:197 #1
> initFontUnlocked () at kernel/qguiapplication.cpp:188 #2
> 0xb66069c4 in QGuiApplication::font () at
> kernel/qguiapplication.cpp:2302 #3  0xb6684efa in QFont::QFont
> (this=0x85764d0) at text/qfont.cpp:675 #4  0xb7272cff in init_QFont
> () from
> /usr/lib/python3/dist-packages/PyQt4/QtGui.cpython-33dm-i386-linux-gnu.so
>
> 
#5  0xb7810be6 in sipSimpleWrapper_init (self=0xb4419944, args=(),
kwds=0x0) at /build/buildd/sip4-4.14.5/siplib/siplib.c:9370
> 
> Full traceback: http://paste.ubuntu.com/5718905/.
> 
> Hope it will be easy to fix it.
> 

Thanks for testing this. I will take a look. All I did run a simple
Hello World window with a push button, and that worked. My PyQt
knowledge ended there =)

- -- 
Regards,
Dmitrijs.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBCAAGBQJRcAf7AAoJEIh7YGGLPBauTIgQAJtl/UDe/tVmb+zHas35o+/M
uFpDI14MK6ypuEgBHNUw2eY1wArph3cMw3Okp6glMRr8BMvgPvOBvcgMJbYCsBkj
rw5XJdhBKurFb2nes9Lb8JUSy0eFCcP3owvnBpyvrARypa+5z7vIBFBGxlW0mzVs
W3ZcSz4WHtF2jL+38i09ZrmaU18fQcXrMsY6imC6IPpRd3TtwOtGzDjK5K2PPZDE
J1SOUj3UacRVLABmAK4erKA22ffXsfBZRqt9ZqGjm8RzHchp+NUClqLq5beSd0wu
rb65sLbkK9QzK+e7vU7Ae0rL/7qLpjzq/9EflohkUlYmaVDAi2iIWVs0g42ts+rg
pOJZ9aZaAK1dppq5sW6drkmXqqxVzolz0XFeZ1tfo7RDY0MBmvKso63xgxYFJKVa
spFjeBUUPul62DkQ9zWPvagSeWTQ7NYXwkpCHNLIkj9jMVQBD2BhgTHopr9I1LIR
L8Phu9xv1qYha5Ig/x2KrW/6a+We0k72YWDPqUZ70BBcHGtY+AxR5AdFbF5K9GSR
7F27MWwKxFMmj7lg0Bv/NQblAjJvo36YlgWvDZq0DXbZRMnAQwz3r3/gRFSnfNpO
WSKqW4BgJJnMzNYDQsWI7k++tYrAo2L0vADlg9iL6reSu2YnKa0/87hyEKs2I75J
TChjWGC1ukfmykycfihQ
=cfBr
-----END PGP SIGNATURE-----


More information about the PyQt mailing list