Bug 332189 - crash while rendering html email
Summary: crash while rendering html email
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.11.5
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-15 17:54 UTC by evansra
Modified: 2017-01-07 21:45 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description evansra 2014-03-15 17:54:03 UTC
Application: kmail (4.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.5
Operating System: Linux 3.13.5-103.fc19.x86_64 x86_64
Distribution: "Fedora release 19 (Schrödinger’s Cat)"

-- Information about the crash:
- What I was doing when the application crashed: Kmail is defaulted to text display. I chose show html,  chose render,  chose load external references, crash. Indigestable email available if needed.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f6adc52f8c0 (LWP 3972))]

Thread 3 (Thread 0x7f6a8ab36700 (LWP 4021)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x0000003f35af2ef6 in WTF::ThreadCondition::timedWait (this=this@entry=0x14f8110, mutex=..., absoluteTime=1394905442.0576179) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:400
#2  0x0000003f3580d8ea in waitForRelativeTimeWhileHoldingLock (relative=1, this=0x14f8008) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:89
#3  waitForRelativeTime (relative=1, this=0x14f8008) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:99
#4  JSC::BlockAllocator::blockFreeingThreadMain (this=0x14f8008) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:113
#5  0x0000003f35af2916 in WTF::wtfThreadEntryPoint (param=0x14e5790) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#6  0x000000379ce07c53 in start_thread (arg=0x7f6a8ab36700) at pthread_create.c:308
#7  0x000000379c6f5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f6a89670700 (LWP 4023)):
#0  0x0000003478886eda in g_mutex_get_impl (mutex=0x7f6a800009a0) at gthread-posix.c:121
#1  0x00000034788871b9 in g_mutex_unlock (mutex=mutex@entry=0x7f6a800009a0) at gthread-posix.c:229
#2  0x0000003478847240 in g_main_context_acquire (context=0x7f6a800009a0) at gmain.c:3129
#3  0x0000003478847f75 in g_main_context_iterate (context=context@entry=0x7f6a800009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3651
#4  0x00000034788481bc in g_main_context_iteration (context=0x7f6a800009a0, may_block=1) at gmain.c:3762
#5  0x0000003479da6d56 in QEventDispatcherGlib::processEvents (this=0x7f6a800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x0000003479d78b2f in QEventLoop::processEvents (this=this@entry=0x7f6a8966fd20, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003479d78e25 in QEventLoop::exec (this=this@entry=0x7f6a8966fd20, flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003479c78a1f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x0000003479c7b0bf in QThreadPrivate::start (arg=0x13fa280) at thread/qthread_unix.cpp:338
#10 0x000000379ce07c53 in start_thread (arg=0x7f6a89670700) at pthread_create.c:308
#11 0x000000379c6f5dbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f6adc52f8c0 (LWP 3972)):
[KCrash Handler]
#6  __memcpy_sse2 () at ../sysdeps/x86_64/memcpy.S:272
#7  0x000000347b7a12d7 in blend_untransformed_generic<(SpanMethod)0> (count=<optimized out>, spans=0x7fffbaa3aae0, userData=0x1804a80) at painting/qdrawhelper.cpp:3636
#8  0x000000347b77b266 in fillRect_normalized (r=..., data=data@entry=0x1804a80, pe=pe@entry=0x1804790) at painting/qpaintengine_raster.cpp:1494
#9  0x000000347b780e5d in QRasterPaintEngine::drawImage (this=<optimized out>, r=..., img=..., sr=...) at painting/qpaintengine_raster.cpp:2469
#10 0x000000347b7883b3 in QRasterPaintEngine::drawPixmap (this=0x176c0b0, r=..., pixmap=..., sr=...) at painting/qpaintengine_raster.cpp:2101
#11 0x000000347b710e41 in QPainter::drawPixmap (this=0x7fffbaa3e270, r=..., pm=..., sr=...) at painting/qpainter.cpp:5468
#12 0x0000003f34f348e4 in WebCore::BitmapImage::draw () from /lib64/libQtWebKit.so.4
#13 0x0000003f34cc433d in WebCore::GraphicsContext::drawImage () from /lib64/libQtWebKit.so.4
#14 0x0000003f34cc459a in WebCore::GraphicsContext::drawImage () from /lib64/libQtWebKit.so.4
#15 0x0000003f34cc45ee in WebCore::GraphicsContext::drawImage () from /lib64/libQtWebKit.so.4
#16 0x0000003f34e10768 in WebCore::RenderImage::paintIntoRect () from /lib64/libQtWebKit.so.4
#17 0x0000003f34e10f30 in WebCore::RenderImage::paintReplaced () from /lib64/libQtWebKit.so.4
#18 0x0000003f34e7f504 in WebCore::RenderReplaced::paint () from /lib64/libQtWebKit.so.4
#19 0x0000003f34e11ae1 in WebCore::RenderImage::paint () from /lib64/libQtWebKit.so.4
#20 0x0000003f34d8c2d2 in WebCore::RenderBlock::paintChild () from /lib64/libQtWebKit.so.4
#21 0x0000003f34d8c440 in WebCore::RenderBlock::paintChildren () from /lib64/libQtWebKit.so.4
#22 0x0000003f34d8c153 in WebCore::RenderBlock::paintContents () from /lib64/libQtWebKit.so.4
#23 0x0000003f34da479b in WebCore::RenderBlock::paintObject () from /lib64/libQtWebKit.so.4
#24 0x0000003f34d88c37 in WebCore::RenderBlock::paint () from /lib64/libQtWebKit.so.4
#25 0x0000003f34d8c2d2 in WebCore::RenderBlock::paintChild () from /lib64/libQtWebKit.so.4
#26 0x0000003f34d8c440 in WebCore::RenderBlock::paintChildren () from /lib64/libQtWebKit.so.4
#27 0x0000003f34d8c153 in WebCore::RenderBlock::paintContents () from /lib64/libQtWebKit.so.4
#28 0x0000003f34da479b in WebCore::RenderBlock::paintObject () from /lib64/libQtWebKit.so.4
#29 0x0000003f34d88c37 in WebCore::RenderBlock::paint () from /lib64/libQtWebKit.so.4
#30 0x0000003f34e97b3e in WebCore::RenderTableSection::paintCell () from /lib64/libQtWebKit.so.4
#31 0x0000003f34e9f9b0 in WebCore::RenderTableSection::paintObject () from /lib64/libQtWebKit.so.4
#32 0x0000003f34e97cd3 in WebCore::RenderTableSection::paint () from /lib64/libQtWebKit.so.4
#33 0x0000003f34e8d436 in WebCore::RenderTable::paintObject () from /lib64/libQtWebKit.so.4
#34 0x0000003f34e89e8b in WebCore::RenderTable::paint () from /lib64/libQtWebKit.so.4
#35 0x0000003f34d8c2d2 in WebCore::RenderBlock::paintChild () from /lib64/libQtWebKit.so.4
#36 0x0000003f34d8c440 in WebCore::RenderBlock::paintChildren () from /lib64/libQtWebKit.so.4
#37 0x0000003f34d8c153 in WebCore::RenderBlock::paintContents () from /lib64/libQtWebKit.so.4
#38 0x0000003f34da479b in WebCore::RenderBlock::paintObject () from /lib64/libQtWebKit.so.4
#39 0x0000003f34d88c37 in WebCore::RenderBlock::paint () from /lib64/libQtWebKit.so.4
#40 0x0000003f34e97b3e in WebCore::RenderTableSection::paintCell () from /lib64/libQtWebKit.so.4
#41 0x0000003f34e9f9b0 in WebCore::RenderTableSection::paintObject () from /lib64/libQtWebKit.so.4
#42 0x0000003f34e97cd3 in WebCore::RenderTableSection::paint () from /lib64/libQtWebKit.so.4
#43 0x0000003f34e8d436 in WebCore::RenderTable::paintObject () from /lib64/libQtWebKit.so.4
#44 0x0000003f34e89e8b in WebCore::RenderTable::paint () from /lib64/libQtWebKit.so.4
#45 0x0000003f34d8c2d2 in WebCore::RenderBlock::paintChild () from /lib64/libQtWebKit.so.4
#46 0x0000003f34d8c440 in WebCore::RenderBlock::paintChildren () from /lib64/libQtWebKit.so.4
#47 0x0000003f34d8c153 in WebCore::RenderBlock::paintContents () from /lib64/libQtWebKit.so.4
#48 0x0000003f34da479b in WebCore::RenderBlock::paintObject () from /lib64/libQtWebKit.so.4
#49 0x0000003f34d88c37 in WebCore::RenderBlock::paint () from /lib64/libQtWebKit.so.4
#50 0x0000003f34e97b3e in WebCore::RenderTableSection::paintCell () from /lib64/libQtWebKit.so.4
#51 0x0000003f34e9f9b0 in WebCore::RenderTableSection::paintObject () from /lib64/libQtWebKit.so.4
#52 0x0000003f34e97cd3 in WebCore::RenderTableSection::paint () from /lib64/libQtWebKit.so.4
#53 0x0000003f34e8d436 in WebCore::RenderTable::paintObject () from /lib64/libQtWebKit.so.4
#54 0x0000003f34e89e8b in WebCore::RenderTable::paint () from /lib64/libQtWebKit.so.4
#55 0x0000003f34d8c2d2 in WebCore::RenderBlock::paintChild () from /lib64/libQtWebKit.so.4
#56 0x0000003f34d8c440 in WebCore::RenderBlock::paintChildren () from /lib64/libQtWebKit.so.4
#57 0x0000003f34d8c153 in WebCore::RenderBlock::paintContents () from /lib64/libQtWebKit.so.4
#58 0x0000003f34da479b in WebCore::RenderBlock::paintObject () from /lib64/libQtWebKit.so.4
#59 0x0000003f34d88c37 in WebCore::RenderBlock::paint () from /lib64/libQtWebKit.so.4
#60 0x0000003f34e97b3e in WebCore::RenderTableSection::paintCell () from /lib64/libQtWebKit.so.4
#61 0x0000003f34e9f9b0 in WebCore::RenderTableSection::paintObject () from /lib64/libQtWebKit.so.4
#62 0x0000003f34e97cd3 in WebCore::RenderTableSection::paint () from /lib64/libQtWebKit.so.4
#63 0x0000003f34e8d436 in WebCore::RenderTable::paintObject () from /lib64/libQtWebKit.so.4
#64 0x0000003f34e89e8b in WebCore::RenderTable::paint () from /lib64/libQtWebKit.so.4
#65 0x0000003f34d8c2d2 in WebCore::RenderBlock::paintChild () from /lib64/libQtWebKit.so.4
#66 0x0000003f34d8c440 in WebCore::RenderBlock::paintChildren () from /lib64/libQtWebKit.so.4
#67 0x0000003f34d8c153 in WebCore::RenderBlock::paintContents () from /lib64/libQtWebKit.so.4
#68 0x0000003f34da479b in WebCore::RenderBlock::paintObject () from /lib64/libQtWebKit.so.4
#69 0x0000003f34d88c37 in WebCore::RenderBlock::paint () from /lib64/libQtWebKit.so.4
#70 0x0000003f34e2d476 in WebCore::RenderLayer::paintLayerContents () from /lib64/libQtWebKit.so.4
#71 0x0000003f34e2dbb1 in WebCore::RenderLayer::paintLayer () from /lib64/libQtWebKit.so.4
#72 0x0000003f34e2eaf6 in WebCore::RenderLayer::paintList () from /lib64/libQtWebKit.so.4
#73 0x0000003f34e2c6cb in WebCore::RenderLayer::paintLayerContents () from /lib64/libQtWebKit.so.4
#74 0x0000003f34e2dbb1 in WebCore::RenderLayer::paintLayer () from /lib64/libQtWebKit.so.4
#75 0x0000003f34e2eaf6 in WebCore::RenderLayer::paintList () from /lib64/libQtWebKit.so.4
#76 0x0000003f34e2c6cb in WebCore::RenderLayer::paintLayerContents () from /lib64/libQtWebKit.so.4
#77 0x0000003f34e2dbb1 in WebCore::RenderLayer::paintLayer () from /lib64/libQtWebKit.so.4
#78 0x0000003f34e2dcd9 in WebCore::RenderLayer::paint () from /lib64/libQtWebKit.so.4
#79 0x0000003f34c7f58e in WebCore::FrameView::paintContents () from /lib64/libQtWebKit.so.4
#80 0x0000003f345fa35d in QWebFramePrivate::renderRelativeCoords () from /lib64/libQtWebKit.so.4
#81 0x0000003f345fa5f4 in QWebFrame::render () from /lib64/libQtWebKit.so.4
#82 0x0000003f346124f0 in QWebView::paintEvent () from /lib64/libQtWebKit.so.4
#83 0x000000347b617860 in QWidget::event (this=0x1408120, event=0x7fffbaa3e7d0) at kernel/qwidget.cpp:8533
#84 0x0000003f346131a8 in QWebView::event () from /lib64/libQtWebKit.so.4
#85 0x0000003e936e6e33 in MessageViewer::MailWebView::event (this=0x1408120, event=0x7fffbaa3e7d0) at /usr/src/debug/kdepim-4.11.5/messageviewer/viewer/mailwebview_webkit.cpp:162
#86 0x000000347b5c84dc in QApplicationPrivate::notify_helper (this=0xf35370, receiver=0x1408120, e=0x7fffbaa3e7d0) at kernel/qapplication.cpp:4562
#87 0x000000347b5ceaa0 in QApplication::notify (this=this@entry=0x7fffbaa3f580, receiver=receiver@entry=0x1408120, e=e@entry=0x7fffbaa3e7d0) at kernel/qapplication.cpp:4348
#88 0x0000003e8ac3fd5a in KApplication::notify (this=0x7fffbaa3f580, receiver=0x1408120, event=0x7fffbaa3e7d0) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:311
#89 0x0000003479d79ecd in QCoreApplication::notifyInternal (this=0x7fffbaa3f580, receiver=0x1408120, event=0x7fffbaa3e7d0) at kernel/qcoreapplication.cpp:949
#90 0x000000347b611f81 in QWidgetPrivate::drawWidget (this=this@entry=0x1408190, pdev=0x1803be0, rgn=..., offset=..., flags=68, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x1450900) at ../../src/corelib/kernel/qcoreapplication.h:234
#91 0x000000347b7cfaea in QWidgetBackingStore::sync (this=0x1450900) at painting/qbackingstore.cpp:1365
#92 0x000000347b607390 in QWidgetPrivate::syncBackingStore (this=0x11f38f0) at kernel/qwidget.cpp:1894
#93 0x000000347b6173da in QWidget::event (this=this@entry=0x11fd020, event=event@entry=0x26a86f0) at kernel/qwidget.cpp:8680
#94 0x000000347b9cc003 in QMainWindow::event (this=this@entry=0x11fd020, event=event@entry=0x26a86f0) at widgets/qmainwindow.cpp:1478
#95 0x0000003e8acf48b1 in KMainWindow::event (this=this@entry=0x11fd020, ev=ev@entry=0x26a86f0) at /usr/src/debug/kdelibs-4.11.5/kdeui/widgets/kmainwindow.cpp:1084
#96 0x0000003e8ad2c229 in KXmlGuiWindow::event (this=0x11fd020, ev=0x26a86f0) at /usr/src/debug/kdelibs-4.11.5/kdeui/xmlgui/kxmlguiwindow.cpp:126
#97 0x000000347b5c84dc in QApplicationPrivate::notify_helper (this=0xf35370, receiver=0x11fd020, e=0x26a86f0) at kernel/qapplication.cpp:4562
#98 0x000000347b5ceaa0 in QApplication::notify (this=this@entry=0x7fffbaa3f580, receiver=receiver@entry=0x11fd020, e=e@entry=0x26a86f0) at kernel/qapplication.cpp:4348
#99 0x0000003e8ac3fd5a in KApplication::notify (this=0x7fffbaa3f580, receiver=0x11fd020, event=0x26a86f0) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:311
#100 0x0000003479d79ecd in QCoreApplication::notifyInternal (this=0x7fffbaa3f580, receiver=receiver@entry=0x11fd020, event=event@entry=0x26a86f0) at kernel/qcoreapplication.cpp:949
#101 0x0000003479d7ce2d in sendEvent (event=0x26a86f0, receiver=0x11fd020) at kernel/qcoreapplication.h:231
#102 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xec6210) at kernel/qcoreapplication.cpp:1573
#103 0x0000003479d7d2d3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#104 0x0000003479da7473 in sendPostedEvents () at kernel/qcoreapplication.h:236
#105 postEventSourceDispatch (s=s@entry=0xf3f000) at kernel/qeventdispatcher_glib.cpp:280
#106 0x0000003478847dc6 in g_main_dispatch (context=0xf3df00) at gmain.c:3054
#107 g_main_context_dispatch (context=context@entry=0xf3df00) at gmain.c:3630
#108 0x0000003478848118 in g_main_context_iterate (context=context@entry=0xf3df00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#109 0x00000034788481bc in g_main_context_iteration (context=0xf3df00, may_block=1) at gmain.c:3762
#110 0x0000003479da6d35 in QEventDispatcherGlib::processEvents (this=0xec7af0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#111 0x000000347b664ea6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#112 0x0000003479d78b2f in QEventLoop::processEvents (this=this@entry=0x7fffbaa3f1d0, flags=...) at kernel/qeventloop.cpp:149
#113 0x0000003479d78e25 in QEventLoop::exec (this=this@entry=0x7fffbaa3f1d0, flags=...) at kernel/qeventloop.cpp:204
#114 0x0000003479d7e0a9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#115 0x000000347b5c6c9c in QApplication::exec () at kernel/qapplication.cpp:3823
#116 0x0000000000402eaa in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdepim-4.11.5/kmail/main.cpp:146

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 18:00:38 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 21:45:40 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.