Bug 276186 - Crash on startup while loading mail
Summary: Crash on startup while loading mail
Status: RESOLVED DUPLICATE of bug 265076
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.1.0
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-21 12:59 UTC by Arne Babenhauserheide
Modified: 2011-08-02 20:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.51 KB, text/plain)
2011-06-25 15:42 UTC, Arne Babenhauserheide
Details
New crash information added by DrKonqi (4.94 KB, text/plain)
2011-06-27 12:41 UTC, Arne Babenhauserheide
Details
valgrind report (41.72 KB, text/plain)
2011-06-27 13:34 UTC, Arne Babenhauserheide
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Babenhauserheide 2011-06-21 12:59:41 UTC
Application: kmail (2.1.0)
KDE Platform Version: 4.6.4 (4.6.4) (Compiled from sources)
Qt Version: 4.7.3
Operating System: Linux 2.6.36-gentoo-r5 x86_64
Distribution: "Gentoo Base System release 2.0.3"

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

I started kmail. It took a few minutes while loading mail (blocked GUI), then it crashed. 

It does not crash every time, but I did not find out when it crashes.

Before this crash it had worked without problems, then I used quit and restarted a few minutes later. That second start (after the clean quit) le to the crash.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fcd97e7f760 (LWP 18387))]

Thread 2 (Thread 0x7fcd78bed700 (LWP 18401)):
#0  0x00007fcd9257e85c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fcd891229dd in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00007fcd89122b09 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x00007fcd92579dba in start_thread () from /lib64/libpthread.so.0
#4  0x00007fcd9514b06d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fcd97e7f760 (LWP 18387)):
[KCrash Handler]
#6  0x00007fcd8e581fce in KPIM::ProgressItem::removeChild(KPIM::ProgressItem*) () from /usr/lib64/libkdepim.so.4
#7  0x00007fcd8e582131 in KPIM::ProgressItem::setComplete() () from /usr/lib64/libkdepim.so.4
#8  0x00007fcd8e583ba7 in KPIM::AgentProgressMonitor::Private::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib64/libkdepim.so.4
#9  0x00007fcd8e583cc2 in KPIM::AgentProgressMonitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdepim.so.4
#10 0x00007fcd95a94487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007fcd90b3cba5 in Akonadi::AgentManager::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib64/libakonadi-kde.so.4
#12 0x00007fcd90b42808 in Akonadi::AgentManagerPrivate::agentInstanceStatusChanged(QString const&, int, QString const&) () from /usr/lib64/libakonadi-kde.so.4
#13 0x00007fcd90b42fb3 in Akonadi::AgentManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libakonadi-kde.so.4
#14 0x00007fcd95a94487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007fcd90c5657b in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceStatusChanged(QString const&, int, QString const&) () from /usr/lib64/libakonadi-kde.so.4
#16 0x00007fcd90c56baf in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libakonadi-kde.so.4
#17 0x00007fcd927b67a9 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) () from /usr/lib64/qt4/libQtDBus.so.4
#18 0x00007fcd927c053f in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib64/qt4/libQtDBus.so.4
#19 0x00007fcd95a8e5ae in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007fcd95f7b20c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007fcd95f806cd in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fcd978b01a8 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#23 0x00007fcd95a7c86b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fcd95a7f7e9 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fcd95aa8d33 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x00007fcd8cc69c39 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fcd8cc6e178 in g_main_context_iterate () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fcd8cc6e31e in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fcd95aa881e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007fcd9602da66 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007fcd95a7b5b2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007fcd95a7b97d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007fcd95a7f9fb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00000000004032d0 in main ()

Possible duplicates by query: bug 268807, bug 265076, bug 264662, bug 261487.

Reported using DrKonqi
Comment 1 Arne Babenhauserheide 2011-06-25 15:42:07 UTC
Created attachment 61323 [details]
New crash information added by DrKonqi

kmail (2.1.0) on KDE Platform 4.6.4 (4.6.4) using Qt 4.7.3

- What I was doing when the application crashed:

It crashed again on starting up, after shutting it down with quit beforehand.

-- Backtrace (Reduced):
#6  0x00007f8b9284cfce in KPIM::ProgressItem::removeChild(KPIM::ProgressItem*) () from /usr/lib64/libkdepim.so.4
#7  0x00007f8b9284d131 in KPIM::ProgressItem::setComplete() () from /usr/lib64/libkdepim.so.4
#8  0x00007f8b9284eba7 in KPIM::AgentProgressMonitor::Private::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib64/libkdepim.so.4
#9  0x00007f8b9284ecc2 in KPIM::AgentProgressMonitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdepim.so.4
[...]
#11 0x00007f8b94e07ba5 in Akonadi::AgentManager::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib64/libakonadi-kde.so.4
Comment 2 Arne Babenhauserheide 2011-06-27 12:41:55 UTC
Created attachment 61365 [details]
New crash information added by DrKonqi

kmail (2.1.0) on KDE Platform 4.6.4 (4.6.4) using Qt 4.7.3

- What I was doing when the application crashed:

On startup it begins getting mail, then it starts filtering and shows many messages that there where mails it could not read from the folder. 

After filtering, it dies.

Trying to abort the filtering did not help (and did not work: it said “aborting” in the progress indicator (bottom right), but then started the filtering and died nontheless). 

I had some disk-full errors some time ago, so this might be related.

PS: Dr. Konqui to append to the bugreport is extremely useful. I hope my reports help…

-- Backtrace (Reduced):
#6  0x00007f4b9768cfd2 in KPIM::ProgressItem::removeChild(KPIM::ProgressItem*) () from /usr/lib64/libkdepim.so.4
#7  0x00007f4b9768d131 in KPIM::ProgressItem::setComplete() () from /usr/lib64/libkdepim.so.4
#8  0x00007f4b9768eba7 in KPIM::AgentProgressMonitor::Private::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib64/libkdepim.so.4
#9  0x00007f4b9768ecc2 in KPIM::AgentProgressMonitor::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkdepim.so.4
[...]
#11 0x00007f4b99c48ba5 in Akonadi::AgentManager::instanceStatusChanged(Akonadi::AgentInstance const&) () from /usr/lib64/libakonadi-kde.so.4
Comment 3 Arne Babenhauserheide 2011-06-27 13:34:59 UTC
Created attachment 61367 [details]
valgrind report

valgrind report (because that was asked for in bug 265076 ): 

valgrind kmail --nofork &> report
Comment 4 Laurent Montel 2011-07-27 10:56:49 UTC
fixed in 4.7/master
Comment 5 Arne Babenhauserheide 2011-07-27 11:19:24 UTC
Many thanks!
Comment 6 Christophe Marin 2011-08-02 20:30:12 UTC

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