Bug 223715 - Random segfaults in Kmail when opening new mail in viewer pane
Summary: Random segfaults in Kmail when opening new mail in viewer pane
Status: RESOLVED DUPLICATE of bug 216394
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.13.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-21 22:26 UTC by Les Means
Modified: 2010-01-21 23:19 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Les Means 2010-01-21 22:26:25 UTC
Application: kmail (1.13.0)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-18-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Kmail segfaults while reading mail. Normally this has been happening when a new email begins to open up in the viewer pane, but I believe this particular crash happened when I was just reading an email (no mouse clicks or scrolling, etc.)

The crash can be reproduced some of the time.

 -- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
The current source language is "auto; currently c".
[KCrash Handler]
#5  QImageData::checkForAlphaPixels (this=0x0) at image/qimage.cpp:273
#6  0x00007fee672a1f87 in QX11AlphaDetector::hasAlpha (this=0x1512db0, img=<value optimized out>, flags=<value optimized out>) at image/qpixmap_x11.cpp:385
#7  QX11AlphaDetector::hasXRenderAndAlpha (this=0x1512db0, img=<value optimized out>, flags=<value optimized out>) at image/qpixmap_x11.cpp:392
#8  QX11PixmapData::fromImage (this=0x1512db0, img=<value optimized out>, flags=<value optimized out>) at image/qpixmap_x11.cpp:443
#9  0x00007fee67294cc6 in QPixmapData::fromData (this=0x1512db0, buf=<value optimized out>, len=<value optimized out>, format=<value optimized out>, flags=) at image/qpixmapdata.cpp:132
#10 0x00007fee6728d200 in QPixmap::loadFromData (this=0x7fff9e3412a0, 
    buf=0x27ea268 "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 20010904//EN\"\n\"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd\">\n<!-- Created with Sodipodi (\"http"..., len=38155, format=0x7fee67c79ac0 "pt \001", flags=<value optimized out>) at image/qpixmap.cpp:872
#11 0x00007fee67426e6c in QPixmap::loadFromData (this=0x7fff9e341460, type=2, name=...) at ../../include/QtGui/../../src/gui/image/qpixmap.h:303
#12 QTextDocument::loadResource (this=0x7fff9e341460, type=2, name=...) at text/qtextdocument.cpp:1958
#13 0x00007fee6741c905 in QTextDocument::resource (this=0x2054820, type=<value optimized out>, name=...) at text/qtextdocument.cpp:1850
#14 0x00007fee67460e08 in getPixmap (doc=0x2054820, format=<value optimized out>) at text/qtextimagehandler.cpp:67
#15 0x00007fee674620d6 in getPixmapSize (this=<value optimized out>, doc=0x2054820, posInDocument=<value optimized out>, format=<value optimized out>) at text/qtextimagehandler.cpp:108
#16 QTextImageHandler::intrinsicSize (this=<value optimized out>, doc=0x2054820, posInDocument=<value optimized out>, format=<value optimized out>) at text/qtextimagehandler.cpp:217
#17 0x00007fee67444d10 in QTextDocumentLayout::resizeInlineObject (this=<value optimized out>, item=..., posInDocument=79, format=...) at text/qtextdocumentlayout.cpp:2964
#18 0x00007fee67403635 in QTextEngine::shape (this=0x278fb90, item=0) at text/qtextengine.cpp:1350
#19 0x00007fee6740a3db in QTextLine::layout_helper (this=<value optimized out>, maxGlyphs=<value optimized out>) at text/qtextlayout.cpp:1752
#20 0x00007fee674442e6 in QTextDocumentLayoutPrivate::layoutBlock (this=0x27765f0, bl=<value optimized out>, blockPosition=<value optimized out>, blockFormat=<value optimized out>, 
    layoutStruct=0x7fff9e342850, layoutFrom=<value optimized out>, layoutTo=2147483647, previousBlockFormat=0x0) at text/qtextdocumentlayout.cpp:2604
#21 0x00007fee6744a826 in QTextDocumentLayoutPrivate::layoutFlow (this=0x27765f0, it=) at text/qtextdocumentlayout.cpp:2406
#22 0x00007fee6744bc76 in QTextDocumentLayoutPrivate::layoutCell (this=0x27765f0, t=<value optimized out>, cell=..., width=..., layoutFrom=<value optimized out>, layoutTo=2147483647, td=0x1510790, 
    absoluteTableY=..., withPageBreaks=false) at text/qtextdocumentlayout.cpp:1536
