Bug 419788

Summary: baloo crashes immediately after enabling it
Product: [Frameworks and Libraries] frameworks-baloo Reporter: joeks
Component: Baloo File DaemonAssignee: Stefan Brüns <stefan.bruens>
Status: RESOLVED DOWNSTREAM    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 5.62.0   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description joeks 2020-04-07 12:19:55 UTC
Application: baloo_file_extractor (5.62.0)

Qt Version: 5.12.5
Frameworks Version: 5.62.0
Operating System: Linux 5.4.0-4-amd64 x86_64
Distribution: Debian GNU/Linux bullseye/sid

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

1. baloo was indexing files
2. I was getting the following message several times: 'Database has corrupted entries baloo may misbehave, please recreate the DB by running $ balooctl disable && balooctl enable'
3. I run  $ balooctl disable && balooctl enable
4. baloo crashes
5. I re-run  $ balooctl disable && balooctl enable
6. It crashes again

The crash can be reproduced every time.

-- Backtrace:
Application: Datei-Extraktion für Baloo (baloo_file_extractor), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2ba91b4d40 (LWP 52680))]

Thread 3 (Thread 0x7f2ba73e5700 (LWP 52682)):
#0  0x00007f2bab729889 in g_mutex_lock () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f2bab6dcf81 in g_main_context_query () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2bab6dd778 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2bab6dd91f in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2baca327db in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f2bac9db6db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f2bac81c6f1 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f2bada0d4e6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f2bac81d872 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f2babf61f27 in start_thread (arg=<optimized out>) at pthread_create.c:479
#10 0x00007f2bac4cb2ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f2ba8098700 (LWP 52681)):
#0  0x00007f2bac4c0b4f in __GI___poll (fds=0x7f2ba8097ca8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2bab662d02 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f2bab66498a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f2ba8c5fca0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f2bac81d872 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f2babf61f27 in start_thread (arg=<optimized out>) at pthread_create.c:479
#6  0x00007f2bac4cb2ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2ba91b4d40 (LWP 52680)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007f2bac3f355b in __GI_abort () at abort.c:79
#8  0x00007f2bac62b80c in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f2bac6368f6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f2bac636961 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f2bac636bf5 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f2bac7e4e73 in qBadAlloc() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f2bac7e7d06 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007f2bac82c04d in QByteArray::append(char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f2badaf0625 in Baloo::putDifferentialVarInt32 (temporaryStorage=..., dst=0x0, values=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qarraydata.h:208
#16 0x00007f2badaeff6f in Baloo::PositionCodec::encode (this=this@entry=0x7ffdeeb57cf7, list=...) at ./src/codecs/positioncodec.cpp:39
#17 0x00007f2badad33c7 in Baloo::PositionDB::put (this=this@entry=0x7ffdeeb57e10, term=..., list=...) at ./src/engine/positiondb.cpp:76
#18 0x00007f2badaedecf in Baloo::WriteTransaction::commit (this=0x55adec3df030) at ./src/engine/writetransaction.cpp:333
#19 0x00007f2badade13f in Baloo::Transaction::commit (this=0x55adec3d9540) at ./src/engine/transaction.cpp:304
#20 0x000055adeb1b595c in Baloo::App::processNextFile (this=0x7ffdeeb585a0) at ./src/file/extractor/app.cpp:119
#21 0x00007f2baca141a2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f2baca07d45 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f2bad3d7c32 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f2bad3e1190 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007f2bac9dca52 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f2baca31b90 in QTimerInfoList::activateTimers() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f2baca3244c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f2bab6dd60d in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f2bab6dd890 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f2bab6dd91f in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f2baca327c1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f2bac9db6db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007f2bac9e3182 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x000055adeb1b2370 in main (argc=<optimized out>, argv=<optimized out>) at ./src/file/extractor/main.cpp:59
[Inferior 1 (process 52680) detached]

Possible duplicates by query: bug 418804, bug 418803, bug 418351, bug 418277, bug 418026.

Reported using DrKonqi
Comment 1 Stefan Brüns 2020-04-07 13:55:01 UTC
Current version is 5.69. Please file a bug report with Debian.