Bug 323672 - Feeder crash on killing FindUnindexedItems Job
Summary: Feeder crash on killing FindUnindexedItems Job
Status: RESOLVED FIXED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: Nepomuk Feeder Agents (show other bugs)
Version: 4.11
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
: 324100 324380 325348 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-18 14:25 UTC by Lorenzo
Modified: 2013-09-27 07:15 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.11.2


Attachments
New crash information added by DrKonqi (5.38 KB, text/plain)
2013-08-22 15:11 UTC, Leon Maurer
Details
New crash information added by DrKonqi (5.42 KB, text/plain)
2013-09-09 04:09 UTC, Antonis Kanouras
Details
New crash information added by DrKonqi (4.84 KB, text/plain)
2013-09-23 11:17 UTC, Yuri Ingultsov
Details
New crash information added by DrKonqi (4.84 KB, text/plain)
2013-09-23 11:17 UTC, Yuri Ingultsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lorenzo 2013-08-18 14:25:16 UTC
Application: akonadi_nepomuk_feeder (4.11)
KDE Platform Version: 4.11.00
Qt Version: 4.8.4
Operating System: Linux 3.8.0-29-generic i686
Distribution: Ubuntu 13.04

-- Information about the crash:
System error appeared while computer was idle without system crash, this is the second time this error occurs.

-- Backtrace:
Application: Fornitore Akonadi per Nepomuk (akonadi_nepomuk_feeder), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0xb70a6b2c in KJob::kill(KJob::KillVerbosity) () from /usr/lib/libkdecore.so.5
#7  0x0805311e in Akonadi::NepomukFeederAgent::doSetOnline (this=0x8fdcd78, online=false) at ../../../agents/nepomukfeeder/nepomukfeederagent.cpp:340
#8  0xb6da2d41 in Akonadi::AgentBase::setOnlineInternal(bool) () from /usr/lib/libakonadi-kde.so.4
#9  0xb6da2e96 in Akonadi::AgentBase::setOnline(bool) () from /usr/lib/libakonadi-kde.so.4
#10 0x08052664 in Akonadi::NepomukFeederAgent::selfTest (this=0x8fdcd78) at ../../../agents/nepomukfeeder/nepomukfeederagent.cpp:312
#11 0xb6be7b56 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#12 0xb6912495 in Nepomuk2::ResourceManager::nepomukSystemStopped() () from /usr/lib/libnepomukcore.so.4abi1
#13 0xb691455f in ?? () from /usr/lib/libnepomukcore.so.4abi1
#14 0xb6914672 in ?? () from /usr/lib/libnepomukcore.so.4abi1
#15 0xb69148cc in Nepomuk2::ResourceManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libnepomukcore.so.4abi1
#16 0xb69f97be in ?? () from /usr/lib/i386-linux-gnu/libQtDBus.so.4
#17 0xb6a033dd in ?? () from /usr/lib/i386-linux-gnu/libQtDBus.so.4
#18 0xb6bed48b in QObject::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#19 0xb5e34c7c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#20 0xb5e37b94 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#21 0xb7449d61 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#22 0xb6bd190e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#23 0xb6bd5721 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#24 0xb6bd5a8c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#25 0xb6c03aa4 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#26 0xb51903b3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb5190750 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0xb5190831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#29 0xb6c03c21 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#30 0xb5eeba0a in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#31 0xb6bd03ec in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#32 0xb6bd06e1 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#33 0xb6bd63fa in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
#34 0xb5e32fc4 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
#35 0xb6da0941 in Akonadi::AgentBase::init(Akonadi::AgentBase*) () from /usr/lib/libakonadi-kde.so.4
#36 0x08054b16 in Akonadi::AgentBase::init<Akonadi::NepomukFeederAgent> (argc=argc@entry=3, argv=argv@entry=0xbf94b454) at /usr/include/akonadi/agentbase.h:407
#37 0x080512fb in main (argc=3, argv=0xbf94b454) at ../../../agents/nepomukfeeder/nepomukfeederagent.cpp:382

Reported using DrKonqi
Comment 1 Leon Maurer 2013-08-22 15:11:20 UTC
Created attachment 81854 [details]
New crash information added by DrKonqi

akonadi_nepomuk_feeder (4.11) on KDE Platform 4.11.00 using Qt 4.8.4

My experience has been like the original submitter's. The crash happens when the system is idle, and it has happened twice.