#23 0x00007fee6744c6f4 in QTextDocumentLayoutPrivate::layoutTable (this=<value optimized out>, table=<value optimized out>, layoutFrom=<value optimized out>, layoutTo=<value optimized out>, 
    parentY=...) at text/qtextdocumentlayout.cpp:1646
#24 0x00007fee6744ebf7 in QTextDocumentLayoutPrivate::layoutFrame (this=<value optimized out>, f=0x23e7760, layoutFrom=<value optimized out>, layoutTo=<value optimized out>, frameWidth=..., 
    frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2111
#25 0x00007fee6744a23e in QTextDocumentLayoutPrivate::layoutFlow (this=0x27765f0, it=) at text/qtextdocumentlayout.cpp:2313
#26 0x00007fee6744bc76 in QTextDocumentLayoutPrivate::layoutCell (this=0x27765f0, t=<value optimized out>, cell=..., width=..., layoutFrom=<value optimized out>, layoutTo=2147483647, td=0x15106c0, 
    absoluteTableY=..., withPageBreaks=false) at text/qtextdocumentlayout.cpp:1536
#27 0x00007fee6744c6f4 in QTextDocumentLayoutPrivate::layoutTable (this=<value optimized out>, table=<value optimized out>, layoutFrom=<value optimized out>, layoutTo=<value optimized out>, 
    parentY=...) at text/qtextdocumentlayout.cpp:1646
#28 0x00007fee6744ebf7 in QTextDocumentLayoutPrivate::layoutFrame (this=<value optimized out>, f=0x2781c00, layoutFrom=<value optimized out>, layoutTo=<value optimized out>, frameWidth=..., 
    frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2111
#29 0x00007fee6744f3df in QTextDocumentLayoutPrivate::layoutFrame (this=<value optimized out>, f=0x2781c00, layoutFrom=<value optimized out>, layoutTo=<value optimized out>, 
    parentY=<value optimized out>) at text/qtextdocumentlayout.cpp:2053
#30 0x00007fee6744ad60 in QTextDocumentLayoutPrivate::layoutFlow (this=0x27765f0, it=) at text/qtextdocumentlayout.cpp:2315
#31 0x00007fee6744ee98 in QTextDocumentLayoutPrivate::layoutFrame (this=<value optimized out>, f=0x20db270, layoutFrom=<value optimized out>, layoutTo=<value optimized out>, frameWidth=..., 
    frameHeight=..., parentY=...) at text/qtextdocumentlayout.cpp:2147
#32 0x00007fee6744f3df in QTextDocumentLayoutPrivate::layoutFrame (this=<value optimized out>, f=0x20db270, layoutFrom=<value optimized out>, layoutTo=<value optimized out>, 
    parentY=<value optimized out>) at text/qtextdocumentlayout.cpp:2053
