Bug 335305

Summary: KDE desktop has crashed (KDE 4.13.1, Kubuntu 14.04)
Product: [Applications] kontact Reporter: Thomas Dreibholz <dreibh>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.13.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Thomas Dreibholz 2014-05-25 06:06:46 UTC
Application: kontact (4.13.1)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

The KDE desktop has suddenly crashed (KDE 4.13.1, Kubuntu 14.04), while working with Firefox and Digikam running in background.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd254e56800 (LWP 2870))]

Thread 7 (Thread 0x7fd23472a700 (LWP 2872)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd24fbfd81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fd24fbfd859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fd24c31f182 in start_thread (arg=0x7fd23472a700) at pthread_create.c:312
#4  0x00007fd2523d130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fd1f3e0f700 (LWP 2877)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd24f93e20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fd24fc2cfd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fd24c31f182 in start_thread (arg=0x7fd1f3e0f700) at pthread_create.c:312
#4  0x00007fd2523d130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fd1df71e700 (LWP 2909)):
#0  0x00007fd2523c3fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd24be3ffe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fd1d8003090, timeout=3962, context=0x7fd1d80009a0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7fd1d80009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007fd24be400ec in g_main_context_iteration (context=0x7fd1d80009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007fd252b4a7be in QEventDispatcherGlib::processEvents (this=0x7fd1d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fd252b1c0af in QEventLoop::processEvents (this=this@entry=0x7fd1df71dde0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd252b1c3a5 in QEventLoop::exec (this=this@entry=0x7fd1df71dde0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fd252a18c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#8  0x00007fd252a1b32f in QThreadPrivate::start (arg=0x27bff50) at thread/qthread_unix.cpp:349
#9  0x00007fd24c31f182 in start_thread (arg=0x7fd1df71e700) at pthread_create.c:312
#10 0x00007fd2523d130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fd1dc855700 (LWP 3128)):
#0  0x00007ffff77fea1f in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd1cbfff700 (LWP 14248)):
#0  0x00007fd2523c26bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd24be80c20 in read (__nbytes=16, __buf=0x7fd1cbffeba0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7fd1cc000900) at /build/buildd/glib2.0-2.40.0/./glib/gwakeup.c:210
#3  0x00007fd24be3fb14 in g_main_context_check (context=context@entry=0x7fd1cc006ce0, max_priority=2147483647, fds=fds@entry=0x7fd1cc002f70, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3532
#4  0x00007fd24be3ff7b in g_main_context_iterate (context=context@entry=0x7fd1cc006ce0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3731
#5  0x00007fd24be400ec in g_main_context_iteration (context=0x7fd1cc006ce0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#6  0x00007fd252b4a7be in QEventDispatcherGlib::processEvents (this=0x7fd1cc005fc0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007fd252b1c0af in QEventLoop::processEvents (this=this@entry=0x7fd1cbffeda0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fd252b1c3a5 in QEventLoop::exec (this=this@entry=0x7fd1cbffeda0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fd252a18c5f in QThread::exec (this=this@entry=0xa7acba0) at thread/qthread.cpp:537
#10 0x00007fd252afd823 in QInotifyFileSystemWatcherEngine::run (this=0xa7acba0) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007fd252a1b32f in QThreadPrivate::start (arg=0xa7acba0) at thread/qthread_unix.cpp:349
#12 0x00007fd24c31f182 in start_thread (arg=0x7fd1cbfff700) at pthread_create.c:312
#13 0x00007fd2523d130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fd1d4956700 (LWP 21901)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fd252a1b7f4 in wait (time=30000, this=0xbb53a00) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x281d280, mutex=mutex@entry=0xa94b9b8, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd252a0f0fa in QThreadPoolThread::run (this=0x281d270) at concurrent/qthreadpool.cpp:142
#4  0x00007fd252a1b32f in QThreadPrivate::start (arg=0x281d270) at thread/qthread_unix.cpp:349
#5  0x00007fd24c31f182 in start_thread (arg=0x7fd1d4956700) at pthread_create.c:312
#6  0x00007fd2523d130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fd254e56800 (LWP 2870)):
[KCrash Handler]
#6  0x000000000ba9c7b0 in ?? ()
#7  0x00007fd1c21e4440 in Akregator::Folder::updateUnreadCount (this=this@entry=0x16258570) at ../../../akregator/src/folder.cpp:313
#8  0x00007fd1c21e493f in Akregator::Folder::removeChild (this=0x16258570, node=node@entry=0x1732cd80) at ../../../akregator/src/folder.cpp:258
#9  0x00007fd1c21dc7f5 in Akregator::TreeNode::emitSignalDestroyed (this=this@entry=0x1732cd80) at ../../../akregator/src/treenode.cpp:74
#10 0x00007fd1c21d4c79 in Akregator::Feed::~Feed (this=0x1732cd80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../akregator/src/feed.cpp:320
#11 0x00007fd1c21d4ec9 in Akregator::Feed::~Feed (this=0x1732cd80, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../akregator/src/feed.cpp:323
#12 0x00007fd1c21e33a6 in Akregator::Folder::FolderPrivate::~FolderPrivate (this=0x562c2b0, __in_chrg=<optimized out>) at ../../../akregator/src/folder.cpp:70
#13 0x00007fd1c21e3408 in Akregator::Folder::~Folder (this=0x16258570, __in_chrg=<optimized out>) at ../../../akregator/src/folder.cpp:98
#14 0x00007fd1c21e3449 in Akregator::Folder::~Folder (this=0x16258570, __in_chrg=<optimized out>) at ../../../akregator/src/folder.cpp:100
#15 0x00007fd1c21e33a6 in Akregator::Folder::FolderPrivate::~FolderPrivate (this=0x149ab120, __in_chrg=<optimized out>) at ../../../akregator/src/folder.cpp:70
#16 0x00007fd1c21e3408 in Akregator::Folder::~Folder (this=0x16142fa0, __in_chrg=<optimized out>) at ../../../akregator/src/folder.cpp:98
#17 0x00007fd1c21e3449 in Akregator::Folder::~Folder (this=0x16142fa0, __in_chrg=<optimized out>) at ../../../akregator/src/folder.cpp:100
#18 0x00007fd1c21d6bd8 in Akregator::FeedList::setRootNode (this=this@entry=0x4211480, folder=folder@entry=0x0) at ../../../akregator/src/feedlist.cpp:435
#19 0x00007fd1c21d7287 in Akregator::FeedList::~FeedList (this=0x4211480, __in_chrg=<optimized out>) at ../../../akregator/src/feedlist.cpp:315
#20 0x00007fd1c21d7369 in Akregator::FeedList::~FeedList (this=0x4211480, __in_chrg=<optimized out>) at ../../../akregator/src/feedlist.cpp:319
#21 0x00007fd1c21f38a2 in release (this=0x1290df30) at /usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:146
#22 ~shared_count (this=0x158bbc10, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/detail/shared_count.hpp:371
#23 ~shared_ptr (this=0x158bbc08, __in_chrg=<optimized out>) at /usr/include/boost/smart_ptr/shared_ptr.hpp:328
#24 ~ArticleDeleteJob (this=0x158bbbf0, __in_chrg=<optimized out>) at ../../../akregator/src/articlejobs.h:67
#25 Akregator::ArticleDeleteJob::~ArticleDeleteJob (this=0x158bbbf0, __in_chrg=<optimized out>) at ../../../akregator/src/articlejobs.h:67
#26 0x00007fd252b34168 in QObjectPrivate::deleteChildren (this=this@entry=0x14f5bbd0) at kernel/qobject.cpp:1907
#27 0x00007fd252b366ff in QObject::~QObject (this=0x157fba90, __in_chrg=<optimized out>) at kernel/qobject.cpp:926
#28 0x00007fd1c809a859 in Akregator::ExpireItemsCommand::~ExpireItemsCommand (this=0x157fba90, __in_chrg=<optimized out>) at ../../../akregator/src/expireitemscommand.cpp:110
#29 0x00007fd252b34168 in QObjectPrivate::deleteChildren (this=this@entry=0x15b6ba70) at kernel/qobject.cpp:1907
#30 0x00007fd25355bd37 in QWidget::~QWidget (this=0x3eba030, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1679
#31 0x00007fd1c80c00b9 in Akregator::MainWidget::~MainWidget (this=0x3eba030, __in_chrg=<optimized out>) at ../../../akregator/src/mainwidget.cpp:101
#32 0x00007fd2520a8136 in KParts::Part::~Part (this=0x88f71f0, __vtt_parm=0x7fd1c830a7d0 <VTT for Akregator::Part+16>, __in_chrg=<optimized out>) at ../../kparts/part.cpp:209
#33 0x00007fd1c80bc5b7 in Akregator::Part::~Part (this=this@entry=0x88f71f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../akregator/src/akregator_part.cpp:414
#34 0x00007fd1c80bc729 in Akregator::Part::~Part (this=0x88f71f0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../akregator/src/akregator_part.cpp:421
#35 0x00007fd254a95d2e in KontactInterface::Plugin::~Plugin (this=0x29a7750, __vtt_parm=<optimized out>, __in_chrg=<optimized out>) at ../../kontactinterface/plugin.cpp:92
#36 0x00007fd1ea090b26 in AkregatorPlugin::~AkregatorPlugin (this=0x29a7750, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/akregator/akregator_plugin.cpp:61
#37 0x00007fd1ea090b49 in AkregatorPlugin::~AkregatorPlugin (this=0x29a7750, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../../kontact/plugins/akregator/akregator_plugin.cpp:65
#38 0x00007fd25465cf8e in Kontact::MainWindow::~MainWindow (this=this@entry=0x26918e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:296
#39 0x00007fd25465d0e9 in Kontact::MainWindow::~MainWindow (this=0x26918e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#40 0x00000000004036a6 in qDeleteAll<QList<KMainWindow*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#41 qDeleteAll<QList<KMainWindow*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#42 main (argc=1, argv=0x7ffff76e7108) at ../../../kontact/src/main.cpp:220

Possible duplicates by query: bug 325320, bug 324513.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 19:19:22 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 kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:01:09 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.