Package: baloo-kf5
Version: 5.54.0-1
Severity: serious
Justification: poor experience will cause user to give up on baloo; worse than
GNOME
Hi,
Recently baloo has been crashing whenever I log in. Today I decided it
was a persistent and serious enough problem that a serious bug was
warranted. I've attached the backtrace produced by drkonqi. Here is
some additional info that I hope will help quickly resolve this bug.
$ balooctl start
QCoreApplication::arguments: Please instantiate the QApplication object first
QCoreApplication::applicationDirPath: Please instantiate the QApplication
object first
This process needs a QCoreApplication instance in order to use KCrash
"/home/sten/jack_capture_90.mp3" id seems to have changed. Perhaps baloo was
not running, and this file was deleted + re-created
mdb.c:3124: Assertion 'pglast <= env->me_pglast' failed in mdb_freelist_save()
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = baloo_file_extractor path = /usr/bin pid = 15575
KCrash: Arguments: /usr/bin/baloo_file_extractor
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from
kdeinit
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
QSocketNotifier: Invalid socket 18 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
$ balooctl clear /home/sten/jack_capture_90.mp3
Skipping: /home/sten/jack_capture_90.mp3 Reason: Not yet indexed
File(s) cleared
$ balooctl index /home/sten/jack_capture_90.mp3
Indexing /home/sten/jack_capture_90.mp3
mdb.c:3124: Assertion 'pglast <= env->me_pglast' failed in mdb_freelist_save()
Aborted
$ balooctl status
Baloo File Indexer is running
Indexer state: Indexing file content
Indexed 57061 / 57062 files
Current size of index is 703.08 MiB
$ balooctl indexSize
Actual Size: 703.08 MiB
Expected Size: 456.43 MiB
PostingDB: 111.95 MiB24.527 %
PositionDB: 189.31 MiB41.476 %
DocTerms: 58.71 MiB12.862 %
DocFilenameTerms: 6.20 MiB 1.357 %
DocXattrTerms:0 B 0.000 %
IdTree: 996.00 KiB 0.213 %
IdFileName: 4.65 MiB 1.019 %
DocTime: 2.57 MiB 0.563 %
DocData: 3.51 MiB 0.769 %
ContentIndexingDB: 4.00 KiB 0.001 %
FailedIdsDB:0 B 0.000 %
MTimeDB: 1.20 MiB 0.263 %
...wait a while, then
$ balooctl stop
...wait a while. Baloo fails to stop.
$ ps xa | grep /usr/bin/baloo_file
$ gdb -p $THAT_PID
$ kill $THAT_PID
Result: no backtrace
$ gdb /usr/bin/baloo_file
Starting program: /usr/bin/baloo_file
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x72c7e700 (LWP 17185)]
[New Thread 0x7215b700 (LWP 17186)]
[Detaching after fork from child process 17187]
QCoreApplication::arguments: Please instantiate the QApplication object first
QCoreApplication::applicationDirPath: Please instantiate the QApplication
object first
This process needs a QCoreApplication instance in order to use KCrash
"/home/sten/jack_capture_90.mp3" id seems to have changed. Perhaps baloo was
not running, and this file was deleted + re-created
mdb.c:3124: Assertion 'pglast <= env->me_pglast' failed in mdb_freelist_save()
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = baloo_file_extractor path = /usr/bin pid = 17187
KCrash: Arguments: /usr/bin/baloo_file_extractor
KCrash: Attempting to start /usr/lib/x86_64-linux-gnu/libexec/drkonqi from
kdeinit
QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
QSocketNotifier: Invalid socket 18 and type 'Read', disabling...
QSocketNotifier: Invalid socket 10 and type 'Read', disabling...
Result: CRASH. Drkonqi provides a bt for baloo_file_extractor. I've attached
that one too.
Regards,
Nicholas
-- System Information:
Debian Release: 10.1
APT prefers stable-debug
APT policy: (500, 'stable-debug'), (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.72-rt25 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=en_CA:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages baloo-kf5 depends on:
ii kio 5.54.1-1
ii libc62.28-10
ii libkf5baloo5 5.54.0-1
ii libkf5balooengine5 5.54.0-1
ii libkf5configcore55.54.0-1+deb10u1
ii libkf5coreaddons55.54.0-1
ii libkf5crash5 5.54.0-1
ii libkf5dbusaddons55.54.0-1
ii libkf5filemetadata3 5.54.0-1
ii libkf5i18n5 5.54.0-1
ii libkf5idletime5 5.54.0-1
ii libkf5kiocore5 5.54.1-1
ii libkf5solid5 5.54.0-1
ii libqt5core5a 5.11.3+dfsg1-1
ii libqt5dbus5 5.11.3+dfsg1-1
ii libqt5gui5