Bug 290479 - Kontact stops working on bulk requets and dies on closing
Summary: Kontact stops working on bulk requets and dies on closing
Status: RESOLVED DUPLICATE of bug 289693
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-03 10:24 UTC by Thomas Berger
Modified: 2012-01-04 13:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (5.71 KB, text/plain)
2012-01-03 14:35 UTC, Thomas Berger
Details
New crash information added by DrKonqi (8.39 KB, text/plain)
2012-01-04 10:46 UTC, Elias Probst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Berger 2012-01-03 10:24:30 UTC
Application: kontact (4.8 rc1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.1.5-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
I tried to delete/move/filter many mails

- Unusual behavior I noticed:
Kontact stopped respondig. If i close contact the attached error occurs.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f8fb09f0760 (LWP 1948))]

Thread 5 (Thread 0x7f8f97c1f700 (LWP 1949)):
#0  0x00007f8faac1e44c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8fb00154a4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007f8faac19c5c in start_thread () from /lib64/libpthread.so.0
#3  0x00007f8fa906bfcd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f8f9731e700 (LWP 1950)):
#0  0x00007f8fa9063353 in poll () from /lib64/libc.so.6
#1  0x00007f8fa83fb584 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8fa83fba41 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8faafbc026 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f8faaf90422 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007f8faaf90664 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6  0x00007f8faaea6744 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f8faaea8f95 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f8faac19c5c in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8fa906bfcd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f8f8933f700 (LWP 1975)):
#0  0x00007f8faac1e7cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8faaea95e1 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f8faae9e0b7 in QThreadPoolThread::run() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f8faaea8f95 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f8faac19c5c in start_thread () from /lib64/libpthread.so.0
#5  0x00007f8fa906bfcd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8f8d951700 (LWP 1977)):
#0  0x00007f8faac1e7cb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f8faaea95e1 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f8faae9e0b7 in QThreadPoolThread::run() () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f8faaea8f95 in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f8faac19c5c in start_thread () from /lib64/libpthread.so.0
#5  0x00007f8fa906bfcd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8fb09f0760 (LWP 1948)):
[KCrash Handler]
#6  0x00007f8fa8fc7a55 in raise () from /lib64/libc.so.6
#7  0x00007f8fa8fc8d55 in abort () from /lib64/libc.so.6
#8  0x00007f8fa9002972 in __libc_message () from /lib64/libc.so.6
#9  0x00007f8fa9007df5 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007f8fae027cc0 in void qDeleteAll<QList<Node*>::const_iterator>(QList<Node*>::const_iterator, QList<Node*>::const_iterator) () from /usr/lib64/libakonadi-kde.so.4
#11 0x00007f8fae0273d2 in Akonadi::EntityTreeModel::~EntityTreeModel() () from /usr/lib64/libakonadi-kde.so.4
#12 0x00007f8fae0274a9 in Akonadi::EntityTreeModel::~EntityTreeModel() () from /usr/lib64/libakonadi-kde.so.4
#13 0x00007f8faafa3a64 in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f8faafa8562 in QObject::~QObject() () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f8f915de2be in KMKernel::~KMKernel() () from /usr/lib64/libkmailprivate.so.4
#16 0x00007f8f915de3e9 in KMKernel::~KMKernel() () from /usr/lib64/libkmailprivate.so.4
#17 0x00007f8f91966017 in KMailPart::~KMailPart() () from /usr/lib64/kde4/kmailpart.so
#18 0x00007f8f91966109 in KMailPart::~KMailPart() () from /usr/lib64/kde4/kmailpart.so
#19 0x00007f8fae8d9ffe in KontactInterface::Plugin::~Plugin() () from /usr/lib64/libkontactinterface.so.4
#20 0x00007f8f92943c10 in KMailPlugin::~KMailPlugin() () from /usr/lib64/kde4/kontact_kmailplugin.so
#21 0x00007f8f92943c49 in KMailPlugin::~KMailPlugin() () from /usr/lib64/kde4/kontact_kmailplugin.so
#22 0x00007f8faed1228e in Kontact::MainWindow::~MainWindow() () from /usr/lib64/libkontactprivate.so.4
#23 0x00007f8faed123e9 in Kontact::MainWindow::~MainWindow() () from /usr/lib64/libkontactprivate.so.4
#24 0x00007f8faafa5378 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f8fa9f3139d in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f8faa2d8c2b in QMainWindow::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f8fabafdb50 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007f8fa9ee0084 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007f8fa9ee4bfa in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f8faba007d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#31 0x00007f8faaf9107b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007f8faaf94834 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007f8faafbbe33 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f8fa83fb072 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f8fa83fb868 in g_main_context_iterate.clone.6 () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f8fa83fba41 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f8faafbbfcf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#38 0x00007f8fa9f8577e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#39 0x00007f8faaf90422 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#40 0x00007f8faaf90664 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#41 0x00007f8faaf94aeb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#42 0x00000000004045cf in main ()

