Bug 334439 - nepomukbaloomigrator segfaults, leaves nepomuk metadata unavailable
Summary: nepomukbaloomigrator segfaults, leaves nepomuk metadata unavailable
Status: RESOLVED DUPLICATE of bug 333571
Alias: None
Product: Baloo
Classification: Unmaintained
Component: General (show other bugs)
Version: 4.13
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-06 20:30 UTC by Peter Schueler
Modified: 2014-07-29 16:21 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 Peter Schueler 2014-05-06 20:30:00 UTC
Application: nepomukbaloomigrator (1.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.2
Operating System: Linux 3.8.0-39-generic x86_64
Distribution: Ubuntu 12.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed: Nothing:-) Program was first executed in process of installing updates. System is ubuntu 12.04 with a manually installed KDE 4.13 and a kernel 3.8.0-39-generic as a dom0 under xen 4.1; cpu is intel ivy-bridge, allotted RAM is 4 GByte. 

Since the first crash, most of the tags and comments in my ca. 4,000 user files are unavailable, even after successfully(?) reinstalling a nepomukbackup. Crashes in nepomukbaloomigrator are reliably reproducable by executing nepomukbaloomigrator without any arguments from the command line:-(  

Messages are:
-------------------8< ------------
nepomukbaloomigrator(14283): Bananana Error 
nepomukbaloomigrator(14283):  
nepomukbaloomigrator(14283): Bananana Error 
nepomukbaloomigrator(14283): Serious Error:   
nepomukbaloomigrator(14283): Error opening table `/home/peter/.local/share/baloo/file/postlist.':
Couldn't open /home/peter/.local/share/baloo/file/postlist.baseA: Zu viele offene Dateien
###i.e.: too many open files; the files addressed are existent and permissions are 664###
Couldn't open /home/peter/.local/share/baloo/file/postlist.baseB: Zu viele offene Dateien
  DatabaseOpeningError: Error opening table `/home/peter/.local/share/baloo/file/postlist.':
Couldn't open /home/peter/.local/share/baloo/file/postlist.baseA: Zu viele offene Dateien
Couldn't open /home/peter/.local/share/baloo/file/postlist.baseB: Zu viele offene Dateien
-----------------8<-------------

 If I start dolphin and try a search, I get a complaint "ungültiges Protokoll" (invalid protocol)

- Custom settings of the application: I wouldn't know which configuration settings to name.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7feb5dfe6700 (LWP 14899)):
#0  0x00007fffc75fe8a2 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7feb76da6780 (LWP 14895)):
[KCrash Handler]
#6  Xapian::Database::get_document (this=0x0, did=275) at ../api/omdatabase.cc:919
#7  0x00007feb714ad729 in Baloo::XapianDatabase::document (this=0x2301600, id=275) at ../../../src/xapian/xapiandatabase.cpp:146
#8  0x00007feb760547d0 in Baloo::FileModifyJob::doStart (this=0x24a54c0) at ../../../../src/file/lib/filemodifyjob.cpp:144
#9  0x00007feb745d7946 in QObject::event (this=0x24a54c0, e=<optimized out>) at kernel/qobject.cpp:1195
#10 0x00007feb7523a7b4 in notify_helper (e=0x23ad680, receiver=0x24a54c0, this=0xabe610) at kernel/qapplication.cpp:4556
#11 QApplicationPrivate::notify_helper (this=0xabe610, receiver=0x24a54c0, e=0x23ad680) at kernel/qapplication.cpp:4528
#12 0x00007feb7523f583 in QApplication::notify (this=0x7fffc759c8e0, receiver=0x24a54c0, e=0x23ad680) at kernel/qapplication.cpp:4417
#13 0x00007feb7678c1d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#14 0x00007feb745be32c in QCoreApplication::notifyInternal (this=0x7fffc759c8e0, receiver=0x24a54c0, event=0x23ad680) at kernel/qcoreapplication.cpp:915
#15 0x00007feb745c210a in sendEvent (event=0x23ad680, receiver=0x24a54c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa8b1f0) at kernel/qcoreapplication.cpp:1539
#17 0x00007feb745ed493 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#19 0x00007feb70b88d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007feb70b89060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007feb70b89124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007feb745ed8bf in QEventDispatcherGlib::processEvents (this=0xa8cad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00007feb752e2cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007feb745bce62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007feb745bd0b7 in QEventLoop::exec (this=0x7fffc759b830, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007feb74cc80d6 in KJob::exec() () from /usr/lib/libkdecore.so.5
#27 0x000000000040566d in Nepomuk2::SysTray::startMigration (this=0xc355c0) at ../../baloo/systray.cpp:152
#28 0x00007feb745d7946 in QObject::event (this=0xc355c0, e=<optimized out>) at kernel/qobject.cpp:1195
#29 0x00007feb7523a7b4 in notify_helper (e=0xc42680, receiver=0xc355c0, this=0xabe610) at kernel/qapplication.cpp:4556
#30 QApplicationPrivate::notify_helper (this=0xabe610, receiver=0xc355c0, e=0xc42680) at kernel/qapplication.cpp:4528
#31 0x00007feb7523f583 in QApplication::notify (this=0x7fffc759c8e0, receiver=0xc355c0, e=0xc42680) at kernel/qapplication.cpp:4417
#32 0x00007feb7678c1d6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#33 0x00007feb745be32c in QCoreApplication::notifyInternal (this=0x7fffc759c8e0, receiver=0xc355c0, event=0xc42680) at kernel/qcoreapplication.cpp:915
#34 0x00007feb745c210a in sendEvent (event=0xc42680, receiver=0xc355c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa8b1f0) at kernel/qcoreapplication.cpp:1539
#36 0x00007feb745ed493 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#38 0x00007feb70b88d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007feb70b89060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007feb70b89124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007feb745ed8bf in QEventDispatcherGlib::processEvents (this=0xa8cad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0x00007feb752e2cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007feb745bce62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007feb745bd0b7 in QEventLoop::exec (this=0x7fffc759c870, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007feb745c2407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#46 0x0000000000403ae3 in main (argc=1, argv=0x7fffc759cb08) at ../../baloo/main.cpp:48

Reported using DrKonqi
Comment 1 Christoph Feck 2014-06-04 19:51:15 UTC
Duplicate of/related to bug 333571.
Comment 2 Vishesh Handa 2014-07-29 16:21:36 UTC

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