Bug 258080 - Contact crashes when switching from calendar to mail
Summary: Contact crashes when switching from calendar to mail
Status: RESOLVED FIXED
Alias: None
Product: kdepim
Classification: Applications
Component: libkdepim (show other bugs)
Version: 4.6
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 255873 258177 259572 267441 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-27 16:29 UTC by Jaime Torres
Modified: 2012-08-23 21:51 UTC (History)
8 users (show)

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


Attachments
New crash information added by DrKonqi (5.75 KB, text/plain)
2010-12-27 11:29 UTC, Christian Trippe
Details
New crash information added by DrKonqi (6.08 KB, text/plain)
2011-03-19 14:07 UTC, S. Burmeister
Details
New crash information added by DrKonqi (12.40 KB, text/plain)
2011-05-04 15:25 UTC, S. Burmeister
Details
New crash information added by DrKonqi (4.61 KB, text/plain)
2011-05-20 11:16 UTC, Thomas Berger
Details
kontact-20110724-102907.kcrash (5.77 KB, text/plain)
2011-07-24 08:42 UTC, Fabio Rossi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2010-11-27 16:29:50 UTC
Application: kontact (4.6 beta2)
KDE Platform Version: 4.5.81 (4.6 >=20101125) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.36optimum x86_64
Distribution (Platform): openSUSE RPMs

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

Trying to reproduce bug 257336.
The backtrace is quite different. Therefore, this new bug report.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7ffc2c546710 (LWP 492)):
#0  0x00007ffc3be6a39c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffc428158d4 in ?? () from /usr/lib/qt4.5/lib/libQtWebKit.so.4
#2  0x00007ffc3be65a4f in start_thread () from /lib64/libpthread.so.0
#3  0x00007ffc3aed99fd in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffc4341b760 (LWP 491)):
[KCrash Handler]
#6  0x00007ffc412abfe4 in QMap<KPIM::ProgressItem*, bool>::detach (this=0x2d2c32312c736e99) at /usr/lib/qt4.5/include/QtCore/qmap.h:202
#7  0x00007ffc412ac029 in QMap<KPIM::ProgressItem*, bool>::remove (this=0x2d2c32312c736e99, akey=@0x7fff62c086f8) at /usr/lib/qt4.5/include/QtCore/qmap.h:660
#8  0x00007ffc412aaa17 in KPIM::ProgressItem::removeChild (this=0x2d2c32312c736e61, kiddo=0x26205f0) at /g/kde4svn/kdepim/libkdepim/progressmanager.cpp:73
#9  0x00007ffc412aaa98 in KPIM::ProgressItem::setComplete (this=0x26205f0) at /g/kde4svn/kdepim/libkdepim/progressmanager.cpp:58
#10 0x00007ffc412ac498 in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x21af1e0, instance=...) at /g/kde4svn/kdepim/libkdepim/agentprogressmonitor.cpp:85
#11 0x00007ffc412ac56a in KPIM::AgentProgressMonitor::qt_metacall (this=0x23d1000, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff62c08850)
    at /g/b451/kdepim/libkdepim/agentprogressmonitor.moc:78
#12 0x00007ffc3c2010c7 in QMetaObject::activate (sender=0x2113b60, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff62c08850)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3278
#13 0x00007ffc3f9b1ea5 in Akonadi::AgentManager::instanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>) at /g/b451/kdepimlibs/akonadi/agentmanager.moc:177
#14 0x00007ffc3f9b440d in Akonadi::AgentManager::qt_metacall (this=0x2113b60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff62c08970)
    at /g/b451/kdepimlibs/akonadi/agentmanager.moc:131
#15 0x00007ffc3c2010c7 in QMetaObject::activate (sender=0x25f9940, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff62c08970)
    at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:3278
#16 0x00007ffc3fa9ae5b in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>, _t2=0, _t3=<value optimized out>)
    at /g/b451/kdepimlibs/akonadi/agentmanagerinterface.moc:280
#17 0x00007ffc3fa9b030 in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x25f9940, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7fff62c08a90)
    at /g/b451/kdepimlibs/akonadi/agentmanagerinterface.moc:164
#18 0x00007ffc3bc05a12 in QDBusConnectionPrivate::QDBusConnectionPrivate::deliverCall (this=0x1bad1e0, object=0x25f9940, msg=..., metaTypes=..., slotIdx=12)
    at /g/kde4svn/qt/src/dbus/qdbusintegrator.cpp:930
