[PyQt] Segfault in QTextItem::font

Jeremy Sanders jeremy at jeremysanders.net
Sat Jun 12 21:37:54 BST 2010


Jeremy Sanders wrote:

> #0  0x00007fffef1ded48 in QExplicitlySharedDataPointer<QFontPrivate>::data
> (this=0x3e00000000)
>     at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:138
> #1  0x00007fffef1d943c in QFont::QFont (this=0x1d58ac0, font=...) at
> text/qfont.cpp:822
> #2  0x00007fffef0ce241 in QTextItem::font (this=0x1d44e20) at
> painting/qpaintengine.cpp:142
> #3  0x00007ffff019e1af in meth_QTextItem_font (sipSelf=0x169de20,
> sipArgs=0x7ffff7f8a050)
>     at sipQtGuipart0.cpp:234028

Here's an example program to produce the crash
 http://barmag.net/tmp/svg2.py

Jeremy

-- 
http://www.jeremysanders.net/



More information about the PyQt mailing list