Application: baloo_file (5.15.0) Qt Version: 5.4.2 Operating System: Linux 4.2.0-15-generic x86_64 Distribution: Ubuntu Wily Werewolf (development branch) -- Information about the crash: - What I was doing when the application crashed: I reinstalled mu machine afresh while preserving my /home folder. Baloo crashes at login every time. 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 0x7f3f91b56800 (LWP 1305))] Thread 2 (Thread 0x7f3f87013700 (LWP 1658)): [KCrash Handler] #6 mdb_txn_begin (env=0x0, parent=0x0, flags=131072, ret=0x7f3f87012cf8) at mdb.c:2650 #7 0x000000000041a64d in Baloo::FirstRunIndexer::run (this=0x1e051a0) at ../../../src/file/firstrunindexer.cpp:46 #8 0x00007f3f90690e73 in QThreadPoolThread::run (this=0x1e034a0) at thread/qthreadpool.cpp:93 #9 0x00007f3f906942be in QThreadPrivate::start (arg=0x1e034a0) at thread/qthread_unix.cpp:337 #10 0x00007f3f8f3066aa in start_thread (arg=0x7f3f87013700) at pthread_create.c:333 #11 0x00007f3f8fca4eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f3f91b56800 (LWP 1305)): #0 0x00007f3f8fc65285 in __getdents (fd=3, buf=0x1e0fb80 "+\n2", nbytes=32768) at ../sysdeps/unix/sysv/linux/getdents.c:111 #1 0x00007f3f8fc64fa7 in __readdir_r (dirp=0x1e0fb50, entry=0x1e3eb70, result=result@entry=0x1e3b650) at ../sysdeps/posix/readdir_r.c:63 #2 0x00007f3f9080e2a3 in QFileSystemIterator::advance (this=this@entry=0x1e3b640, fileEntry=..., metaData=...) at io/qfilesystemiterator_unix.cpp:106 #3 0x00007f3f9078ceda in QDirIteratorPrivate::advance (this=this@entry=0x1e38880) at io/qdiriterator.cpp:246 #4 0x00007f3f9078d722 in QDirIteratorPrivate::QDirIteratorPrivate (this=0x1e38880, entry=..., nameFilters=..., filters=..., flags=..., resolveEngine=<optimized out>) at io/qdiriterator.cpp:169 #5 0x00007f3f9078de69 in QDirIterator::QDirIterator (this=0x1c0f980, path=..., filters=..., flags=...) at io/qdiriterator.cpp:422 #6 0x0000000000423759 in Baloo::FilteredDirIterator::next (this=0x1ccd270) at ../../../src/file/filtereddiriterator.cpp:70 #7 0x000000000043030b in KInotify::Private::_k_addWatches (this=0x1c8faa0) at ../../../src/file/kinotify.cpp:163 #8 0x000000000042db91 in KInotify::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x1e0ace0) at ./moc_kinotify.cpp:158 #9 0x00007f3f908a5651 in QObject::event (this=0x1c2bf40, e=<optimized out>) at kernel/qobject.cpp:1245 #10 0x00007f3f90873efc in QCoreApplication::notify (event=0x1e3a760, receiver=0x1c2bf40, this=0x7fff81123b00) at kernel/qcoreapplication.cpp:997 #11 QCoreApplication::notifyInternal (this=0x7fff81123b00, receiver=0x1c2bf40, event=event@entry=0x1e3a760) at kernel/qcoreapplication.cpp:935 #12 0x00007f3f90876057 in QCoreApplication::sendEvent (event=0x1e3a760, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228 #13 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1bf9940) at kernel/qcoreapplication.cpp:1552 #14 0x00007f3f90876588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410 #15 0x00007f3f908cae73 in postEventSourceDispatch (s=0x1bf8fa0) at kernel/qeventdispatcher_glib.cpp:271 #16 0x00007f3f8ce86ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #17 0x00007f3f8ce87250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #18 0x00007f3f8ce872fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #19 0x00007f3f908cb27f in QEventDispatcherGlib::processEvents (this=0x1bf9290, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #20 0x00007f3f9087175a in QEventLoop::exec (this=this@entry=0x7fff81123a40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #21 0x00007f3f908792cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188 #22 0x0000000000415aec in main (argc=1, argv=<optimized out>) at ../../../src/file/main.cpp:88 Possible duplicates by query: bug 353238. Reported using DrKonqi
This crash disappears after running: balooctl disable balooctl enable So resetting the database solves the issue. Some extra info, previously, before reinstalling this machine, I was compiling baloo from master.
Created attachment 95083 [details] New crash information added by DrKonqi baloo_file (5.15.0) using Qt 5.4.2 - What I was doing when the application crashed: Fresh install of Kubuntu 15.10. Homedir preserved, but removed all .-folders Crash happened on first login. - Custom settings of the application: /home is on nfs4.1+kerberos, mounted by autofs: freeman:/home/jan on /home/jan type nfs4 (rw,noatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=krb5p,clientaddr=192.168.123.2,local_lock=none,addr=192.168.123.1) -- Backtrace (Reduced): #6 mdb_txn_begin (env=0x0, parent=0x0, flags=131072, ret=0x7f3024403cf8) at mdb.c:2650 #7 0x000000000041a64d in Baloo::FirstRunIndexer::run (this=0xa8cc20) at ../../../src/file/firstrunindexer.cpp:46 #8 0x00007f302eee4e73 in QThreadPoolThread::run (this=0xa8f800) at thread/qthreadpool.cpp:93 #9 0x00007f302eee82be in QThreadPrivate::start (arg=0xa8f800) at thread/qthread_unix.cpp:337 #10 0x00007f302db5a6aa in start_thread (arg=0x7f3024404700) at pthread_create.c:333
> #6 mdb_txn_begin (env=0x0, parent=0x0, flags=131072, ret=0x7f3f87012cf8) at mdb.c:2650 Eh, env is null. The env failed to init.
This bug may have been fixed by https://git.reviewboard.kde.org/r/126110/ (submitted) - please test.