-- Backtrace (Reduced):
#7  0x00007fb9187bcc3a in KJob::kill (this=0x1d9c240, verbosity=verbosity@entry=KJob::Quietly) at ../../kdecore/jobs/kjob.cpp:111
#8  0x000000000040da28 in Akonadi::NepomukFeederAgent::doSetOnline (this=0x1b74f20, online=false) at ../../../agents/nepomukfeeder/nepomukfeederagent.cpp:340
#9  0x00007fb9182c66c9 in Akonadi::AgentBase::setOnlineInternal (this=this@entry=0x1b74f20, state=state@entry=false) at ../../akonadi/agentbase.cpp:781
#10 0x00007fb9182c67e8 in Akonadi::AgentBase::setOnline (this=this@entry=0x1b74f20, state=state@entry=false) at ../../akonadi/agentbase.cpp:768
#11 0x000000000040d0af in Akonadi::NepomukFeederAgent::selfTest (this=0x1b74f20) at ../../../agents/nepomukfeeder/nepomukfeederagent.cpp:312
Comment 2 Jekyll Wu 2013-08-27 08:18:49 UTC
*** Bug 324100 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2013-09-02 08:36:50 UTC
*** Bug 324380 has been marked as a duplicate of this bug. ***
Comment 4 Markus 2013-09-04 08:01:45 UTC
me too with kde version 4.11.1

markus
Comment 5 Antonis Kanouras 2013-09-09 04:09:47 UTC
Created attachment 82229 [details]
New crash information added by DrKonqi

akonadi_nepomuk_feeder (4.11) on KDE Platform 4.11.1 using Qt 4.8.4

Also happens on 64bit KDE 4.11.1.

-- Backtrace (Reduced):
#6  KJob::kill (this=0x1931340, verbosity=verbosity@entry=KJob::Quietly) at ../../kdecore/jobs/kjob.cpp:111
#7  0x000000000040da28 in Akonadi::NepomukFeederAgent::doSetOnline (this=0x14ae250, online=false) at ../../../agents/nepomukfeeder/nepomukfeederagent.cpp:340
#8  0x00007f214bbd56c9 in Akonadi::AgentBase::setOnlineInternal(bool) () from /usr/lib/libakonadi-kde.so.4
#9  0x00007f214bbd57e8 in Akonadi::AgentBase::setOnline(bool) () from /usr/lib/libakonadi-kde.so.4
#10 0x000000000040d0af in Akonadi::NepomukFeederAgent::selfTest (this=0x14ae250) at ../../../agents/nepomukfeeder/nepomukfeederagent.cpp:312
Comment 6 Antonis Kanouras 2013-09-09 08:21:50 UTC
Ok, I have it reliably crashing a few seconds after clicking restart in Dr Konqi - here's an excerpt from .xsession-errors:

============================================================================================
nepomukindexer(27544)/nepomuk (strigi service) Nepomuk2::Indexer::setNiePlainTextContent: Trimming plain text content from  4044765  to  2490999 

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffea9d4000
81      ../sysdeps/unix/syscall-template.S: No such file or directory.
=========== Clicked on "Restart Application" in Dr. Konqi ===========
ProcessControl: Application '/usr/bin/akonadi_nepomuk_feeder' returned with exit code 253 (Unknown error)
akonadi_nepomuk_feeder(27571) FeederPluginloader::feederPluginsForMimeType: No feeder for type  "text/calendar"  found 
akonadi_nepomuk_feeder(27571) FeederPluginloader::feederPluginsForMimeType: No feeder for type  "text/x-vnd.akonadi.socialnotification"  found 
akonadi_nepomuk_feeder(27571)/kdecore (trader) mimeTypeSycocaServiceOffers: KMimeTypeTrader: mimeType "text/x-vnd.akonadi.statusitem" not found 
akonadi_nepomuk_feeder(27571) FeederPluginloader::feederPluginsForMimeType: No feeder for type  "text/x-vnd.akonadi.statusitem"  found 
akonadi_nepomuk_feeder(27571) FeederPluginloader::feederPluginsForMimeType: No feeder for type  "application/x-vnd.kde.alarm.archived"  found 
akonadi_nepomuk_feeder(27571) FeederPluginloader::feederPluginsForMimeType: No feeder for type  "application/x-vnd.kde.alarm.active"  found 
akonadi_nepomuk_feeder(27571) FeederPluginloader::feederPluginsForMimeType: No feeder for type  "application/x-vnd.kde.alarm.template"  found 
akonadi_nepomuk_feeder(27571) FindUnindexedItemsJob::queryFinished: "SQLExecDirect failed on query 'sparql DEFINE input:inference <nepomukinference> SELECT ?r ?id ?lastMod WHERE { ?r <http://akonadi-project.org/ontologies/aneo#akonadiItemId> ?id. ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#lastModified> ?lastMod }' (iODBC Error: [OpenLink][Virtuoso iODBC Driver]CL065: Lost connection to server)"
akonadi_nepomuk_feeder(27571) Akonadi::NepomukFeederAgent::foundUnindexedItems: FindUnindexedItemsJob failed 
KCrash: Application 'akonadi_nepomuk_feeder' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
=========== Dr. Konqi appears again ===========
nepomukindexer(27640)/nepomuk (strigi service) Nepomuk2::Indexer::setNiePlainTextContent: Trimming plain text content from  2491003  to  2490999 
============================================================================================

