Bug 276587 - Kmail crashes after finding duplicate mail
Summary: Kmail crashes after finding duplicate mail
Status: RESOLVED DUPLICATE of bug 276875
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:
Depends on:
Blocks:
 
Reported: 2011-06-27 04:33 UTC by Leon Maurer
Modified: 2011-07-05 20:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.82 KB, text/plain)
2011-06-29 00:34 UTC, Leon Maurer
Details
New crash information added by DrKonqi (8.30 KB, text/plain)
2011-06-30 12:35 UTC, Malcolm Lashley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leon Maurer 2011-06-27 04:33:11 UTC
Application: kontact (4.6.0)
KDE Platform Version: 4.6.4 (4.6.4)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

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

Frequently when I use kmail, I've been getting pop-ups from kmail about duplicate emails. It shows the emails side by side and asks if I want to keep the left one, the right one, or both. Sometimes these don't seem to be duplicates, and I don't see why it's having problems with duplicates so frequently. Anyhow, I clicked the "keep both" button and then kmail crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f4a545d67a0 (LWP 1816))]

Thread 3 (Thread 0x7f4a3c58e700 (LWP 1817)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4a51029832 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f4a4ca9cd8c in start_thread (arg=0x7f4a3c58e700) at pthread_create.c:304
#3  0x00007f4a51bad04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4a314de700 (LWP 1830)):
#0  0x00007f4a51b9ff03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4a4c5d1104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4a4c5d1639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4a522e7446 in QEventDispatcherGlib::processEvents (this=0x1008000, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4a522bb882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4a522bbabc in QEventLoop::exec (this=0x7f4a314dddb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4a521d2924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4a5229dc2f in QInotifyFileSystemWatcherEngine::run (this=0x15f3b30) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4a521d5175 in QThreadPrivate::start (arg=0x15f3b30) at thread/qthread_unix.cpp:320
#9  0x00007f4a4ca9cd8c in start_thread (arg=0x7f4a314de700) at pthread_create.c:304
#10 0x00007f4a51bad04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4a545d67a0 (LWP 1816)):
[KCrash Handler]
#6  detach (this=0x66006e006f009b, akey=@0x7fffa2866a48) at /usr/include/qt4/QtCore/qmap.h:202
#7  QMap<KPIM::ProgressItem*, bool>::remove (this=0x66006e006f009b, akey=@0x7fffa2866a48) at /usr/include/qt4/QtCore/qmap.h:660
#8  0x00007f4a4f86301b in KPIM::ProgressItem::removeChild (this=0x66006e006f0063, kiddo=0x37e8cc0) at ../../libkdepim/progressmanager.cpp:73
#9  0x00007f4a4f863081 in KPIM::ProgressItem::setComplete (this=0x37e8cc0) at ../../libkdepim/progressmanager.cpp:58
#10 0x00007f4a4f8644ad in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x1e312b0, instance=...) at ../../libkdepim/agentprogressmonitor.cpp:86
#11 0x00007f4a4f86458a in KPIM::AgentProgressMonitor::qt_metacall (this=0x333b8b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa2866b80) at ./agentprogressmonitor.moc:78
#12 0x00007f4a522d15f8 in QMetaObject::activate (sender=0x123b7b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa2866b80) at kernel/qobject.cpp:3287
#13 0x00007f4a4ed16625 in Akonadi::AgentManager::instanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>) at ./agentmanager.moc:177
#14 0x00007f4a4ed1ad7f in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged (this=0x123c0a0, identifier=<value optimized out>, status=0, msg=...) at ../../akonadi/agentmanager.cpp:129
#15 0x00007f4a4ed1d25e in Akonadi::AgentManager::qt_metacall (this=0x123b7b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa2866cf0) at ./agentmanager.moc:131
#16 0x00007f4a522d15f8 in QMetaObject::activate (sender=0x1173150, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffa2866cf0) at kernel/qobject.cpp:3287
#17 0x00007f4a4ee39e6b in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=<value optimized out>) at agentmanagerinterface.moc:285
#18 0x00007f4a4ee3a301 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x1173150, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fffa28675c0) at agentmanagerinterface.moc:167
#19 0x00007f4a4f0e39fa in QDBusConnectionPrivate::deliverCall (this=0xac8260, object=0x1173150, msg=..., metaTypes=..., slotIdx=12) at qdbusintegrator.cpp:942
#20 0x00007f4a4f0ede4f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#21 0x00007f4a522d049a in QObject::event (this=0x1173150, e=<value optimized out>) at kernel/qobject.cpp:1226
#22 0x00007f4a52c7b9e4 in QApplicationPrivate::notify_helper (this=0xad4e60, receiver=0x1173150, e=0x32b5dd0) at kernel/qapplication.cpp:4462
#23 0x00007f4a52c803aa in QApplication::notify (this=<value optimized out>, receiver=0x1173150, e=0x32b5dd0) at kernel/qapplication.cpp:4341
#24 0x00007f4a5399b716 in KApplication::notify (this=0x7fffa2868010, receiver=0x1173150, event=0x32b5dd0) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f4a522bc49c in QCoreApplication::notifyInternal (this=0x7fffa2868010, receiver=0x1173150, event=0x32b5dd0) at kernel/qcoreapplication.cpp:731
#26 0x00007f4a522bfc25 in sendEvent (receiver=0x0, event_type=0, data=0xa80d40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa80d40) at kernel/qcoreapplication.cpp:1372
#28 0x00007f4a522e7253 in sendPostedEvents (s=0xae11c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=0xae11c0) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f4a4c5d0bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f4a4c5d13a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f4a4c5d1639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f4a522e73ef in QEventDispatcherGlib::processEvents (this=0xa80520, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#34 0x00007f4a52d22dfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f4a522bb882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f4a522bbabc in QEventLoop::exec (this=0x7fffa2867fa0, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f4a522bfecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0x0000000000403ff8 in main (argc=1, argv=<value optimized out>) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 275757, bug 269123, bug 260792, bug 258177, bug 258080.

Reported using DrKonqi
Comment 1 Leon Maurer 2011-06-29 00:34:48 UTC
Created attachment 61432 [details]
New crash information added by DrKonqi

kontact (4.6.0) on KDE Platform 4.6.4 (4.6.4) using Qt 4.7.2

- What I was doing when the application crashed:

Same thing as before: a dialog box asked me what to do with duplicate email. I told it to keep both. It crashed.

-- Backtrace (Reduced):
#6  operator!= (this=<value optimized out>, akey=@0x7fff06595a58) at /usr/include/qt4/QtCore/qbasicatomic.h:75
#7  detach (this=<value optimized out>, akey=@0x7fff06595a58) at /usr/include/qt4/QtCore/qmap.h:202
#8  QMap<KPIM::ProgressItem*, bool>::remove (this=<value optimized out>, akey=@0x7fff06595a58) at /usr/include/qt4/QtCore/qmap.h:660
#9  0x00007ff35162a01b in KPIM::ProgressItem::removeChild (this=0x8f3df60, kiddo=0xadae110) at ../../libkdepim/progressmanager.cpp:73
#10 0x00007ff35162a081 in KPIM::ProgressItem::setComplete (this=0xadae110) at ../../libkdepim/progressmanager.cpp:58
Comment 2 Malcolm Lashley 2011-06-30 12:35:43 UTC
Created attachment 61480 [details]
New crash information added by DrKonqi

kontact (4.6.0) on KDE Platform 4.6.4 (4.6.4) using Qt 4.7.3

- What I was doing when the application crashed:
kmail2 was happily running in the background, no user interaction, and then it popped up the 'found a duplicate' dialog. I clicked 'keep left' and the application crashed.

I have seen this dialog before whilst using kmail2, but this is the first time the application crashed directly after using it.

FWIW (I think it's unrelated, but I don't understand the duplicates) the remote IMAP server version is as follows.)
Name        : dovecot                      Relocations: (not relocatable)
Version     : 1.2.17                            Vendor: ATrpms.net
Release     : 0_115.el4                     Build Date: Tue 17 May 2011 11:15:05 AM BST

-- Backtrace (Reduced):
#6  detach (this=0x200065006e0087, akey=@0x7fffc054f4f8) at /usr/include/qt4/QtCore/qmap.h:202
#7  QMap<KPIM::ProgressItem*, bool>::remove (this=0x200065006e0087, akey=@0x7fffc054f4f8) at /usr/include/qt4/QtCore/qmap.h:660
#8  0x00007fdf6369f69b in KPIM::ProgressItem::removeChild (this=0x200065006e004f, kiddo=0x2cc3b40) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/libkdepim/progressmanager.cpp:73
#9  0x00007fdf6369f701 in KPIM::ProgressItem::setComplete (this=0x2cc3b40) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/libkdepim/progressmanager.cpp:58
#10 0x00007fdf636a0b7d in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x2b4f270, instance=...) at /var/tmp/portage/kde-base/kdepim-common-libs-4.6.0/work/kdepim-common-libs-4.6.0/libkdepim/agentprogressmonitor.cpp:86
Comment 3 Christophe Marin 2011-07-05 20:57:49 UTC

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