[PyQt] Segfault in QTextItem::font

Jeremy Sanders jeremy at jeremysanders.net
Fri Jun 11 15:12:02 BST 2010


Hi - I've got another segfault with the latest snapshot of qt and sip:

#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
#4  0x0000003eb78dcaba in call_function (f=<value optimized out>, 
throwflag=<value optimized out>)
    at Python/ceval.c:3706

This is x86-64, linux with qt-4.6.2.

I'll try to make an example program when I have a moment.

Jeremy

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



More information about the PyQt mailing list