[PyQt] Segfault in QTextItem::font

Phil Thompson phil at riverbankcomputing.com
Sun Jun 13 10:09:33 BST 2010


On Sat, 12 Jun 2010 21:37:54 +0100, Jeremy Sanders
<jeremy at jeremysanders.net> wrote:
> 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

Fixed in tonight's snapshot - thanks.

Phil


More information about the PyQt mailing list