The "...Trimming plain text content..." lines appear whether the feeder is running or crashed.

Would a core dump or a full copy of my .xsession-errors be helpful?
Comment 7 Daniel Vrátil 2013-09-10 09:52:01 UTC
Git commit a92eb122431ac0072fb9f4d449ce2b89d0cc5c57 by Dan Vrátil.
Committed on 10/09/2013 at 09:51.
Pushed by dvratil into branch 'KDE/4.11'.

Fix a dangling pointer left by FindUnindexedItemsJob when error occurs
FIXED-IN: 4.11.2

M  +1    -0    agents/nepomukfeeder/nepomukfeederagent.cpp

http://commits.kde.org/kdepim-runtime/a92eb122431ac0072fb9f4d449ce2b89d0cc5c57
Comment 8 Daniel Vrátil 2013-09-10 09:53:09 UTC
Note that there is still a problem with your Nepomuk crashing - that's what causes the FindUnindexedItemsJob to fail - if you can debug the Nepomuk crash further, please open a new bug report.
Comment 9 Yuri Ingultsov 2013-09-23 11:17:16 UTC
Created attachment 82463 [details]
New crash information added by DrKonqi

akonadi_nepomuk_feeder (4.11) on KDE Platform 4.11.1 using Qt 4.8.2

- What I was doing when the application crashed:

nothing, system was doing own tasks an night, i was out... for a 7 hrs

-- Backtrace (Reduced):
#7  0x00007f09c8d0eefa in KJob::kill (this=0x1065630, verbosity=KJob::Quietly) at ../../kdecore/jobs/kjob.cpp:111
#8  0x000000000040d748 in Akonadi::NepomukFeederAgent::doSetOnline (this=0xe66ce0, online=false) at ../../../agents/nepomukfeeder/nepomukfeederagent.cpp:340
#9  0x00007f09c87f6184 in Akonadi::AgentBase::setOnlineInternal(bool) () from /usr/lib/libakonadi-kde.so.4
#10 0x00007f09c87f62b6 in Akonadi::AgentBase::setOnline(bool) () from /usr/lib/libakonadi-kde.so.4
#11 0x000000000040d83b in Akonadi::NepomukFeederAgent::selfTest (this=0xe66ce0) at ../../../agents/nepomukfeeder/nepomukfeederagent.cpp:312
Comment 10 Yuri Ingultsov 2013-09-23 11:17:16 UTC
Created attachment 82464 [details]
New crash information added by DrKonqi

akonadi_nepomuk_feeder (4.11) on KDE Platform 4.11.1 using Qt 4.8.2

- What I was doing when the application crashed:

nothing, system was doing own tasks an night, i was out... for a 7 hrs

-- Backtrace (Reduced):
#7  0x00007f09c8d0eefa in KJob::kill (this=0x1065630, verbosity=KJob::Quietly) at ../../kdecore/jobs/kjob.cpp:111
#8  0x000000000040d748 in Akonadi::NepomukFeederAgent::doSetOnline (this=0xe66ce0, online=false) at ../../../agents/nepomukfeeder/nepomukfeederagent.cpp:340
#9  0x00007f09c87f6184 in Akonadi::AgentBase::setOnlineInternal(bool) () from /usr/lib/libakonadi-kde.so.4
#10 0x00007f09c87f62b6 in Akonadi::AgentBase::setOnline(bool) () from /usr/lib/libakonadi-kde.so.4
#11 0x000000000040d83b in Akonadi::NepomukFeederAgent::selfTest (this=0xe66ce0) at ../../../agents/nepomukfeeder/nepomukfeederagent.cpp:312
Comment 11 Daniel Vrátil 2013-09-27 07:15:09 UTC
*** Bug 325348 has been marked as a duplicate of this bug. ***