Bug 357106

Summary: Baloo Crashes on startup
Product: [Unmaintained] Baloo Reporter: DarkEye <etherpulse>
Component: GeneralAssignee: Vishesh Handa <me>
Status: RESOLVED FIXED    
Severity: crash CC: Marco.Leise, pinak.ahuja, subdiff
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description DarkEye 2015-12-23 21:02:37 UTC
Application: baloo_file (5.15.0)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-22-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
Happens every time KDE  start

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  mdb_txn_begin (env=0x0, parent=0x0, flags=131072, ret=0x7ffdae7c04f8) at mdb.c:2650
#7  0x00000000004204d3 in Baloo::FileContentIndexerProvider::size (this=this@entry=0x7ffdae7c0f40) at ../../../src/file/filecontentindexerprovider.cpp:40
#8  0x0000000000419b89 in Baloo::FileIndexScheduler::scheduleIndexing (this=this@entry=0x7ffdae7c0ef8) at ../../../src/file/fileindexscheduler.cpp:116
#9  0x0000000000419dbb in Baloo::FileIndexScheduler::powerManagementStatusChanged (this=0x7ffdae7c0ef8, isOnBattery=<optimized out>) at ../../../src/file/fileindexscheduler.cpp:172
#10 0x00007f42e6255617 in QtPrivate::QSlotObjectBase::call (a=0x7ffdae7c07b0, r=0x7ffdae7c0ef8, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#11 QMetaObject::activate (sender=sender@entry=0x7ffdae7c0f50, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdae7c07b0) at kernel/qobject.cpp:3702
#12 0x00007f42e6255f87 in QMetaObject::activate (sender=sender@entry=0x7ffdae7c0f50, m=m@entry=0x644860 <Baloo::PowerStateMonitor::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdae7c07b0) at kernel/qobject.cpp:3582
#13 0x0000000000431dbf in Baloo::PowerStateMonitor::powerManagementStatusChanged (this=this@entry=0x7ffdae7c0f50, _t1=_t1@entry=false) at moc_powerstatemonitor.cpp:134
#14 0x0000000000436e0d in Baloo::PowerStateMonitor::slotPowerManagementStatusChanged (this=this@entry=0x7ffdae7c0f50, conserveResources=conserveResources@entry=false) at ../../../src/file/powerstatemonitor.cpp:63
#15 0x0000000000436f66 in Baloo::PowerStateMonitor::<lambda(QDBusPendingCallWatcher*)>::operator() (watch=0x1b49db0, __closure=<synthetic pointer>) at ../../../src/file/powerstatemonitor.cpp:53
#16 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QDBusPendingCallWatcher*>, void, Baloo::PowerStateMonitor::PowerStateMonitor(QObject*)::<lambda(QDBusPendingCallWatcher*)> >::call (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:494
#17 QtPrivate::Functor<Baloo::PowerStateMonitor::PowerStateMonitor(QObject*)::<lambda(QDBusPendingCallWatcher*)>, 1>::call<QtPrivate::List<QDBusPendingCallWatcher*>, void> (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:551
#18 QtPrivate::QFunctorSlotObject<Baloo::PowerStateMonitor::PowerStateMonitor(QObject*)::<lambda(QDBusPendingCallWatcher*)>, 1, QtPrivate::List<QDBusPendingCallWatcher*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:192
#19 0x00007f42e6255617 in QtPrivate::QSlotObjectBase::call (a=0x7ffdae7c0990, r=0x1b49db0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#20 QMetaObject::activate (sender=0x1b49db0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdae7c0990) at kernel/qobject.cpp:3702
#21 0x00007f42e6255f87 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f42e767a680 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffdae7c0990) at kernel/qobject.cpp:3582
#22 0x00007f42e765e10f in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=0x1b49db0) at .moc/moc_qdbuspendingcall.cpp:147
#23 0x00007f42e765f815 in QDBusPendingCallWatcherPrivate::_q_finished (this=<optimized out>) at qdbuspendingcall.cpp:487
#24 QDBusPendingCallWatcher::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:79
#25 0x00007f42e6256651 in QObject::event (this=0x1b49db0, e=<optimized out>) at kernel/qobject.cpp:1245
#26 0x00007f42e6224efc in QCoreApplication::notify (event=0x1bd51b0, receiver=0x1b49db0, this=0x7ffdae7c0e20) at kernel/qcoreapplication.cpp:997
#27 QCoreApplication::notifyInternal (this=0x7ffdae7c0e20, receiver=0x1b49db0, event=event@entry=0x1bd51b0) at kernel/qcoreapplication.cpp:935
#28 0x00007f42e6227057 in QCoreApplication::sendEvent (event=0x1bd51b0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1a4a5b0) at kernel/qcoreapplication.cpp:1552
#30 0x00007f42e6227588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#31 0x00007f42e627be73 in postEventSourceDispatch (s=0x1a4ae30) at kernel/qeventdispatcher_glib.cpp:271
#32 0x00007f42e2837ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f42e2838250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f42e28382fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f42e627c27f in QEventDispatcherGlib::processEvents (this=0x1a4a410, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#36 0x00007f42e622275a in QEventLoop::exec (this=this@entry=0x7ffdae7c0d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#37 0x00007f42e622a2cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#38 0x0000000000415aec in main (argc=1, argv=<optimized out>) at ../../../src/file/main.cpp:88

Possible duplicates by query: bug 355675.

Reported using DrKonqi
Comment 1 Roman Gilg 2016-01-08 13:57:48 UTC
Delete the folder ~/.local/share/baloo.

Then restart and check, that it was created again.

If this resolved your issue, write a short comment.
Comment 2 DarkEye 2016-01-09 17:38:00 UTC
Hey subdiff,

Thanks that solved that issue. :)
Comment 3 Marco Leise 2016-06-20 15:59:44 UTC
That solved it for me too. (DB format change?)