Bug 291935

Summary: EMail feeder crash on startup
Product: [Frameworks and Libraries] Akonadi Reporter: Alex Fiestas <afiestas>
Component: Nepomuk Feeder AgentsAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: vkrause, woebbeking
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alex Fiestas 2012-01-19 09:56:57 UTC
Application: akonadi_nepomuk_email_feeder (4.8)
KDE Platform Version: 4.8.00 (4.8.0 (Compiled from sources)
Qt Version: 4.8.0
Operating System: Linux 3.2.1-1-ARCH x86_64

-- Information about the crash:
There are some similar crashes realted to Soprano socket (see backtrace) but they are not identical.

This happened when starting the session.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Nepomuk EMail Feeder (akonadi_nepomuk_email_feeder), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f768d927b2a in lockInline (this=0x5f17838) at /usr/include/QtCore/qmutex.h:187
#7  QMutexLocker (m=0x5f17838, this=<synthetic pointer>) at /usr/include/QtCore/qmutex.h:109
#8  Soprano::Client::SocketHandler::~SocketHandler (this=0x5f198f0, __in_chrg=<optimized out>) at /home/afiestas/cod3s/cpp/kde/source/soprano/client/clientconnection.cpp:58
#9  0x00007f768d927c69 in Soprano::Client::SocketHandler::~SocketHandler (this=0x5f198f0, __in_chrg=<optimized out>) at /home/afiestas/cod3s/cpp/kde/source/soprano/client/clientconnection.cpp:61
#10 0x00007f768c27bd3d in QThreadStorageData::set(void*) () from /usr/lib/libQtCore.so.4
#11 0x00007f768d92561f in qThreadStorage_setLocalData<Soprano::Client::SocketHandler> (d=<optimized out>, t=<optimized out>) at /usr/include/QtCore/qthreadstorage.h:92
#12 setLocalData (t=0x5f3ca00, this=<optimized out>) at /usr/include/QtCore/qthreadstorage.h:155
#13 Soprano::Client::ClientConnection::socketForCurrentThread (this=0x6076050) at /home/afiestas/cod3s/cpp/kde/source/soprano/client/clientconnection.cpp:95
#14 0x00007f768d925689 in Soprano::Client::ClientConnection::connectInCurrentThread (this=<optimized out>) at /home/afiestas/cod3s/cpp/kde/source/soprano/client/clientconnection.cpp:800
#15 0x00007f768d924cda in Soprano::Client::LocalSocketClient::connect (this=0x5f0b6e8, name=...) at /home/afiestas/cod3s/cpp/kde/source/soprano/client/localsocketclient.cpp:141
#16 0x00007f768bae91f1 in init (forced=true, this=0x5f0b6c0) at /home/afiestas/cod3s/cpp/kde/source/kdelibs/nepomuk/core/nepomukmainmodel.cpp:102
#17 Nepomuk::MainModel::init (this=0x5f01bc0) at /home/afiestas/cod3s/cpp/kde/source/kdelibs/nepomuk/core/nepomukmainmodel.cpp:176
#18 0x00007f768badf929 in Nepomuk::ResourceManager::init (this=0x5f09c60) at /home/afiestas/cod3s/cpp/kde/source/kdelibs/nepomuk/core/resourcemanager.cpp:331
#19 0x00007f768bae2c15 in Nepomuk::ResourceManagerPrivate::_k_storageServiceInitialized (this=0x5f0b090, success=<optimized out>) at /home/afiestas/cod3s/cpp/kde/source/kdelibs/nepomuk/core/resourcemanager.cpp:221
#20 0x00007f768bae2d6b in Nepomuk::ResourceManager::qt_metacall (this=0x5f09c60, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff0fc38b50) at /home/afiestas/cod3s/cpp/kde/build/kdelibs/nepomuk/resourcemanager.moc:107
#21 0x00007f768bd8b37b in ?? () from /usr/lib/libQtDBus.so.4
#22 0x00007f768c394116 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007f768a3e3854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007f768a3e86d3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x00007f768d4d85b6 in KApplication::notify (this=0x7fff0fc39590, receiver=0x5f09c60, event=0x609b3b0) at /home/afiestas/cod3s/cpp/kde/source/kdelibs/kdeui/kernel/kapplication.cpp:311
#26 0x00007f768c37b0ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#27 0x00007f768c37e94a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#28 0x00007f768c3a9cd3 in ?? () from /usr/lib/libQtCore.so.4
#29 0x00007f767ff8784d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0x00007f767ff88048 in ?? () from /usr/lib/libglib-2.0.so.0
#31 0x00007f767ff88219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0x00007f768c3aa0ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0x00007f768a486f1e in ?? () from /usr/lib/libQtGui.so.4
#34 0x00007f768c379e92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007f768c37a0e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0x00007f768c37ec45 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#37 0x00007f768c9aa9b6 in Akonadi::AgentBase::init (r=0x2593bf0) at /home/afiestas/cod3s/cpp/kde/source/kdepimlibs/akonadi/agentbase.cpp:564
#38 0x0000000000410656 in int Akonadi::AgentBase::init<Akonadi::NepomukEMailFeeder>(int, char**) ()
#39 0x00007f768997d38d in __libc_start_main () from /lib/libc.so.6
#40 0x000000000040e595 in _start ()

Possible duplicates by query: bug 291753, bug 290260.

Reported using DrKonqi
Comment 1 Alex Fiestas 2012-01-19 12:23:00 UTC
Using stuff from 4.7 in master.
Comment 2 Andre Woebbeking 2012-01-20 08:49:34 UTC
I just had a crash with the same backtrace but here Kontact crashed. It happened when I moved a mail from an online IMAP Account to a local maildir folder.
Comment 3 Christophe Marin 2012-01-21 11:34:08 UTC
(In reply to comment #2)
> I just had a crash with the same backtrace but here Kontact crashed. It
> happened when I moved a mail from an online IMAP Account to a local maildir
> folder.

if you see a akonadi_nepomuk_email_feeder crash with KDE 4.8, that only means your installation is broken
Comment 4 Andre Woebbeking 2012-01-21 16:50:07 UTC
> if you see a akonadi_nepomuk_email_feeder crash with KDE 4.8, that only means
> your installation is broken

Well, as I wrote, kontact crashed. It seems that I also get deadlocks now (the backtrace too).

What do you mean by "your installation is broken"?
Comment 5 Christophe Marin 2012-01-21 19:33:36 UTC
> What do you mean by "your installation is broken"?

there's only one feeder in 4.8 called akonadi_nepomuk_feeder