#19 0x00007ffc3bc0f63f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at /g/kde4svn/qt/src/dbus/qdbusintegrator_p.h:103
#20 0x00007ffc3c1fff82 in QObject::event (this=0x25f9940, e=<value optimized out>) at /g/kde4svn/qt/src/corelib/kernel/qobject.cpp:1217
#21 0x00007ffc3ce5faa4 in QApplicationPrivate::notify_helper (this=0x1bb68c0, receiver=0x25f9940, e=0x34d4660) at /g/kde4svn/qt/src/gui/kernel/qapplication.cpp:4462
#22 0x00007ffc3ce64a98 in QApplication::notify (this=<value optimized out>, receiver=0x25f9940, e=0x34d4660) at /g/kde4svn/qt/src/gui/kernel/qapplication.cpp:4341
#23 0x00007ffc3db8bee6 in KApplication::notify (this=0x7fff62c09690, receiver=0x25f9940, event=0x34d4660) at /g/kde4svn/kdelibs/kdeui/kernel/kapplication.cpp:311
#24 0x00007ffc3c1ec023 in QCoreApplication::QCoreApplication::notifyInternal (this=0x7fff62c09690, receiver=0x25f9940, event=0x34d4660) at /g/kde4svn/qt/src/corelib/kernel/qcoreapplication.cpp:731
#25 0x00007ffc3c1ef78c in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x1ba8b40) at ../../include/QtCore/../../../../kde4svn/qt/src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1ba8b40) at /g/kde4svn/qt/src/corelib/kernel/qcoreapplication.cpp:1372
#27 0x00007ffc3c2165c3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../../../kde4svn/qt/src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=<value optimized out>) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#29 0x00007ffc35844f43 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#30 0x00007ffc35845720 in ?? () from /lib64/libglib-2.0.so.0
#31 0x00007ffc358459c0 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#32 0x00007ffc3c21674f in QEventDispatcherGlib::QEventDispatcherGlib::processEvents (this=0x1bb4180, flags=<value optimized out>) at /g/kde4svn/qt/src/corelib/kernel/qeventdispatcher_glib.cpp:415
#33 0x00007ffc3cf037de in QGuiEventDispatcherGlib::QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>)
    at /g/kde4svn/qt/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007ffc3c1eb432 in QEventLoop::QEventLoop::processEvents (this=<value optimized out>, flags=...) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:149
#35 0x00007ffc3c1eb674 in QEventLoop::QEventLoop::exec (this=0x7fff62c09600, flags=...) at /g/kde4svn/qt/src/corelib/kernel/qeventloop.cpp:201
#36 0x00007ffc3c1efa33 in QCoreApplication::QCoreApplication::exec () at /g/kde4svn/qt/src/corelib/kernel/qcoreapplication.cpp:1008
#37 0x000000000040419a in main (argc=1, argv=0x7fff62c09bb8) at /g/kde4svn/kdepim/kontact/src/main.cpp:217

Reported using DrKonqi
Comment 1 Christophe Marin 2010-11-29 13:54:21 UTC
*** Bug 258177 has been marked as a duplicate of this bug. ***
Comment 2 Christophe Marin 2010-11-29 13:55:43 UTC
*** Bug 255873 has been marked as a duplicate of this bug. ***
Comment 3 Christian Trippe 2010-12-27 11:29:17 UTC
Created attachment 55282 [details]
New crash information added by DrKonqi

kontact (4.6 beta3) on KDE Platform 4.5.90 (4.6 RC1) using Qt 4.7.1

Sometimes kontact crashed for me when I switch between different mail folders.

-- Backtrace (Reduced):
#7  detach (this=0x5f696481, akey=@0xbf819c54) at /usr/include/QtCore/qmap.h:202
#8  QMap<KPIM::ProgressItem*, bool>::remove (this=0x5f696481, akey=@0xbf819c54) at /usr/include/QtCore/qmap.h:660
#9  0xb4bad7dd in KPIM::ProgressItem::removeChild (this=0x5f696461, kiddo=0x8479810) at /usr/src/debug/kdepim-4.5.90.git20101225/libkdepim/progressmanager.cpp:73
#10 0xb4bad859 in KPIM::ProgressItem::setComplete (this=0x8479810) at /usr/src/debug/kdepim-4.5.90.git20101225/libkdepim/progressmanager.cpp:58
#11 0xb4baf010 in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x9e8c3b0, instance=...) at /usr/src/debug/kdepim-4.5.90.git20101225/libkdepim/agentprogressmonitor.cpp:85
Comment 4 Christophe Marin 2011-01-25 14:28:14 UTC
*** Bug 259572 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2011-03-02 14:25:19 UTC
*** Bug 267441 has been marked as a duplicate of this bug. ***
Comment 6 S. Burmeister 2011-03-19 14:07:07 UTC
Created attachment 58165 [details]
New crash information added by DrKonqi

kontact (4.6 beta4) on KDE Platform 4.6.1 (4.6.1) using Qt 4.7.2

- What I was doing when the application crashed:

I clicked on the button to start akonadi and while akonadi started-up kontact crashed.

