Bug 429602 - Crashes on starting ASSERT: "!subDocIds.isEmpty()" message
Summary: Crashes on starting ASSERT: "!subDocIds.isEmpty()" message
Status: RESOLVED FIXED
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-24 20:12 UTC by Leszek Lesner
Modified: 2020-12-19 22:05 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 Leszek Lesner 2020-11-24 20:12:54 UTC
SUMMARY
Baloo crashes on start for me (version from master 25.11.2020)

STEPS TO REPRODUCE
1. Start baloo 

OBSERVED RESULT
baloo_file crashes

EXPECTED RESULT
it runs fine

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: master
(available in About System)
KDE Plasma Version: master
KDE Frameworks Version: master
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Application: baloo_file (baloo_file), signal: Aborted
Content of s_kcrashErrorMessage: (null)
[KCrash Handler]
#5  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#6  0x00007fbaa1ed0535 in __GI_abort () at abort.c:79
#7  0x00007fbaa249fa05 in qt_message_fatal (context=..., message=<synthetic pointer>...) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/global/qlogging.cpp:1914
#8  QMessageLogger::fatal (this=this@entry=0x7fba9c86b6f0, msg=msg@entry=0x7fbaa2770ea0 "ASSERT: \"%s\" in file %s, line %d") at /home/leszek/kde/src/Qt5/qtbase/src/corelib/global/qlogging.cpp:893
#9  0x00007fbaa249ef23 in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qlogging.h:90
#10 0x00007fbaa2aef7c5 in Baloo::IdTreeDB::put (this=0x7fba9c86b810, docId=8590000899, subDocIds=...) at /home/leszek/kde/src/baloo/src/engine/idtreedb.cpp:50
#11 0x00007fbaa2ae8f35 in Baloo::DocumentUrlDB::updateUrl (this=0x7fba9c86b8e0, id=55169099730322179, parentId=55169099730322179, url=...) at /home/leszek/kde/src/baloo/src/engine/documenturldb.cpp:119
#12 0x00007fbaa2b08ba4 in Baloo::WriteTransaction::replaceDocument (this=0x7f7a900122e0, doc=..., operations=...) at /home/leszek/kde/src/baloo/src/engine/writetransaction.cpp:248
#13 0x00007fbaa2b01f6c in Baloo::Transaction::replaceDocument (this=0x7fba9c86ba60, doc=..., operations=...) at /home/leszek/kde/src/baloo/src/engine/transaction.cpp:261
#14 0x00005624b1ef4176 in Baloo::UnindexedFileIndexer::run (this=0x5624b30131e0) at /home/leszek/kde/src/baloo/src/file/unindexedfileindexer.cpp:55
#15 0x00007fbaa24db931 in QThreadPoolThread::run (this=0x5624b38f3c80) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/thread/qthreadpool.cpp:100
#16 0x00007fbaa24d875d in QThreadPrivate::start (arg=0x5624b38f3c80) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/thread/qthread_unix.cpp:329
#17 0x00007fbaa0b4efa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#18 0x00007fbaa1fa74cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  0x00007fba9e81b136 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba9e81b25c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbaa26ef36b in QEventDispatcherGlib::processEvents (this=0x7fba98000b20, flags=...) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fbaa269a853 in QEventLoop::exec (this=this@entry=0x7fba9d411d10, flags=..., flags@entry=...) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qflags.h:141
#5  0x00007fbaa24d75b6 in QThread::exec (this=this@entry=0x7fbaa2bbad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qflags.h:121
#6  0x00007fbaa2b3e4e5 in QDBusConnectionManager::run (this=0x7fbaa2bbad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/leszek/kde/src/Qt5/qtbase/src/dbus/qdbusconnection.cpp:179
#7  0x00007fbaa24d875d in QThreadPrivate::start (arg=0x7fbaa2bbad80 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/thread/qthread_unix.cpp:329
#8  0x00007fbaa0b4efa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007fbaa1fa74cf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

#1  0x00007fba9e81b136 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fba9e81b25c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbaa26ef36b in QEventDispatcherGlib::processEvents (this=0x5624b2f7f890, flags=...) at /home/leszek/kde/src/Qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fbaa269a853 in QEventLoop::exec (this=this@entry=0x7ffedda11790, flags=..., flags@entry=...) at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qflags.h:141
#5  0x00007fbaa26a26cc in QCoreApplication::exec () at ../../include/QtCore/../../../../../src/Qt5/qtbase/src/corelib/global/qflags.h:121
#6  0x00005624b1edfb3f in main (argc=1, argv=0x7ffedda11bd8) at /home/leszek/kde/src/baloo/src/file/main.cpp:78
[Inferior 1 (process 590182) detached]