Bug 353826 - Kontact crashes every time I exit
Summary: Kontact crashes every time I exit
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 5.2.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-10-12 12:59 UTC by Chris Samuel
Modified: 2019-02-19 02:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Kontact crash log (5.63 KB, text/plain)
2016-01-15 13:48 UTC, Martin Tlustos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Samuel 2015-10-12 12:59:04 UTC
Application: kontact (5.0.1)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-15-generic x86_64
Distribution: Ubuntu Wily Werewolf (development branch)

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

After upgrading to the development version of Kubuntu 15.10 every time I exit Kontact (in the email view, not tried any other) it crashes with the attached backtrace.

The crash can be reproduced every time.

-- 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 0x7fe03bb84880 (LWP 17692))]

Thread 10 (Thread 0x7fe0335ef700 (LWP 17694)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe05617a48b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fe05617a4c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fe0518f96aa in start_thread (arg=0x7fe0335ef700) at pthread_create.c:333
#4  0x00007fe05706ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fdff085a700 (LWP 17695)):
#0  0x00007fe0570618dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fe050c7c1ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe050c7c2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe057ba229b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fe057b4875a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fe0579663d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fe05796b2be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fe0518f96aa in start_thread (arg=0x7fdff085a700) at pthread_create.c:333
#8  0x00007fe05706ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fdfeae09700 (LWP 17696)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe055e885b4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fe0561aa341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fe0518f96aa in start_thread (arg=0x7fdfeae09700) at pthread_create.c:333
#4  0x00007fe05706ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fdfea5e9700 (LWP 17697)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe055e895e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fe0561aa341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fe0518f96aa in start_thread (arg=0x7fdfea5e9700) at pthread_create.c:333
#4  0x00007fe05706ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fdfe9de8700 (LWP 17698)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe055e895e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fe0561aa341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fe0518f96aa in start_thread (arg=0x7fdfe9de8700) at pthread_create.c:333
#4  0x00007fe05706ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fdfe95e7700 (LWP 17699)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe055e895e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fe0561aa341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fe0518f96aa in start_thread (arg=0x7fdfe95e7700) at pthread_create.c:333
#4  0x00007fe05706ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fdfe8de6700 (LWP 17700)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe055e895e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fe0561aa341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fe0518f96aa in start_thread (arg=0x7fdfe8de6700) at pthread_create.c:333
#4  0x00007fe05706ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fdfe3fff700 (LWP 17701)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe055e895e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fe0561aa341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fe0518f96aa in start_thread (arg=0x7fdfe3fff700) at pthread_create.c:333
#4  0x00007fe05706ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fdfe37fe700 (LWP 17702)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fe055e895e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007fe0561aa341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fe0518f96aa in start_thread (arg=0x7fdfe37fe700) at pthread_create.c:333
#4  0x00007fe05706ceed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fe03bb84880 (LWP 17692)):
[KCrash Handler]
#6  c4_PtrArray::GetAt (nIndex=<optimized out>, this=0x21e0390) at ../../../../akregator/plugins/mk4storage/metakit/src/univ.inl:54
#7  c4_Column::CopyData (this=this@entry=0x21e0390, to_=1879048279, from_=0, count_=count_@entry=-1879048279) at ../../../../akregator/plugins/mk4storage/metakit/src/column.cpp:310
#8  0x00007fdfc1568db8 in c4_Column::FinishSlack (this=this@entry=0x21e0390) at ../../../../akregator/plugins/mk4storage/metakit/src/column.cpp:742
#9  0x00007fdfc1568df1 in c4_Column::~c4_Column (this=0x21e0390, __in_chrg=<optimized out>) at ../../../../akregator/plugins/mk4storage/metakit/src/column.cpp:91
#10 0x00007fdfc156fddf in c4_FormatB::~c4_FormatB (this=0x21e02e0, __in_chrg=<optimized out>) at ../../../../akregator/plugins/mk4storage/metakit/src/format.cpp:325
#11 0x00007fdfc1572be3 in c4_FormatS::~c4_FormatS (this=0x21e02e0, __in_chrg=<optimized out>) at ../../../../akregator/plugins/mk4storage/metakit/src/format.cpp:879
#12 c4_FormatS::~c4_FormatS (this=0x21e02e0, __in_chrg=<optimized out>) at ../../../../akregator/plugins/mk4storage/metakit/src/format.cpp:879
#13 0x00007fdfc157350b in c4_HandlerSeq::DetachFromStorage (this=this@entry=0x21de010, full_=full_@entry=true) at ../../../../akregator/plugins/mk4storage/metakit/src/handler.cpp:185
#14 0x00007fdfc1573d64 in c4_HandlerSeq::~c4_HandlerSeq (this=0x21de010, __in_chrg=<optimized out>) at ../../../../akregator/plugins/mk4storage/metakit/src/handler.cpp:106
#15 0x00007fdfc1573e29 in c4_HandlerSeq::~c4_HandlerSeq (this=0x21de010, __in_chrg=<optimized out>) at ../../../../akregator/plugins/mk4storage/metakit/src/handler.cpp:121
#16 0x00007fdfc158a34f in Akregator::Backend::StorageMK4Impl::close (this=this@entry=0x219fa50) at ../../../../akregator/plugins/mk4storage/storagemk4impl.cpp:166
#17 0x00007fdfc158a3da in Akregator::Backend::StorageMK4Impl::~StorageMK4Impl (this=0x219fa50, __in_chrg=<optimized out>) at ../../../../akregator/plugins/mk4storage/storagemk4impl.cpp:128
#18 0x00007fdfc158a509 in Akregator::Backend::StorageMK4Impl::~StorageMK4Impl (this=0x219fa50, __in_chrg=<optimized out>) at ../../../../akregator/plugins/mk4storage/storagemk4impl.cpp:131
#19 0x00007fdfc2e9f199 in Akregator::Part::slotOnShutdown (this=this@entry=0x217af50) at ../../../akregator/src/akregator_part.cpp:358
#20 0x00007fdfc2e9f7a8 in Akregator::Part::~Part (this=this@entry=0x217af50, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../akregator/src/akregator_part.cpp:422
#21 0x00007fdfc2e9f7f9 in Akregator::Part::~Part (this=0x217af50, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../akregator/src/akregator_part.cpp:426
#22 0x00007fe059a1b16e in KontactInterface::Plugin::~Plugin() () from /usr/lib/x86_64-linux-gnu/libKF5KontactInterface.so.5
#23 0x00007fdfe19f4b56 in AkregatorPlugin::~AkregatorPlugin (this=0x1aba1e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../akregator/kontactplugin/akregator_plugin.cpp:61
#24 0x00007fdfe19f4b79 in AkregatorPlugin::~AkregatorPlugin (this=0x1aba1e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../akregator/kontactplugin/akregator_plugin.cpp:65
#25 0x00007fe059c44926 in Kontact::MainWindow::~MainWindow (this=this@entry=0x17c9420, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:298
#26 0x00007fe059c44ad9 in Kontact::MainWindow::~MainWindow (this=0x17c9420, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:300
#27 0x00007fe057b7c670 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007fe05845aedb in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007fe05856c39b in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007fe059586177 in KMainWindow::event (this=this@entry=0x17c9420, ev=ev@entry=0x78bfcb0) at ../../src/kmainwindow.cpp:821
#31 0x00007fe0595be5c5 in KXmlGuiWindow::event (this=0x17c9420, ev=0x78bfcb0) at ../../src/kxmlguiwindow.cpp:118
#32 0x00007fe058418b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007fe05841e230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007fe057b4af1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#35 0x00007fe057b4d057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007fe057ba1e73 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007fe050c7bff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fe050c7c250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fe050c7c2fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fe057ba227f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007fe057b4875a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007fe057b502cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x0000000000404af1 in main (argc=1, argv=0x7ffe9d5db3a8) at ../../../kontact/src/main.cpp:220

Reported using DrKonqi
Comment 1 Chris Samuel 2015-11-22 08:01:26 UTC
Still happening every time with Kontact 5.0.2 & KDE Frameworks 5.15.0.
Comment 2 Martin Tlustos 2016-01-15 13:47:01 UTC
Same here. Crash does not occur in kmail standalone Kubuntu 15.10, Kontact 5.0.2, Frameworks 5.15.0
Comment 3 Martin Tlustos 2016-01-15 13:48:20 UTC
Created attachment 96655 [details]
Kontact crash log
Comment 4 Chris Samuel 2016-10-13 00:37:54 UTC
Crash still happening with Kontact 5.2.3.

I've even blown away my Akonadi DB in the last month to try and fix it to no avail.
Comment 5 Erik Quaeghebeur 2018-12-10 09:47:48 UTC
Is this still happening?
Comment 6 Martin Tlustos 2018-12-10 11:58:57 UTC
Works for me in kontact 5.9.3
Comment 7 Chris Samuel 2018-12-14 05:49:51 UTC
(In reply to Erik Quaeghebeur from comment #5)

> Is this still happening?

I'm currently in the middle of moving hemispheres so my PC is in a container on a ship somewhere, but it was still happening just before it was packed away.
Comment 8 Erik Quaeghebeur 2018-12-14 07:46:48 UTC
(In reply to Chris Samuel from comment #7)
> 
> I'm currently in the middle of moving hemispheres so my PC is in a container
> on a ship somewhere, but it was still happening just before it was packed
> away.
Good travels!

Can you report back once you're settled and have the time to test a more recent version than you last reported about?
Comment 9 Chris Samuel 2019-02-11 06:16:01 UTC
(In reply to Erik Quaeghebeur from comment #8)

> Good travels!

Thank you!

> Can you report back once you're settled and have the time to test a more
> recent version than you last reported about?

OK, I've just tonight upgraded to 18.10 and installed their Kubuntu PPA backports and upgraded to their most recent Plasma and KDE packages.  So far so good!

Needs more testing than just starting and exiting 3 times, but no crashes so far.

Kontact version 5.8.3, KDE Frameworks 5.52.0

All the best,
Chris
Comment 10 Chris Samuel 2019-02-19 02:25:08 UTC
All still good - I'm closing this as fixed, thanks you!