Bug 354832 - akkregator crash when Kontact is closed
Summary: akkregator crash when Kontact is closed
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-11-04 13:26 UTC by Julian Schmidt
Modified: 2018-02-01 09:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.79 KB, text/plain)
2015-11-12 06:50 UTC, Igor Murzich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Schmidt 2015-11-04 13:26:58 UTC
Application: kontact (5.0.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-16-generic x86_64
Distribution: Ubuntu 15.10

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

- Unusual behavior I noticed:
read rss messages were not marked as read on opening before I closed kontact.
this happens about once a day, or once evry 2 days since the update to kubuntu 15.10.
akkregator seems out of sync. messages are not being marked as read. The number of new messages shown in a feed does not correspond to the actual number of unread messages in the feed. when kontact is closed -> crash. often even with a corrupted feed list after a restart.

The crash can be reproduced sometimes.

-- 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 0x7f876abc2880 (LWP 2951))]

Thread 7 (Thread 0x7f876621d700 (LWP 2953)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f878644f48b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f878644f4c9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f8781bce6aa in start_thread (arg=0x7f876621d700) at pthread_create.c:333
#4  0x00007f8787341eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f871ebd3700 (LWP 2954)):
#0  0x00007f87873368dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8780f511ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8780f512fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8787e7729b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f8787e1d75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f8787c3b3d4 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f8787c402be in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f8781bce6aa in start_thread (arg=0x7f871ebd3700) at pthread_create.c:333
#8  0x00007f8787341eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f871e1da700 (LWP 2955)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f878615d5b4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f878647f341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f8781bce6aa in start_thread (arg=0x7f871e1da700) at pthread_create.c:333
#4  0x00007f8787341eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f871d9ba700 (LWP 2956)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f878615e5e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f878647f341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f8781bce6aa in start_thread (arg=0x7f871d9ba700) at pthread_create.c:333
#4  0x00007f8787341eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f871d1b9700 (LWP 2957)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f878615e5e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f878647f341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f8781bce6aa in start_thread (arg=0x7f871d1b9700) at pthread_create.c:333
#4  0x00007f8787341eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f871c9b8700 (LWP 2958)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f878615e5e3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#2  0x00007f878647f341 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007f8781bce6aa in start_thread (arg=0x7f871c9b8700) at pthread_create.c:333
#4  0x00007f8787341eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f876abc2880 (LWP 2951)):
[KCrash Handler]
#6  QString::QString (other=..., this=this@entry=0x7ffc98479020) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:811
#7  Akregator::SearchBar::text (this=0x2977460) at ../../../akregator/src/searchbar.cpp:125
#8  0x00007f86fd565f4f in Akregator::MainWidget::saveProperties (this=0x25be6e0, config=...) at ../../../akregator/src/mainwidget.cpp:1183
#9  0x00007f86fd5600b4 in Akregator::Part::autoSaveProperties (this=this@entry=0x2402960) at ../../../akregator/src/akregator_part.cpp:871
#10 0x00007f86fd560149 in Akregator::Part::slotOnShutdown (this=this@entry=0x2402960) at ../../../akregator/src/akregator_part.cpp:349
#11 0x00007f86fd5607a8 in Akregator::Part::~Part (this=this@entry=0x2402960, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../akregator/src/akregator_part.cpp:422
#12 0x00007f86fd5607f9 in Akregator::Part::~Part (this=0x2402960, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../akregator/src/akregator_part.cpp:426
#13 0x00007f8787e5078a in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f8787e5102f in QObject::destroyed(QObject*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f878872c265 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007f86fd569609 in Akregator::MainWidget::~MainWidget (this=0x25be6e0, __in_chrg=<optimized out>) at ../../../akregator/src/mainwidget.cpp:96
#17 0x00007f8787e4ed2b in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f878872c2c7 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f87888863e9 in QStackedWidget::~QStackedWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f8787e4ed2b in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f878872c2c7 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007f8788885c99 in QSplitter::~QSplitter() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f8787e4ed2b in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007f878872c2c7 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f878872c489 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007f8787e4ed2b in QObjectPrivate::deleteChildren() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f878872c2c7 in QWidget::~QWidget() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007f8789858d20 in KMainWindow::~KMainWindow (this=0x902e70, __in_chrg=<optimized out>) at ../../src/kmainwindow.cpp:349
#29 0x00007f8789f199e5 in Kontact::MainWindow::~MainWindow (this=this@entry=0x902e70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:271
#30 0x00007f8789f19ad9 in Kontact::MainWindow::~MainWindow (this=0x902e70, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../kontact/src/mainwindow.cpp:300
#31 0x00007f8787e51670 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f878872fedb in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007f878884139b in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007f878985b177 in KMainWindow::event (this=this@entry=0x902e70, ev=ev@entry=0x7789a30) at ../../src/kmainwindow.cpp:821
#35 0x00007f87898935c5 in KXmlGuiWindow::event (this=0x902e70, ev=0x7789a30) at ../../src/kxmlguiwindow.cpp:118
#36 0x00007f87886edb8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007f87886f3230 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007f8787e1ff1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007f8787e22057 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#40 0x00007f8787e76e73 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007f8780f50ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f8780f51250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f8780f512fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f8787e7727f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007f8787e1d75a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007f8787e252cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#47 0x0000000000404af1 in main (argc=1, argv=0x7ffc9847a1c8) at ../../../kontact/src/main.cpp:220

Possible duplicates by query: bug 353509, bug 352512.

Reported using DrKonqi
Comment 1 Igor Murzich 2015-11-12 06:50:07 UTC
Created attachment 95451 [details]
New crash information added by DrKonqi

kontact (5.0.2) using Qt 5.4.2

I read RSS feeds and E-Mail. When I read RSS I opened links in the external browser. After this, when I closed Kontact the error occured.

-- Backtrace (Reduced):
#6  QString::QString (other=..., this=this@entry=0x7fffb4bb8b10) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:811
#7  Akregator::SearchBar::text (this=0x2b7b8b0) at ../../../akregator/src/searchbar.cpp:125
#8  0x00007f80f1189f4f in Akregator::MainWidget::saveProperties (this=0x2b507a0, config=...) at ../../../akregator/src/mainwidget.cpp:1183
#9  0x00007f80f11840b4 in Akregator::Part::autoSaveProperties (this=this@entry=0x2b26b50) at ../../../akregator/src/akregator_part.cpp:871
#10 0x00007f80f1184149 in Akregator::Part::slotOnShutdown (this=this@entry=0x2b26b50) at ../../../akregator/src/akregator_part.cpp:349
Comment 2 Laurent Montel 2015-11-12 21:16:20 UTC
Git commit 0cdf18e32555b8fe63ebe3a752a5a3c3df9afbc2 by Montel Laurent.
Committed on 12/11/2015 at 21:15.
Pushed by mlaurent into branch 'master'.

Try to fix Bug 354832 - akkregator crash when Kontact is closed

M  +6    -3    akregator/src/akregator_part.cpp
M  +1    -1    akregator/src/akregator_part.h

http://commits.kde.org/kdepim/0cdf18e32555b8fe63ebe3a752a5a3c3df9afbc2
Comment 3 Denis Kurz 2017-06-23 20:20:29 UTC
This bug has never been confirmed for a Kontact version that is based on KDE Frameworks, except possibly a Technology Preview version 5.0.x. Those 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 4 Denis Kurz 2018-02-01 09:55:52 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.