-- Backtrace (Reduced):
#6  QMutex::lock (this=0x41) at thread/qmutex.cpp:151
#7  0x00007f00179b731e in QCoreApplication::postEvent (receiver=0x211c8c0, event=0xdb6650, priority=0) at kernel/qcoreapplication.cpp:1140
#8  0x00007f00142c2bad in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x1a029a0, instance=...) at /usr/src/debug/kdepim-4.6.40.git.1300056699/libkdepim/agentprogressmonitor.cpp:86
#9  0x00007f00142c2c8a in KPIM::AgentProgressMonitor::qt_metacall (this=0x1abfde0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcc8167c0) at /usr/src/debug/kdepim-4.6.40.git.1300056699/build/libkdepim/agentprogressmonitor.moc:78
[...]
#11 0x00007f00137e2b75 in Akonadi::AgentManager::instanceStatusChanged (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/kdepimlibs-4.6.1/build/akonadi/agentmanager.moc:177
Comment 7 S. Burmeister 2011-05-04 15:25:29 UTC
Created attachment 59612 [details]
New crash information added by DrKonqi

kontact (4.6 beta5) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

When switching folders while akonadi was working in the background indexing and filtering kontact crashed.

-- Backtrace (Reduced):
#6  detach (this=0x7700470035006f, akey=@0x7fffbc6b53f8) at /usr/include/QtCore/qmap.h:202
#7  QMap<KPIM::ProgressItem*, bool>::remove (this=0x7700470035006f, akey=@0x7fffbc6b53f8) at /usr/include/QtCore/qmap.h:660
#8  0x00007feb1a83861b in KPIM::ProgressItem::removeChild (this=0x77004700350037, kiddo=0x86e6640) at /usr/src/debug/kdepim-4.6.40.git.1302464593/libkdepim/progressmanager.cpp:73
#9  0x00007feb1a838681 in KPIM::ProgressItem::setComplete (this=0x86e6640) at /usr/src/debug/kdepim-4.6.40.git.1302464593/libkdepim/progressmanager.cpp:58
#10 0x00007feb1a839bad in KPIM::AgentProgressMonitor::Private::instanceStatusChanged (this=0x8807420, instance=...) at /usr/src/debug/kdepim-4.6.40.git.1302464593/libkdepim/agentprogressmonitor.cpp:86
Comment 8 Thomas Berger 2011-05-20 11:16:36 UTC
Created attachment 60177 [details]
New crash information added by DrKonqi

kontact (4.6 beta5) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
Just started Kontact as every morning at work.

Right after start, the CPU-Usage on one core jumped to 100%, after a few minutes, kontact crashed

-- Backtrace (Reduced):
#6  0x00007ff0fe998b62 in KPIM::ProgressItem::removeChild(KPIM::ProgressItem*) () from /usr/lib64/libkdepim.so.4
#7  0x00007ff0fe998cb1 in KPIM::ProgressItem::setComplete() () from /usr/lib64/libkdepim.so.4
#8  0x00007ff0fe99a73d in KPIM::AgentProgressMonitor::Private::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib64/libkdepim.so.4
#9  0x00007ff0fe99a8d2 in KPIM::AgentProgressMonitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdepim.so.4
[...]
#11 0x00007ff0fc9bbc65 in Akonadi::AgentManager::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib64/libakonadi-kde.so.4
Comment 9 Fabio Rossi 2011-07-24 08:42:29 UTC
Created attachment 62132 [details]
kontact-20110724-102907.kcrash

another backtrace
Comment 10 Allen Winter 2011-11-17 22:20:06 UTC
Git commit f8c0f7eed9fa980ad31856d28266c2612e994cf0 by Allen Winter.
Committed on 17/11/2011 at 23:16.
Pushed by winterz into branch 'master'.

add a crash and sanity check in removeChild() in case the child map
is empty or the specified item to remove is not in the map.

might fix bug 258080.
but can't know for sure since I can't reproduce.
appreciate testing by those affected by the crash.

CCBUG: 258080

M  +11   -2    libkdepim/progressmanager.cpp

http://commits.kde.org/kdepim/f8c0f7eed9fa980ad31856d28266c2612e994cf0
Comment 11 Allen Winter 2011-11-23 20:54:09 UTC
Git commit 990d78f120070cc24a9eaee794191853d52ea68a by Allen Winter.
Committed on 17/11/2011 at 23:16.
Pushed by winterz into branch 'KDE/4.7'.

add a crash and sanity check in removeChild() in case the child map
is empty or the specified item to remove is not in the map.

might fix bug 258080.
but can't know for sure since I can't reproduce.
appreciate testing by those affected by the crash.

CCBUG: 258080
(cherry picked from commit f8c0f7eed9fa980ad31856d28266c2612e994cf0)

M  +11   -2    libkdepim/progressmanager.cpp

http://commits.kde.org/kdepim/990d78f120070cc24a9eaee794191853d52ea68a
Comment 12 Allen Winter 2012-08-22 19:41:46 UTC
I haven't seen any crashes related to the progess manager in a long time.

I recall Laurent made some fixes too.

Anyone mind if we resolve this one?
Comment 13 Allen Winter 2012-08-23 21:51:16 UTC
no new reports in a long time. no responses in a long time.
=> resolving