Bug 328484

Summary: Kontact crashed when double clicking on the message area
Product: [Applications] kontact Reporter: Diego <diego.ml>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: dvratil, marc.mendezbermond
Priority: NOR Keywords: drkonqi
Version: 4.11.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Diego 2013-12-06 13:37:16 UTC
Application: kontact (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.5
Operating System: Linux 3.11.9-200.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:

This is a bit weird bug, but what happened is this: I had my Kontact minimized, I opened it, then after a couple of seconds I double clicked (by error, it wasn't intentional) on the message area and Kontact window instantly disappeared!

I don't have any way to reproduce the bug at will.

-- Backtrace:
Application: Kontact (kontact), 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 0x7fc07e7948c0 (LWP 17918))]

Thread 4 (Thread 0x7fc0559fe700 (LWP 17919)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc07d463e2d in WTF::TCMalloc_PageHeap::scavengerThread (this=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:2571
#2  0x00007fc07d463e69 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/FastMalloc.cpp:1767
#3  0x00007fc0783e8c53 in start_thread (arg=0x7fc0559fe700) at pthread_create.c:308
#4  0x00007fc07767edbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fc014eda700 (LWP 17920)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc07d1a45bd in JSC::BlockAllocator::blockFreeingThreadMain (this=0x7fc055160398) at /usr/src/debug/webkit-qtwebkit-23/Source/JavaScriptCore/heap/BlockAllocator.cpp:128
#2  0x00007fc07d493686 in WTF::wtfThreadEntryPoint (param=0x1431500) at /usr/src/debug/webkit-qtwebkit-23/Source/WTF/wtf/ThreadingPthreads.cpp:196
#3  0x00007fc0783e8c53 in start_thread (arg=0x7fc014eda700) at pthread_create.c:308
#4  0x00007fc07767edbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fc00569c700 (LWP 17940)):
#0  0x00007fc0776747fd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc07414c0e4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fbffc0029c0, timeout=264, context=0x7fbffc0009a0) at gmain.c:3995
#2  g_main_context_iterate (context=context@entry=0x7fbffc0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3696
#3  0x00007fc07414c1ec in g_main_context_iteration (context=0x7fbffc0009a0, may_block=1) at gmain.c:3762
#4  0x00007fc0787a4166 in QEventDispatcherGlib::processEvents (this=0x7fbffc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007fc078775ecf in QEventLoop::processEvents (this=this@entry=0x7fc00569bd20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc0787761c5 in QEventLoop::exec (this=this@entry=0x7fc00569bd20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fc07867566f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007fc078677d0f in QThreadPrivate::start (arg=0x1708ec0) at thread/qthread_unix.cpp:338
#9  0x00007fc0783e8c53 in start_thread (arg=0x7fc00569c700) at pthread_create.c:308
#10 0x00007fc07767edbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fc07e7948c0 (LWP 17918)):
[KCrash Handler]
#6  size (this=0x88) at ../../src/corelib/tools/qlist.h:98
#7  size (this=0x88) at ../../src/corelib/tools/qlist.h:137
#8  QMimeDataPrivate::removeData (this=this@entry=0x0, format=...) at kernel/qmimedata.cpp:72
#9  0x00007fc078786688 in QMimeDataPrivate::setData (this=this@entry=0x0, format=..., data=...) at kernel/qmimedata.cpp:83
#10 0x00007fc078786a9b in QMimeData::setData (this=<optimized out>, mimeType=..., data=...) at kernel/qmimedata.cpp:547
#11 0x00007fc07c8ed486 in WebCore::Pasteboard::writeSelection () from /lib64/libQtWebKit.so.4
#12 0x00007fc07bfcad4b in WebCore::EditorClientQt::respondToChangedSelection () from /lib64/libQtWebKit.so.4
#13 0x00007fc07c2c8bce in WebCore::Editor::notifyComponentsOnChangedSelection () from /lib64/libQtWebKit.so.4
#14 0x00007fc07c2d66e7 in WebCore::Editor::respondToChangedSelection () from /lib64/libQtWebKit.so.4
#15 0x00007fc07c2e94f6 in WebCore::FrameSelection::setSelection () from /lib64/libQtWebKit.so.4
#16 0x00007fc07c2ea286 in WebCore::FrameSelection::setNonDirectionalSelectionIfNeeded () from /lib64/libQtWebKit.so.4
#17 0x00007fc07c5f5efe in WebCore::EventHandler::updateSelectionForMouseDownDispatchingSelectStart () from /lib64/libQtWebKit.so.4
#18 0x00007fc07c5f6202 in WebCore::EventHandler::selectClosestWordFromHitTestResult () from /lib64/libQtWebKit.so.4
#19 0x00007fc07c5f63d5 in WebCore::EventHandler::handleMousePressEventDoubleClick () from /lib64/libQtWebKit.so.4
#20 0x00007fc07c5f84f5 in WebCore::EventHandler::handleMousePressEvent () from /lib64/libQtWebKit.so.4
#21 0x00007fc07c5fde4d in WebCore::EventHandler::handleMousePressEvent () from /lib64/libQtWebKit.so.4
#22 0x00007fc07bf9c9a3 in QWebPagePrivate::mouseDoubleClickEvent<QMouseEvent> () from /lib64/libQtWebKit.so.4
#23 0x00007fc07bfa5a8e in QWebPage::event () from /lib64/libQtWebKit.so.4
#24 0x00007fc07bfa81f0 in QWebView::mouseDoubleClickEvent () from /lib64/libQtWebKit.so.4
#25 0x00007fc079421c5e in QWidget::event (this=0x1bbca00, event=0x7fffc053b830) at kernel/qwidget.cpp:8380
#26 0x00007fc07bfa91c8 in QWebView::event () from /lib64/libQtWebKit.so.4
#27 0x00007fc008d77f13 in MessageViewer::MailWebView::event(QEvent*) () from /lib64/libmessageviewer.so.4
#28 0x00007fc0793d24dc in QApplicationPrivate::notify_helper (this=this@entry=0x1181100, receiver=receiver@entry=0x1bbca00, e=e@entry=0x7fffc053b830) at kernel/qapplication.cpp:4562
#29 0x00007fc0793d8bdd in QApplication::notify (this=this@entry=0x7fffc053c080, receiver=receiver@entry=0x1bbca00, e=e@entry=0x7fffc053b830) at kernel/qapplication.cpp:4105
#30 0x00007fc07a0f0e9a in KApplication::notify (this=0x7fffc053c080, receiver=0x1bbca00, event=0x7fffc053b830) at /usr/src/debug/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:311
#31 0x00007fc07877726d in QCoreApplication::notifyInternal (this=0x7fffc053c080, receiver=receiver@entry=0x1bbca00, event=event@entry=0x7fffc053b830) at kernel/qcoreapplication.cpp:949
#32 0x00007fc0793d8393 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#33 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1bbca00, event=event@entry=0x7fffc053b830, alienWidget=alienWidget@entry=0x1bbca00, nativeWidget=nativeWidget@entry=0x1aee150, buttonDown=buttonDown@entry=0x7fc079ead258 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#34 0x00007fc07944992b in QETWidget::translateMouseEvent (this=this@entry=0x1aee150, event=event@entry=0x7fffc053bba0) at kernel/qapplication_x11.cpp:4538
#35 0x00007fc07944839c in QApplication::x11ProcessEvent (this=0x7fffc053c080, event=event@entry=0x7fffc053bba0) at kernel/qapplication_x11.cpp:3661
#36 0x00007fc07946ee54 in x11EventSourceDispatch (s=s@entry=0x1185870, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#37 0x00007fc07414bdf6 in g_main_dispatch (context=0x11845a0) at gmain.c:3054
#38 g_main_context_dispatch (context=context@entry=0x11845a0) at gmain.c:3630
#39 0x00007fc07414c148 in g_main_context_iterate (context=context@entry=0x11845a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#40 0x00007fc07414c1ec in g_main_context_iteration (context=0x11845a0, may_block=1) at gmain.c:3762
#41 0x00007fc0787a4145 in QEventDispatcherGlib::processEvents (this=0x1145ee0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#42 0x00007fc07946efc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#43 0x00007fc078775ecf in QEventLoop::processEvents (this=this@entry=0x7fffc053bf80, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fc0787761c5 in QEventLoop::exec (this=this@entry=0x7fffc053bf80, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007fc07877b45b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#46 0x0000000000403760 in main ()

The reporter indicates this bug may be a duplicate of or related to bug 318479.

Possible duplicates by query: bug 318479.

Reported using DrKonqi
Comment 1 Daniel Vrátil 2013-12-06 13:56:00 UTC
This is a webkit issue, sorry - nothing much we can do about it.

It might be fixed in upstream: https://bugs.webkit.org/show_bug.cgi?id=102192
Comment 2 Jekyll Wu 2014-01-14 00:55:57 UTC
*** Bug 329929 has been marked as a duplicate of this bug. ***