Bug 342812 - nepomukbaloomigrator crash (SEGV)
Summary: nepomukbaloomigrator crash (SEGV)
Status: RESOLVED DUPLICATE of bug 333571
Alias: None
Product: Baloo
Classification: Unmaintained
Component: General (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-01-13 21:11 UTC by Richard Z.
Modified: 2015-01-14 14:48 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Z. 2015-01-13 21:11:13 UTC
Application: nepomukbaloomigrator (1.0)
KDE Platform Version: 4.14.3
Qt Version: 4.8.6
Operating System: Linux 3.17.8-300.fc21.i686+PAE i686
Distribution (Platform): Fedora RPMs

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

please also see https://bugzilla.redhat.com/show_bug.cgi?id=1181832


Recently migrated form Fedora19 to Fedora21 and trying to migrate my tags.

$ nepomukctl start; sleep 5; nepomukbaloomigrator

would migrate a few tags when nepomuk dies with 
Nepomuk Server started successfully.
ProcessControl: Application '/usr/bin/nepomukfileindexer' stopped unexpected (Process crashed)
Application '/usr/bin/nepomukfileindexer ' crashed. No restart!
Application '/usr/bin/nepomukfilewatch ' exited normally...
Application '/usr/bin/nepomukstorage ' exited normally...

So I am using $ rm ~/.kde/share/config/nepomukserverrc; nepomukctl start; sleep 5; nepomukbaloomigrator which
usually migrates a fe wobejcts at a time.

The problems with nepomuk dying, as well as "nepomukbaloomigrator: Could not obtain lock for Xapian Database." is
likely caused by the fact that concurently to nepomukbaloomigrator nepomuk and baloo itself are concurrently 
reindexing itself, causing race conditions.

-- Backtrace:
Application: NepomukBalooMigrator (nepomukbaloomigrator), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0xb77a87c0 (LWP 1872))]

Thread 2 (Thread 0xb43dbb40 (LWP 1895)):
#0  0xffffffff in __kernel_vsyscall ()
#1  0x4fe16f22 in clock_gettime () at /lib/libc.so.6
#2  0x420d1c5b in qt_gettime() () at /lib/libQtCore.so.4
#3  0x421c9503 in QTimerInfoList::timerWait(timeval&) () at /lib/libQtCore.so.4
#4  0x421c79ab in timerSourcePrepareHelper(GTimerSource*, int*) () at /lib/libQtCore.so.4
#5  0x421c7a6d in timerSourcePrepare(_GSource*, int*) () at /lib/libQtCore.so.4
#6  0x410cacff in g_main_context_prepare () at /lib/libglib-2.0.so.0
#7  0x410cb6ef in g_main_context_iterate.isra () at /lib/libglib-2.0.so.0
#8  0x410cb939 in g_main_context_iteration () at /lib/libglib-2.0.so.0
#9  0x421c83bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#10 0x42192c62 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#11 0x42193009 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#12 0x4206d004 in QThread::exec() () at /lib/libQtCore.so.4
#13 0x42170d11 in QInotifyFileSystemWatcherEngine::run() () at /lib/libQtCore.so.4
#14 0x4206fd1b in QThreadPrivate::start(void*) () at /lib/libQtCore.so.4
#15 0x4ff32313 in start_thread () at /lib/libpthread.so.0
#16 0x4fe08c2e in clone () at /lib/libc.so.6

Thread 1 (Thread 0xb77a87c0 (LWP 1872)):
[KCrash Handler]
#6  0x49894132 in Xapian::Database::get_document(unsigned int) const () at /lib/libxapian.so.22
#7  0x4617c605 in Baloo::XapianDatabase::document(unsigned int) () at /lib/libbalooxapian.so.4
#8  0x4619133d in Baloo::FileModifyJob::doStart() () at /lib/libbaloofiles.so.4
#9  0x4618cbb4 in Baloo::FileModifyJob::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib/libbaloofiles.so.4
#10 0x421a6d7b in QMetaCallEvent::placeMetaCall(QObject*) () at /lib/libQtCore.so.4
#11 0x421af353 in QObject::event(QEvent*) () at /lib/libQtCore.so.4
#12 0x42a71784 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/libQtGui.so.4
#13 0x42a78803 in QApplication::notify(QObject*, QEvent*) () at /lib/libQtGui.so.4
#14 0x4370bae2 in KApplication::notify(QObject*, QEvent*) () at /lib/libkdeui.so.5
#15 0x42194406 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib/libQtCore.so.4
#16 0x42197b37 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/libQtCore.so.4
#17 0x4219805d in QCoreApplication::sendPostedEvents(QObject*, int) () at /lib/libQtCore.so.4
#18 0x421c822a in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib/libQtCore.so.4
#19 0x410cb4a3 in g_main_context_dispatch () at /lib/libglib-2.0.so.0
#20 0x410cb868 in g_main_context_iterate.isra () at /lib/libglib-2.0.so.0
#21 0x410cb939 in g_main_context_iteration () at /lib/libglib-2.0.so.0
#22 0x421c83a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#23 0x42b2bafc in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtGui.so.4
#24 0x42192c62 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#25 0x42193009 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#26 0x42720a23 in KJob::exec() () at /lib/libkdecore.so.5
#27 0x0804bebb in Nepomuk2::SysTray::startMigration() ()
#28 0x421a6d7b in QMetaCallEvent::placeMetaCall(QObject*) () at /lib/libQtCore.so.4
#29 0x421af353 in QObject::event(QEvent*) () at /lib/libQtCore.so.4
#30 0x42a71784 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/libQtGui.so.4
#31 0x42a78803 in QApplication::notify(QObject*, QEvent*) () at /lib/libQtGui.so.4
#32 0x4370bae2 in KApplication::notify(QObject*, QEvent*) () at /lib/libkdeui.so.5
#33 0x42194406 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib/libQtCore.so.4
#34 0x42197b37 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/libQtCore.so.4
#35 0x4219805d in QCoreApplication::sendPostedEvents(QObject*, int) () at /lib/libQtCore.so.4
#36 0x421c822a in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib/libQtCore.so.4
#37 0x410cb4a3 in g_main_context_dispatch () at /lib/libglib-2.0.so.0
#38 0x410cb868 in g_main_context_iterate.isra () at /lib/libglib-2.0.so.0
#39 0x410cb939 in g_main_context_iteration () at /lib/libglib-2.0.so.0
#40 0x421c83a4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#41 0x42b2bafc in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtGui.so.4
#42 0x42192c62 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#43 0x42193009 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/libQtCore.so.4
#44 0x4219909b in QCoreApplication::exec() () at /lib/libQtCore.so.4
#45 0x42a6f865 in QApplication::exec() () at /lib/libQtGui.so.4
#46 0x0804af64 in main ()

Reported using DrKonqi
Comment 1 Vishesh Handa 2015-01-14 14:48:39 UTC

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