Bug 255251 - All akonadi applications crash every couple of seconds
Summary: All akonadi applications crash every couple of seconds
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 2.0.89
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-25 20:24 UTC by Peter Grasch
Modified: 2010-12-23 14:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Grasch 2010-10-25 20:24:27 UTC
Application: kmail (2.0.89)
KDE Platform Version: 4.5.73 (4.6 >= 20101019) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-gentoo-r10 x86_64
Distribution: "Gentoo Base System release 2.0.1"

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

I just set up the IMAP resource for my server (I use two independent servers and it happens with both of them). When I select a folder on the left, KMail crashes.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f313848b710 (LWP 4461)):
#0  0x0000003002e0b59c in pthread_cond_wait () from /lib/libpthread.so.0
#1  0x00000030256a03cd in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/qt4/libQtWebKit.so.4
#2  0x00000030256a04d9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/qt4/libQtWebKit.so.4
#3  0x0000003002e06c1a in start_thread () from /lib/libpthread.so.0
#4  0x00000030026d1a9d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f3136e7f710 (LWP 4462)):
#0  0x00000030026cb1d3 in select () from /lib/libc.so.6
#1  0x0000003007b48dec in QProcessManager::run() () from /usr/lib64/qt4/libQtCore.so.4
#2  0x0000003007a7ae3e in QThreadPrivate::start(void*) () from /usr/lib64/qt4/libQtCore.so.4
#3  0x0000003002e06c1a in start_thread () from /lib/libpthread.so.0
#4  0x00000030026d1a9d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f313de6d760 (LWP 4447)):
[KCrash Handler]
#6  0x00007f3144ec504a in assignEntityPrivate(QSharedDataPointer<Akonadi::EntityPrivate>&, QSharedDataPointer<Akonadi::EntityPrivate> const&) () from /usr/lib/libakonadi-kde.so.4
#7  0x00007f3144ec5154 in Akonadi::Entity::Entity(Akonadi::Entity const&) () from /usr/lib/libakonadi-kde.so.4
#8  0x00007f3144f31d0e in Akonadi::EntityTreeModelPrivate::ancestorsFetched(QList<Akonadi::Collection> const&) () from /usr/lib/libakonadi-kde.so.4
#9  0x00007f3144f26e72 in Akonadi::EntityTreeModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#10 0x0000003007b8427f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007f3144ef7e72 in Akonadi::CollectionFetchJob::collectionsReceived(QList<Akonadi::Collection> const&) () from /usr/lib/libakonadi-kde.so.4
#12 0x00007f3144efa2d5 in Akonadi::CollectionFetchJobPrivate::timeout() () from /usr/lib/libakonadi-kde.so.4
#13 0x00007f3144ef869d in Akonadi::CollectionFetchJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#14 0x0000003007b8427f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f3146db5d82 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#16 0x00007f3146db6020 in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#17 0x00007f3144f6f109 in Akonadi::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#18 0x00007f3144ef8640 in Akonadi::CollectionFetchJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libakonadi-kde.so.4
#19 0x0000003007b7e32e in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00000030095c6c5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00000030095cc7cd in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f31473ccbf6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#23 0x0000003007b6c6db in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x0000003007b6f5e1 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x0000003007b98b33 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#26 0x000000300463e211 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#27 0x0000003004642068 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#28 0x000000300464221c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#29 0x0000003007b98673 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x000000300967781e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x0000003007b6b432 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x0000003007b6b814 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x0000003007b6f86b in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#34 0x000000000040327c in main ()

Reported using DrKonqi
Comment 1 Peter Grasch 2010-10-25 20:28:44 UTC
Ok it doesn't seem to be related to selecting a folder. Even if I do nothing it crashes seemingly at random all the time.
Comment 2 Peter Grasch 2010-10-25 20:33:23 UTC
Also happens with e.g. KOrganizer...
Comment 3 Halla Rempt 2010-10-29 10:54:02 UTC
SVN commit 1190906 by rempt:

make it possible to find out whether lcms could create a valid transform

This is used to avoid crashing on jpegs with invalid profiles, as in
https://bugs.kde.org/show_bug.cgi?id=255451.

BUG:255251

 M  +6 -0      krita/plugins/formats/jpeg/kis_jpeg_converter.cc  
 M  +4 -0      libs/pigment/KoColorConversionTransformation.h  
 M  +3 -0      libs/pigment/KoColorTransformation.h  
 M  +5 -1      plugins/colorengines/lcms/IccColorSpaceEngine.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1190906
Comment 4 Halla Rempt 2010-10-29 10:56:04 UTC
Eek, sorry for the noise. Typo in my commit message.
Comment 5 Tobias Koenig 2010-12-11 23:36:56 UTC
Hej Peter,

can you still reproduce with a current version? Akonadi works fine and stable here.

Ciao,
Tobias
Comment 6 Peter Grasch 2010-12-23 14:23:07 UTC
The problem does no longer occur with the current version.