Reported using DrKonqi
Comment 1 Thomas Berger 2012-01-03 14:35:01 UTC
Created attachment 67385 [details]
New crash information added by DrKonqi

kontact (4.8 rc1) on KDE Platform 4.7.95 (4.8 RC1 (4.7.95) using Qt 4.7.4

I have now seen a different symptom for the error:
- After moving or deleting messages, i get the wrong content is shown for marked messages.

If i have for example the following messages in my inbox:
- MailA
- MailB
- MailC
- MailD

If i delete MailB, MailD will show the content auf MailC.

-- Backtrace (Reduced):
#10 0x00007f2a35bedcc0 in void qDeleteAll<QList<Node*>::const_iterator>(QList<Node*>::const_iterator, QList<Node*>::const_iterator) () from /usr/lib64/libakonadi-kde.so.4
#11 0x00007f2a35bed3d2 in Akonadi::EntityTreeModel::~EntityTreeModel() () from /usr/lib64/libakonadi-kde.so.4
#12 0x00007f2a35bed4a9 in Akonadi::EntityTreeModel::~EntityTreeModel() () from /usr/lib64/libakonadi-kde.so.4
#13 0x00007f2a32b69a64 in QObjectPrivate::deleteChildren() () from /usr/lib64/qt4/libQtCore.so.4
#14 0x00007f2a32b6e562 in QObject::~QObject() () from /usr/lib64/qt4/libQtCore.so.4
Comment 2 Elias Probst 2012-01-04 10:46:29 UTC
Created attachment 67446 [details]
New crash information added by DrKonqi

kontact (4.8 rc1) on KDE Platform 4.7.95 (4.8 RC1 (4.7.95) using Qt 4.7.4

- What I was doing when the application crashed:

Same here. Kontact crashed when I closing it after selecting multiple mails in KMail and deleting them all at once (only using Del, not Shift+Del).

The problem with the messed up index (content of wrong mail is shown after deleting a mail) happened here also 2 or 3 times before, but I don't know whether it also happened right now before this crash.

-- Backtrace (Reduced):
#9  0x00007f6702152d0e in malloc_printerr (action=3, str=0x7f670221e984 "free(): invalid pointer", ptr=<optimized out>) at malloc.c:6283
#10 0x00007f66ff418117 in qDeleteAll<QList<Node*>::const_iterator> (begin=..., end=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#11 0x00007f66ff41792a in qDeleteAll<QList<Node*> > (c=<optimized out>) at /usr/include/qt4/QtCore/qalgorithms.h:330
#12 Akonadi::EntityTreeModel::~EntityTreeModel (this=0xd23500, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.7.95/work/kdepimlibs-4.7.95/akonadi/entitytreemodel.cpp:79
#13 0x00007f66ff4179e5 in Akonadi::EntityTreeModel::~EntityTreeModel (this=0xd23500, __in_chrg=<optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.7.95/work/kdepimlibs-4.7.95/akonadi/entitytreemodel.cpp:83
Comment 3 Christophe Marin 2012-01-04 13:12:43 UTC

*** This bug has been marked as a duplicate of bug 289693 ***