Bug 419542 - baloo_file indexing crash afrer login
Summary: baloo_file indexing crash afrer login
Status: RESOLVED DOWNSTREAM
Alias: None
Product: frameworks-baloo
Classification: Frameworks and Libraries
Component: Baloo File Daemon (show other bugs)
Version: 5.44.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Brüns
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-04-02 14:39 UTC by gumppur
Modified: 2020-06-06 06:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.47 KB, text/plain)
2020-04-19 13:10 UTC, Mauricio Villacís
Details
New crash information added by DrKonqi (5.97 KB, patch)
2020-06-06 06:43 UTC, Raymond
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gumppur 2020-04-02 14:39:31 UTC
Application: baloo_file (5.44.0)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 5.3.0-42-generic x86_64
Distribution: Ubuntu 18.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:
carsh was occured after restart my laptop and login.
Then I tried to run 'ballo_file'  on my terminal , this issue was occured again.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Baloo File Indexing Daemon (baloo_file), signal: Bus error
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8ba0497200 (LWP 1731))]

Thread 3 (Thread 0x7f8b94f49700 (LWP 2198)):
[KCrash Handler]
#6  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:427
#7  0x00007f8b9bb319ca in memmove (__len=<optimized out>, __src=0x7f4b914fc010, __dest=0x7f4b914fd010) at /usr/include/x86_64-linux-gnu/bits/string_fortified.h:40
#8  mdb_node_add (mc=mc@entry=0x7f8b94f48980, indx=<optimized out>, key=key@entry=0x7f8b94f488d0, data=0x7f8b94f488e0, pgno=pgno@entry=0, flags=<optimized out>) at mdb.c:7288
#9  0x00007f8b9bb351d9 in mdb_cursor_put (mc=0x7f8b94f48980, key=0x7f8b94f488d0, data=0x7f8b94f488e0, flags=<optimized out>) at mdb.c:6935
#10 0x00007f8b9bb36504 in mdb_freelist_save (txn=0x55b0b3a24360) at mdb.c:3170
#11 mdb_txn_commit (txn=0x55b0b3a24360) at mdb.c:3637
#12 0x00007f8b9f251991 in Baloo::Transaction::commit (this=0x7f8b94f48bd0) at ./src/engine/transaction.cpp:266
#13 0x000055b0b2df1ac7 in ?? ()
#14 0x00007f8b9e8fd2b2 in QThreadPoolThread::run (this=0x55b0b3ca5220) at thread/qthreadpool.cpp:99
#15 0x00007f8b9e90017d in QThreadPrivate::start (arg=0x55b0b3ca5220) at thread/qthread_unix.cpp:368
#16 0x00007f8b9ce836db in start_thread (arg=0x7f8b94f49700) at pthread_create.c:463
#17 0x00007f8b9de5d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f8b9594b700 (LWP 1736)):
#0  0x00007f8b9de50bf9 in __GI___poll (fds=0x7f8b90003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f8b9a5b35c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8b9a5b36dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8b9eb378ab in QEventDispatcherGlib::processEvents (this=0x7f8b90000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f8b9eadc90a in QEventLoop::exec (this=this@entry=0x7f8b9594ad70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f8b9e8fb23a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007f8b9fd4bd45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f8b9e90017d in QThreadPrivate::start (arg=0x7f8b9ffbed60) at thread/qthread_unix.cpp:368
#8  0x00007f8b9ce836db in start_thread (arg=0x7f8b9594b700) at pthread_create.c:463
#9  0x00007f8b9de5d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f8ba0497200 (LWP 1731)):
#0  0x00007f8b9de4c0b4 in __GI___libc_read (fd=3, buf=0x7fff53061aa0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f8b9a5f82b0 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8b9a5b30b7 in g_main_context_check () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8b9a5b3570 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8b9a5b36dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f8b9eb378ab in QEventDispatcherGlib::processEvents (this=0x55b0b3993e60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#6  0x00007f8b9eadc90a in QEventLoop::exec (this=this@entry=0x7fff53061cb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#7  0x00007f8b9eae59b4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1297
#8  0x000055b0b2de780c in ?? ()
#9  0x00007f8b9dd5db97 in __libc_start_main (main=0x55b0b2de7560, argc=1, argv=0x7fff53062018, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff53062008) at ../csu/libc-start.c:310
#10 0x000055b0b2de7a7a in _start ()

Reported using DrKonqi
Comment 1 Stefan Brüns 2020-04-02 14:56:45 UTC
KF 5.44 is outdated (its almost 2 years old). Please update.
Comment 2 Mauricio Villacís 2020-04-19 13:10:40 UTC
Created attachment 127684 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.69.0) using Qt 5.14.2

- What I was doing when the application crashed: after login, konki application fail

- Unusual behavior I noticed: baloo file indexer fail

- Custom settings of the application: None

-- Backtrace (Reduced):
#13 0x00007f67c5304619 in mdb_cursor_put () from /usr/lib/liblmdb.so
#14 0x00007f67c53074ab in mdb_put () from /usr/lib/liblmdb.so
#15 0x00007f67c6dbfd41 in Baloo::DocumentDataDB::put(unsigned long long, QByteArray const&) () from /usr/lib/libKF5BalooEngine.so.5
#16 0x00007f67c6dee766 in Baloo::WriteTransaction::replaceDocument(Baloo::Document const&, QFlags<Baloo::DocumentOperation>) () from /usr/lib/libKF5BalooEngine.so.5
#17 0x00007f67c6ddfcb5 in Baloo::Transaction::replaceDocument(Baloo::Document const&, QFlags<Baloo::DocumentOperation>) () from /usr/lib/libKF5BalooEngine.so.5
Comment 3 Raymond 2020-06-06 06:43:45 UTC
Created attachment 129095 [details]
New crash information added by DrKonqi

baloo_file_extractor (5.68.0) using Qt 5.12.8

- What I was doing when the application crashed:
I had just restarted my pc after installing the Cininimon desktop enviroment and right after i login i get the error saying that the program has crashed
- Custom settings of the application:
im not to sure but i have multiple desktop enviroments i dont know if that could cause an issue with it

-- Backtrace (Reduced):
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#7  0x00007fe35ba80859 in __GI_abort () at abort.c:79
[...]
#13 0x00007fe35b7a68f9 in mdb_cursor_put () from /lib/x86_64-linux-gnu/liblmdb.so.0
#14 0x00007fe35b7a976b in mdb_put () from /lib/x86_64-linux-gnu/liblmdb.so.0
#15 0x00007fe35d1c94c5 in Baloo::DocumentDB::put(unsigned long long, QVector<QByteArray> const&) () from /lib/x86_64-linux-gnu/libKF5BalooEngine.so.5