#33 0x00007fee6744f668 in QTextDocumentLayout::doLayout (this=0x240c950, from=0, oldLength=<value optimized out>, length=2147483647) at text/qtextdocumentlayout.cpp:2918
#34 0x00007fee6744f6fc in QTextDocumentLayoutPrivate::ensureLayoutedByPosition (this=0x27765f0, position=1000) at text/qtextdocumentlayout.cpp:3080
#35 0x00007fee6744fd65 in QTextDocumentLayoutPrivate::layoutStep (this=0x0) at text/qtextdocumentlayout.cpp:3086
#36 0x00007fee6745052b in QTextDocumentLayout::documentChanged (this=0x240c950, from=<value optimized out>, oldLength=0, length=83) at text/qtextdocumentlayout.cpp:2878
#37 0x00007fee6742d50a in QTextDocumentPrivate::finishEdit (this=0x2686110) at text/qtextdocument_p.cpp:1144
#38 0x00007fee674265ac in QTextDocument::setHtml (this=0x2054820, html=...) at text/qtextdocument.cpp:1160
#39 0x00007fee675a7f0f in QLabelPrivate::ensureTextPopulated (this=0x2756e80) at widgets/qlabel.cpp:1452
#40 0x00007fee675a8155 in QLabelPrivate::ensureTextLayouted (this=0x0) at widgets/qlabel.cpp:1468
#41 0x00007fee675a9201 in QLabelPrivate::sizeForWidth (this=0x2756e80, w=-1) at widgets/qlabel.cpp:651
#42 0x00007fee675a97d5 in QLabel::minimumSizeHint (this=0x204ea90) at widgets/qlabel.cpp:807
#43 0x00007fee675a9893 in QLabel::sizeHint (this=0x0) at widgets/qlabel.cpp:790
#44 0x00007fee671ec245 in QTipLabel::reuseTip (this=0x204ea90, text=<value optimized out>) at kernel/qtooltip.cpp:217
#45 0x00007fee671ec755 in QTipLabel (this=0x204ea90, text=..., w=<value optimized out>) at kernel/qtooltip.cpp:190
#46 0x00007fee671ecdb7 in QToolTip::showText (pos=..., text=..., w=0x16a8640, rect=...) at kernel/qtooltip.cpp:456
#47 0x00007fee681bcaab in KMail::FolderView::event (this=0x1262d70, e=<value optimized out>) at ../../kmail/folderview.cpp:1233
#48 0x00007fee671abe8c in QApplicationPrivate::notify_helper (this=0x10aed40, receiver=0x1262d70, e=0x7fff9e345730) at kernel/qapplication.cpp:4242
#49 0x00007fee671b2f23 in QApplication::notify (this=<value optimized out>, receiver=0x16a8640, e=0x7fff9e345990) at kernel/qapplication.cpp:3961
#50 0x00007fee692a7e16 in KApplication::notify (this=0x7fff9e346370, receiver=0x16a8640, event=0x7fff9e345990) at ../../kdeui/kernel/kapplication.cpp:302
#51 0x00007fee66cd904c in QCoreApplication::notifyInternal (this=0x7fff9e346370, receiver=0x16a8640, event=0x7fff9e345990) at kernel/qcoreapplication.cpp:704
#52 0x00007fee671b05cc in QApplication::event (this=0x7fff9e346370, e=0x7fff9e345f00) at kernel/qapplication.cpp:2335
#53 0x00007fee671abe8c in QApplicationPrivate::notify_helper (this=0x10aed40, receiver=0x7fff9e346370, e=0x7fff9e345f00) at kernel/qapplication.cpp:4242
#54 0x00007fee671b248d in QApplication::notify (this=0x7fff9e346370, receiver=0x7fff9e346370, e=0x7fff9e345f00) at kernel/qapplication.cpp:4125
#55 0x00007fee692a7e16 in KApplication::notify (this=0x7fff9e346370, receiver=0x7fff9e346370, event=0x7fff9e345f00) at ../../kdeui/kernel/kapplication.cpp:302
#56 0x00007fee66cd904c in QCoreApplication::notifyInternal (this=0x7fff9e346370, receiver=0x7fff9e346370, event=0x7fff9e345f00) at kernel/qcoreapplication.cpp:704
#57 0x00007fee66d05d52 in QCoreApplication::sendEvent (this=0x1205cf0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#58 QTimerInfoList::activateTimers (this=0x1205cf0) at kernel/qeventdispatcher_unix.cpp:603
#59 0x00007fee66d02958 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#60 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#61 0x00007fee5dfa0bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#62 0x00007fee5dfa4598 in ?? () from /lib/libglib-2.0.so.0
#63 0x00007fee5dfa46c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#64 0x00007fee66d02623 in QEventDispatcherGlib::processEvents (this=0x1072f70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#65 0x00007fee6725a2fe in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#66 0x00007fee66cd7972 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#67 0x00007fee66cd7d4c in QEventLoop::exec (this=0x7fff9e3461a0, flags=) at kernel/qeventloop.cpp:201
#68 0x00007fee66cdba8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#69 0x0000000000403572 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

This bug may be a duplicate of or related to bug 216394.

Possible duplicates by query: bug 216394.

Reported using DrKonqi
Comment 1 Dario Andres 2010-01-21 23:19:46 UTC
This is a bug in the Qt library, fixed in the recently released 4.6.1 version. Regards

*** This bug has been marked as a duplicate of bug 216394 ***