Bug 359117 - Crash on delete
Summary: Crash on delete
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-02-07 22:02 UTC by Michael Harnden
Modified: 2018-02-01 09:45 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 Michael Harnden 2016-02-07 22:02:48 UTC
Application: kontact (4.14.10)
KDE Platform Version: 4.14.16
Qt Version: 4.8.6
Operating System: Linux 4.1.15-8-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
Kontact crashed after deleting an email. IMAP folder, html content in the email.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa24c43e800 (LWP 16015))]

Thread 4 (Thread 0x7fa22e51d700 (LWP 16024)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa248b23eb6 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fa248b23ee9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fa23f67f754 in ?? () from /usr/X11R6/lib64/libGL.so.1
#4  0x00007fa2439990a4 in start_thread (arg=0x7fa22e51d700) at pthread_create.c:309
#5  0x00007fa24991404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fa1edc1a700 (LWP 16025)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa248896b3d in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fa248b4ba06 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fa23f67f754 in ?? () from /usr/X11R6/lib64/libGL.so.1
#4  0x00007fa2439990a4 in start_thread (arg=0x7fa1edc1a700) at pthread_create.c:309
#5  0x00007fa24991404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fa1d5f14700 (LWP 16282)):
#0  idleTimerSourceCheck (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:235
#1  0x00007fa2433cc8f1 in g_main_context_check (context=context@entry=0x7fa1d00009d0, max_priority=2147483647, fds=fds@entry=0x7fa1d00013e0, n_fds=n_fds@entry=1) at gmain.c:3649
#2  0x00007fa2433ccdf8 in g_main_context_iterate (context=context@entry=0x7fa1d00009d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3805
#3  0x00007fa2433ccf7c in g_main_context_iteration (context=0x7fa1d00009d0, may_block=1) at gmain.c:3869
#4  0x00007fa24a107fde in QEventDispatcherGlib::processEvents (this=0x7fa1d00008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007fa24a0d9d4f in QEventLoop::processEvents (this=this@entry=0x7fa1d5f13d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fa24a0da045 in QEventLoop::exec (this=this@entry=0x7fa1d5f13d20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fa249fd74df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007fa249fd9bbf in QThreadPrivate::start (arg=0x10c4200) at thread/qthread_unix.cpp:349
#9  0x00007fa23f67f754 in ?? () from /usr/X11R6/lib64/libGL.so.1
#10 0x00007fa2439990a4 in start_thread (arg=0x7fa1d5f14700) at pthread_create.c:309
#11 0x00007fa24991404d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fa24c43e800 (LWP 16015)):
[KCrash Handler]
#6  operator!= (value=1, this=0x6) at /usr/include/QtCore/qbasicatomic.h:75
#7  QList<Akonadi::Item>::append (this=0x256e578, t=...) at /usr/include/QtCore/qlist.h:509
#8  0x00007fa1df61a66a in KMMoveCommand::execute (this=0x259e9d0) at /usr/src/debug/kdepim-4.14.10/kmail/kmcommands.cpp:1460
#9  0x00007fa1df617ca1 in KMCommand::slotPostTransfer (this=0x259e9d0, result=KMCommand::OK) at /usr/src/debug/kdepim-4.14.10/kmail/kmcommands.cpp:266
#10 0x00007fa24a0ef0fa in QMetaObject::activate (sender=sender@entry=0x259e9d0, m=m@entry=0x7fa1df9c6f20 <KMCommand::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe066d2740) at kernel/qobject.cpp:3576
#11 0x00007fa1df71f39e in KMCommand::messagesTransfered (this=this@entry=0x259e9d0, _t1=_t1@entry=KMCommand::OK) at /usr/src/debug/kdepim-4.14.10/build/kmail/moc_kmcommands.cpp:116
#12 0x00007fa1df61c44d in KMCommand::transferSelectedMsgs (this=this@entry=0x259e9d0) at /usr/src/debug/kdepim-4.14.10/kmail/kmcommands.cpp:325
#13 0x00007fa1df61c829 in KMCommand::start (this=this@entry=0x259e9d0) at /usr/src/debug/kdepim-4.14.10/kmail/kmcommands.cpp:258
#14 0x00007fa1df62d4e7 in KMMainWidget::trashMessageSelected (this=0x14f81d0, ref=2) at /usr/src/debug/kdepim-4.14.10/kmail/kmmainwidget.cpp:1860
#15 0x00007fa1df62d5d7 in KMMainWidget::slotTrashSelectedMessages (this=<optimized out>) at /usr/src/debug/kdepim-4.14.10/kmail/kmmainwidget.cpp:1886
#16 0x00007fa1df720bda in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdepim-4.14.10/build/kmail/moc_kmmainwidget.cpp:330
#17 0x00007fa24a0ef0fa in QMetaObject::activate (sender=sender@entry=0x194e350, m=m@entry=0x7fa24b5884a0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe066d2a50) at kernel/qobject.cpp:3576
#18 0x00007fa24aadf652 in QAction::triggered (this=this@entry=0x194e350, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#19 0x00007fa24aae1003 in QAction::activate (this=0x194e350, event=<optimized out>) at kernel/qaction.cpp:1257
#20 0x00007fa24ae93902 in QAbstractButtonPrivate::click (this=this@entry=0x1aa33b0) at widgets/qabstractbutton.cpp:530
#21 0x00007fa24ae93a2c in QAbstractButton::mouseReleaseEvent (this=0x1aa3380, e=0x7ffe066d2f50) at widgets/qabstractbutton.cpp:1123
#22 0x00007fa24af4a96a in QToolButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qtoolbutton.cpp:723
#23 0x00007fa24ab34c5a in QWidget::event (this=0x1aa3380, event=0x7ffe066d2f50) at kernel/qwidget.cpp:8389
#24 0x00007fa24aae579c in QApplicationPrivate::notify_helper (this=this@entry=0xd96280, receiver=receiver@entry=0x1aa3380, e=e@entry=0x7ffe066d2f50) at kernel/qapplication.cpp:4565
#25 0x00007fa24aaebe1a in QApplication::notify (this=<optimized out>, receiver=0x1aa3380, e=0x7ffe066d2f50) at kernel/qapplication.cpp:4108
#26 0x00007fa24b7fce1a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#27 0x00007fa24a0db18d in QCoreApplication::notifyInternal (this=0x7ffe066d3790, receiver=receiver@entry=0x1aa3380, event=event@entry=0x7ffe066d2f50) at kernel/qcoreapplication.cpp:953
#28 0x00007fa24aaeb613 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#29 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1aa3380, event=event@entry=0x7ffe066d2f50, alienWidget=alienWidget@entry=0x1aa3380, nativeWidget=nativeWidget@entry=0x10e42a0, buttonDown=buttonDown@entry=0x7fa24b5c4298 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#30 0x00007fa24ab5cceb in QETWidget::translateMouseEvent (this=this@entry=0x10e42a0, event=event@entry=0x7ffe066d32c0) at kernel/qapplication_x11.cpp:4530
#31 0x00007fa24ab5b75c in QApplication::x11ProcessEvent (this=0x7ffe066d3790, event=event@entry=0x7ffe066d32c0) at kernel/qapplication_x11.cpp:3653
#32 0x00007fa24ab825f2 in x11EventSourceDispatch (s=0xda3d70, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007fa2433ccc84 in g_main_dispatch (context=0xd99230) at gmain.c:3122
#34 g_main_context_dispatch (context=context@entry=0xd99230) at gmain.c:3737
#35 0x00007fa2433cced8 in g_main_context_iterate (context=context@entry=0xd99230, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
#36 0x00007fa2433ccf7c in g_main_context_iteration (context=0xd99230, may_block=1) at gmain.c:3869
#37 0x00007fa24a107fbe in QEventDispatcherGlib::processEvents (this=0xcd0ae0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#38 0x00007fa24ab826a6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fa24a0d9d4f in QEventLoop::processEvents (this=this@entry=0x7ffe066d3690, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fa24a0da045 in QEventLoop::exec (this=this@entry=0x7ffe066d3690, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007fa24a0df499 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#42 0x00000000004037f2 in ?? ()
#43 0x00007fa249850b05 in __libc_start_main (main=0x402eb0, argc=3, argv=0x7ffe066d38d8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe066d38c8) at libc-start.c:285
#44 0x0000000000403c97 in _start ()

Reported using DrKonqi
Comment 1 Denis Kurz 2017-06-23 21:25:39 UTC
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those Framework-based versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the opportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.

Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Comment 2 Denis Kurz 2018-02-01 09:45:34 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.1 aka 15.12; preferably much more recent), please open a new one unless it already exists. Thank you for all your input.