Bug 384505

Summary: Baloo doesn't work
Product: [Frameworks and Libraries] frameworks-baloo Reporter: David Soto <dsoto>
Component: generalAssignee: Pinak Ahuja <pinak.ahuja>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nate
Priority: NOR Keywords: drkonqi
Version: 5.18.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Soto 2017-09-08 21:02:55 UTC
Application: baloo_file (5.18.0)

Qt Version: 5.5.1
Operating System: Linux 4.10.0-33-generic x86_64
Distribution: Ubuntu 16.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Every time I turn on the PC this error ocurs and I cant use the search on dolphin.

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".
[Current thread is 1 (Thread 0x7f9a825978c0 (LWP 1265))]

Thread 2 (Thread 0x7f9a77568700 (LWP 1761)):
[KCrash Handler]
#6  0x00007f9a7edd8bb4 in mdb_txn_begin () from /usr/lib/x86_64-linux-gnu/liblmdb.so.0
#7  0x00007f9a8178199b in Baloo::Transaction::Transaction (this=0x7f9a77567b30, db=..., type=Baloo::Transaction::ReadWrite) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/engine/transaction.cpp:53
#8  0x000000000041df73 in Baloo::ModifiedFileIndexer::run (this=0x25deb70) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/modifiedfileindexer.cpp:49
#9  0x00007f9a810a02d3 in QThreadPoolThread::run (this=0x261f510) at thread/qthreadpool.cpp:93
#10 0x00007f9a810a37be in QThreadPrivate::start (arg=0x261f510) at thread/qthread_unix.cpp:331
#11 0x00007f9a7fd066ba in start_thread (arg=0x7f9a77568700) at pthread_create.c:333
#12 0x00007f9a806b03dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f9a825978c0 (LWP 1265)):
#0  0x00007f9a806718eb in __getdents (fd=3, buf=0x2525fe0 "\244(\"", nbytes=32768) at ../sysdeps/unix/sysv/linux/getdents.c:111
#1  0x00007f9a806715f4 in __readdir_r (dirp=0x2525fb0, entry=0x2545ec0, result=result@entry=0x2545bd0) at ../sysdeps/posix/readdir_r.c:63
#2  0x00007f9a8121c5a3 in QFileSystemIterator::advance (this=this@entry=0x2545bc0, fileEntry=..., metaData=...) at io/qfilesystemiterator_unix.cpp:106
#3  0x00007f9a8119d5ca in QDirIteratorPrivate::advance (this=this@entry=0x26555b0) at io/qdiriterator.cpp:246
#4  0x00007f9a8119de53 in QDirIteratorPrivate::QDirIteratorPrivate (this=0x26555b0, entry=..., nameFilters=..., filters=..., flags=..., resolveEngine=<optimized out>) at io/qdiriterator.cpp:169
#5  0x00007f9a8119e5a9 in QDirIterator::QDirIterator (this=0x22b1be0, path=..., filters=..., flags=...) at io/qdiriterator.cpp:422
#6  0x0000000000424889 in Baloo::FilteredDirIterator::next (this=0x22b2570) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/filtereddiriterator.cpp:70
#7  0x0000000000431808 in KInotify::Private::_k_addWatches (this=0x22e8700) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/kinotify.cpp:163
#8  0x000000000042eff1 in KInotify::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x22d54f0) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/obj-x86_64-linux-gnu/src/file/moc_kinotify.cpp:159
#9  0x00007f9a812b3c01 in QObject::event (this=0x22eb5e0, e=<optimized out>) at kernel/qobject.cpp:1239
#10 0x00007f9a8128436c in QCoreApplication::notify (event=0x26851f0, receiver=0x22eb5e0, this=0x7ffff8cc7b20) at kernel/qcoreapplication.cpp:1038
#11 QCoreApplication::notifyInternal (this=0x7ffff8cc7b20, receiver=0x22eb5e0, event=event@entry=0x26851f0) at kernel/qcoreapplication.cpp:965
#12 0x00007f9a81286786 in QCoreApplication::sendEvent (event=0x26851f0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x22a1730) at kernel/qcoreapplication.cpp:1593
#14 0x00007f9a81286c68 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#15 0x00007f9a812da3c3 in postEventSourceDispatch (s=0x22a1920) at kernel/qeventdispatcher_glib.cpp:271
#16 0x00007f9a7d872197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f9a7d8723f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f9a7d87249c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f9a812da7cf in QEventDispatcherGlib::processEvents (this=0x22a2f40, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#20 0x00007f9a81281b4a in QEventLoop::exec (this=this@entry=0x7ffff8cc7a60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#21 0x00007f9a81289bec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#22 0x000000000041698c in main (argc=1, argv=<optimized out>) at /build/baloo-kf5-wIK3t6/baloo-kf5-5.18.0/src/file/main.cpp:88

Reported using DrKonqi
Comment 1 Nate Graham 2017-10-27 18:33:46 UTC

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