https://bugs.openldap.org/show_bug.cgi?id=9378
--- Comment #5 from Howard Chu hyc@openldap.org --- (In reply to Nate Graham from comment #4)
Thanks for looking into this, Howard! We have a tool that builds stuff from source. See https://community.kde.org/Get_Involved/development#Frameworks
People's databases tend to get pretty huge, but I can see if I can find anyone who can reliably reproduce the issue with a small DB.
I switched to an Arch distro instead of Ubuntu and updated to a current snapshot. Now my build of baloo_file aborts when files change:
ASSERT: "!url.endsWith('/')" in file /mnt/2/software/kde/baloo/src/file/filewatch.cpp, line 102
Thread 1 "baloo_file" received signal SIGABRT, Aborted. 0x00007ffff722e615 in raise () from /usr/lib/libc.so.6 (gdb) bt #0 0x00007ffff722e615 in raise () from /usr/lib/libc.so.6 #1 0x00007ffff7217862 in abort () from /usr/lib/libc.so.6 #2 0x00007ffff77b09ac in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5 #3 0x00007ffff77afd59 in qt_assert(char const*, char const*, int) () from /usr/lib/libQt5Core.so.5 #4 0x0000555555585b72 in Baloo::FileWatch::slotFileDeleted (this=0x7fffffffe7e0, urlString=..., isDir=true) at /mnt/2/software/kde/baloo/src/file/filewatch.cpp:102 #5 0x000055555558716e in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<QString const&, bool>, void, void (Baloo::FileWatch::*)(QString const&, bool)>::call (f= (void (Baloo::FileWatch::*)(Baloo::FileWatch * const, const QString &, bool)) 0x555555585aee <Baloo::FileWatch::slotFileDeleted(QString const&, bool)>, o=0x7fffffffe7e0, arg=0x7fffffffe090) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152 #6 0x0000555555586eaa in QtPrivate::FunctionPointer<void (Baloo::FileWatch::*)(QString const&, bool)>::call<QtPrivate::List<QString const&, bool>, void> (f= (void (Baloo::FileWatch::*)(Baloo::FileWatch * const, const QString &, bool)) 0x555555585aee <Baloo::FileWatch::slotFileDeleted(QString const&, bool)>, o=0x7fffffffe7e0, arg=0x7fffffffe090) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185 #7 0x0000555555586d46 in QtPrivate::QSlotObject<void (Baloo::FileWatch::*)(QString const&, bool), QtPrivate::List<QString const&, bool>, void>::impl (which=1, this_=0x5555555ec510, r=0x7fffffffe7e0, a=0x7fffffffe090, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:418 #8 0x00007ffff7a0b036 in ?? () from /usr/lib/libQt5Core.so.5 #9 0x000055555558ecf9 in KInotify::deleted (this=0x5555555ec1e0, _t1=..., _t2=true) at /mnt/2/software/kde/baloo/build/src/file/baloofilecommon_autogen/include/moc_kinotify.cpp:334 #10 0x000055555558d906 in KInotify::slotEvent (this=0x5555555ec1e0, socket=14) at /mnt/2/software/kde/baloo/src/file/kinotify.cpp:395 #11 0x000055555559347a in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<QSocketDescriptor>, void, void (KInotify::*)(int)>::call (f= (void (KInotify::*)(KInotify * const, int)) 0x55555558d3ae KInotify::slotEvent(int), o=0x5555555ec1e0, arg=0x7fffffffe340) at /usr/include/qt/QtCore/qobjectdefs_impl.h:152 #12 0x00005555555932a1 in QtPrivate::FunctionPointer<void (KInotify::*)(int)>::call<QtPrivate::List<QSocketDescriptor>, void> (f=(void (KInotify::*)(KInotify * const, int)) 0x55555558d3ae KInotify::slotEvent(int), o=0x5555555ec1e0, arg=0x7fffffffe340) at /usr/include/qt/QtCore/qobjectdefs_impl.h:185 #13 0x0000555555592cd8 in QtPrivate::QSlotObject<void (KInotify::*)(int), QtPrivate::List<QSocketDescriptor>, void>::impl (which=1, this_=0x7fffec03fa00, r=0x5555555ec1e0, a=0x7fffffffe340, ret=0x0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:418 #14 0x00007ffff7a0b036 in ?? () from /usr/lib/libQt5Core.so.5 #15 0x00007ffff7a0e5a0 in QSocketNotifier::activated(QSocketDescriptor, QSocketNotifier::Type, QSocketNotifier::QPriva--Type <RET> for more, q to quit, c to continue without paging-- teSignal) () from /usr/lib/libQt5Core.so.5 #16 0x00007ffff7a0edad in QSocketNotifier::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #17 0x00007ffff79d3cb0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #18 0x00007ffff7a2d556 in ?? () from /usr/lib/libQt5Core.so.5 #19 0x00007ffff5f9b914 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #20 0x00007ffff5fef7d1 in ?? () from /usr/lib/libglib-2.0.so.0 #21 0x00007ffff5f9a121 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #22 0x00007ffff7a2c941 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQt5Core.so.5 #23 0x00007ffff79d265c in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQt5Core.so.5 #24 0x00007ffff79daaf4 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #25 0x0000555555562bc4 in main (argc=1, argv=0x7fffffffe9f8) at /mnt/2/software/kde/baloo/src/file/main.cpp:78 (gdb)
I guess I need to build a tagged release version instead?