Bug 401592 - baloo crashes upon loading desktop
Summary: baloo crashes upon loading desktop
Status: RESOLVED DUPLICATE of bug 397644
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.52.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: baloo-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-11-30 23:52 UTC by carbonchauvinist
Modified: 2018-12-07 23:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description carbonchauvinist 2018-11-30 23:52:57 UTC
Application: baloo_file (5.52.0)

Qt Version: 5.11.2
Frameworks Version: 5.52.0
Operating System: Linux 4.19.4-arch1-1-ARCH x86_64
Distribution: "Arch Linux"

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

Immedately upon loading desktop from SDDM login screen receive crash report from baloo. Happens in both wayland and X on every boot and every login.

The crash can be reproduced every time.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0f4ed1ec80 (LWP 760))]

Thread 3 (Thread 0x7f0f4df33700 (LWP 1002)):
[KCrash Handler]
#6  0x00007f0f54285b1d in Baloo::DocumentTimeDB::get (this=this@entry=0x7f0f4df329c0, docId=<optimized out>, docId@entry=21624408716148227) at /usr/src/debug/baloo-5.52.0/src/engine/documenttimedb.cpp:89
#7  0x00007f0f54298cc9 in Baloo::Transaction::documentTimeInfo (this=<optimized out>, id=id@entry=21624408716148227) at /usr/src/debug/baloo-5.52.0/src/engine/transaction.cpp:142
#8  0x000055fd3ac7b68d in Baloo::UnIndexedFileIterator::shouldIndex (this=0x7f0f4df32c80, filePath=..., mimetype=...) at /usr/src/debug/baloo-5.52.0/src/file/unindexedfileiterator.cpp:104
#9  0x000055fd3ac7b970 in Baloo::UnIndexedFileIterator::next (this=this@entry=0x7f0f4df32c80) at /usr/src/debug/baloo-5.52.0/src/file/unindexedfileiterator.cpp:82
#10 0x000055fd3ac726be in Baloo::UnindexedFileIndexer::run (this=0x55fd3bc25300) at /usr/src/debug/baloo-5.52.0/src/file/unindexedfileindexer.cpp:49
#11 0x00007f0f53d3ae11 in QThreadPoolThread::run (this=0x55fd3bb3b670) at thread/qthreadpool.cpp:101
#12 0x00007f0f53d42f65 in QThreadPrivate::start (arg=0x55fd3bb3b670) at thread/qthread_unix.cpp:367
#13 0x00007f0f528a1a9d in start_thread () from /usr/lib/libpthread.so.0
#14 0x00007f0f538a0b23 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f0f4ea36700 (LWP 773)):
#0  0x00007f0f53895c21 in poll () from /usr/lib/libc.so.6
#1  0x00007f0f50382ee0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f0f50382fce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f0f53f43fe4 in QEventDispatcherGlib::processEvents (this=0x7f0f48000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f0f53eef8cc in QEventLoop::exec (this=this@entry=0x7f0f4ea35d70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#5  0x00007f0f53d38eb9 in QThread::exec (this=this@entry=0x7f0f5433e080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#6  0x00007f0f542c2ba6 in QDBusConnectionManager::run (this=0x7f0f5433e080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007f0f53d42f65 in QThreadPrivate::start (arg=0x7f0f5433e080 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:367
#8  0x00007f0f528a1a9d in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f0f538a0b23 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f0f4ed1ec80 (LWP 760)):
#0  0x00007f0f53868c5b in __getdents64 () from /usr/lib/libc.so.6
#1  0x00007f0f53868d24 in readdir64 () from /usr/lib/libc.so.6
#2  0x00007f0f53e9a3c3 in QFileSystemIterator::advance (this=this@entry=0x55fd3bcaa920, fileEntry=..., metaData=...) at io/qfilesystemiterator_unix.cpp:81
#3  0x00007f0f53e2e23f in QDirIteratorPrivate::advance (this=0x55fd3bcc6a30) at ../../include/QtCore/../../src/corelib/tools/qvector.h:87
#4  0x00007f0f53e2eac4 in QDirIteratorPrivate::QDirIteratorPrivate (this=0x55fd3bcc6a30, entry=..., nameFilters=..., filters=..., flags=..., resolveEngine=<optimized out>) at io/qdiriterator.cpp:179
#5  0x00007f0f53e2efae in QDirIterator::QDirIterator (this=0x55fd3bca96f0, path=..., filters=..., flags=...) at ../../include/QtCore/../../src/corelib/tools/qlist.h:151
#6  0x000055fd3ac7ad53 in Baloo::FilteredDirIterator::next (this=0x7f0f48046980) at /usr/include/qt/QtCore/qflags.h:120
#7  0x000055fd3ac8bf56 in KInotify::Private::_k_addWatches (this=0x55fd3b9c4440) at /usr/src/debug/baloo-5.52.0/src/file/kinotify.cpp:163
#8  0x000055fd3ac8a4f9 in KInotify::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x55fd3bcb1260) at /usr/src/debug/build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:161
#9  0x00007f0f53f1b352 in QObject::event (this=0x55fd3b9c4570, e=<optimized out>) at kernel/qobject.cpp:1251
#10 0x00007f0f53ef0c17 in doNotify (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:142
#11 QCoreApplication::notify (event=<optimized out>, receiver=<optimized out>, this=<optimized out>) at kernel/qcoreapplication.cpp:1124
#12 QCoreApplication::notifyInternal2 (receiver=0x55fd3b9c4570, event=0x55fd3ba08830) at kernel/qcoreapplication.cpp:1048
#13 0x00007f0f53ef3ccc in QCoreApplication::sendEvent (event=0x55fd3ba08830, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#14 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55fd3b9b3360) at kernel/qcoreapplication.cpp:1745
#15 0x00007f0f53f449d4 in postEventSourceDispatch (s=0x55fd3b9b7300) at kernel/qeventdispatcher_glib.cpp:276
#16 0x00007f0f503813cf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#17 0x00007f0f50382f89 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007f0f50382fce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007f0f53f43fc9 in QEventDispatcherGlib::processEvents (this=0x55fd3b9b46b0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#20 0x00007f0f53eef8cc in QEventLoop::exec (this=this@entry=0x7fff0650d920, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#21 0x00007f0f53ef7bc6 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#22 0x000055fd3ac64977 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/baloo-5.52.0/src/file/main.cpp:104
[Inferior 1 (process 760) detached]

The reporter indicates this bug may be a duplicate of or related to bug 397644.

Possible duplicates by query: bug 401478, bug 401250.

Reported using DrKonqi
Comment 1 Nate Graham 2018-12-07 23:11:38 UTC

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