Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Every login baloo_file crashes
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
__name__
n00b
n00b


Joined: 06 Feb 2024
Posts: 46
Location: where the wind blows

PostPosted: Fri Mar 08, 2024 6:20 pm    Post subject: [SOLVED] Every login baloo_file crashes Reply with quote

Every time I login I get the same notification.

"We are sorry baloo_file closed unexpectedly.

You cannot report this error, because baloo_file does not provide a bug reporting address.

Details:
Executable: baloo_file, PID: 3074, Signal: Aborted(6), Time: 3/8/24 1:18 AM"

This is the developer information:
"The generated crash information is not useful."
Code:
Application: baloo_file (baloo_file), signal: Aborted

[KCrash Handler]
#4  0x00007f94d2ec9e3c in ?? () from /lib64/libc.so.6
#5  0x00007f94d2e7b5c2 in raise () from /lib64/libc.so.6
#6  0x00007f94d2e644ed in abort () from /lib64/libc.so.6
#7  0x00007f94d398019b in ?? () from /usr/lib64/liblmdb.so.0
#8  0x00007f94d39801f7 in ?? () from /usr/lib64/liblmdb.so.0
#9  0x00007f94d3985126 in ?? () from /usr/lib64/liblmdb.so.0
#10 0x00007f94d3985353 in ?? () from /usr/lib64/liblmdb.so.0
#11 0x00007f94d3986cf7 in ?? () from /usr/lib64/liblmdb.so.0
#12 0x00007f94d398b17d in mdb_cursor_del () from /usr/lib64/liblmdb.so.0
#13 0x00007f94d398ca14 in ?? () from /usr/lib64/liblmdb.so.0
#14 0x00007f94d3a49ddb in Baloo::MTimeDB::del(unsigned int, unsigned long long) () from /usr/lib64/libKF5BalooEngine.so.5
#15 0x00007f94d3a5bb00 in Baloo::WriteTransaction::replaceDocument(Baloo::Document const&, QFlags<Baloo::DocumentOperation>) () from /usr/lib64/libKF5BalooEngine.so.5
#16 0x0000558a4f5b4268 in ?? ()
#17 0x00007f94d34db06a in ?? () from /usr/lib64/libQt5Core.so.5
#18 0x00007f94d34d8217 in ?? () from /usr/lib64/libQt5Core.so.5
#19 0x00007f94d2ec8109 in ?? () from /lib64/libc.so.6
#20 0x00007f94d2f393a8 in ?? () from /lib64/libc.so.6

Thread 2 (Thread 0x7f94cf7ff6c0 (LWP 3083) "QDBusConnection"):
#1  0x00007f94d20dbdd7 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f94d208687c in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f94d2086e0b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f94d20874ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f94d36d7cfe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#6  0x00007f94d3686d2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f94d34d6f32 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x00007f94d39b7757 in ?? () from /usr/lib64/libQt5DBus.so.5
#9  0x00007f94d34d8217 in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007f94d2ec8109 in ?? () from /lib64/libc.so.6
#11 0x00007f94d2f393a8 in ?? () from /lib64/libc.so.6

Thread 1 (Thread 0x7f94d200c140 (LWP 3074) "baloo_file"):
#1  0x00007f94d2086e57 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f94d20874ec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f94d36d7cfe in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f94d3686d2b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f94d368ecc0 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x0000558a4f5a68ee in ?? ()
#7  0x00007f94d2e65eea in ?? () from /lib64/libc.so.6
#8  0x00007f94d2e65fa5 in __libc_start_main () from /lib64/libc.so.6
#9  0x0000558a4f5a6ad1 in ?? ()
[Inferior 1 (process 3074) detached]


This is the output of "balooctl status":
Code:
tux ~ # balooctl status
Baloo File Indexer is not running
Total files indexed: 0
Files waiting for content indexing: 0
Files failed to index: 0
Current size of index is 12.00 KiB


I previously ran all of the following commands with no change in behavior.

Code:
balooctl disable
balooctl purge
balooctl enable


It seems baloo is not even indexing my file system.
While baloo was disabled I still received the error.

Thanks for any help you can provide.


Last edited by __name__ on Mon Jul 08, 2024 7:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
NichtDerHans
Apprentice
Apprentice


Joined: 27 Jan 2023
Posts: 177

PostPosted: Fri Mar 08, 2024 6:40 pm    Post subject: Reply with quote

In make.conf USE="-semantic-desktop".
Back to top
View user's profile Send private message
__name__
n00b
n00b


Joined: 06 Feb 2024
Posts: 46
Location: where the wind blows

PostPosted: Fri Mar 08, 2024 7:19 pm    Post subject: Reply with quote

I added -semantic-desktop in my make.conf, rebuilt the affected packages, and emerge --depclean removed baloo.
No error on reboot obviously since baloo is not present.

Thank you. Is there a place to reference how USE flags change package requirements?
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2179

PostPosted: Fri Mar 08, 2024 7:24 pm    Post subject: Reply with quote

The Gentoo wiki page on baloo is a little help, but Arch linux page on baloo lists various useful commands to clean up the database. Simply deleting (or moving to a different name) the directory ~/.local/share/baloo/ should give you a clean start. That's assuming you want baloo.

Note that NichtDerHans "solution" removes baloo completely. You might or might not want it. I gave up on baloo some time ago, and use Recoll instead.
_________________
Greybeard
Back to top
View user's profile Send private message
__name__
n00b
n00b


Joined: 06 Feb 2024
Posts: 46
Location: where the wind blows

PostPosted: Fri Mar 08, 2024 7:38 pm    Post subject: Reply with quote

I'm not sure if I need it or want it. I don't often search for files. I typically browse through directories. Is there a beneficial use case that you use Recoll for?

If I need it I imagine I will figure that out relatively soon.
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 458
Location: Naarm/Melbourne, Australia

PostPosted: Fri Mar 08, 2024 11:54 pm    Post subject: Reply with quote

i use Recoll to index the large number of PDFs (many of them academic papers) that i have on my system, so that i can easily find them as required (i.e. not infrequently). And as i spend a lot of my time in Emacs, it's beneficial that there's a `consult`-based interface available for it.
Back to top
View user's profile Send private message
Goverp
Advocate
Advocate


Joined: 07 Mar 2007
Posts: 2179

PostPosted: Sat Mar 09, 2024 11:43 am    Post subject: Reply with quote

Recoll is a content indexing system that can handle PDFs, tar balls, email, documents, other stuff, and many downloads, at the cost of having to update the index either periodically or in the background. Baloo does the same indexing, in the background (though with some sort of scan at startup in case anything's been changed since it was last running - I assume this should be faster than a proper indexing run), though I couldn't find an easy way to search using baloo!

The alternatives are tools like grep and ripgrep. Depending on the amount of stuff in your filesystem, the devices used and the speed of your hardware, they are often fast enough to be useful without the cost of the indexing runs of Recoll. Their drawback is they have no understanding of the context of the search, so you may need to take this into account both when specifying the grep search and when interpreting the results. Recoll (and presumably baloo) take care of all that for you - for example, Recoll lets you search for a string in emails, and offers previews of the results correctly formatted, whereas in grep you'd have to specify where the emails are stored, and you'd get just a filename and short text extract as context. There may be tools with similar live searching abilities but better handling of the context, but I've neither looked for nor come across them.

The big question is how much you're willing to pay for this convenience. On my pretty fast system, with a 5-disk RAID10 array holding my home directory (about 100 GB of stuff, by volume mostly photos, video and audio, but also documents, email, source code and indeed the entire home directory of my previous development environment that I just dumped en-masse into anther directory, and all the cruft of modern life) a Recoll index update takes order of 15 minutes(even though those media files don't get indexed, or at least not much, as they contain almost no text), though I can happily work on other stuff while it does its thing. When I actually want to find that note or file I sent someone about my taxes, it's well worth the effort - though I tend to only update the index when I have such a search in mind.
_________________
Greybeard
Back to top
View user's profile Send private message
flexibeast
Guru
Guru


Joined: 04 Apr 2022
Posts: 458
Location: Naarm/Melbourne, Australia

PostPosted: Sat Mar 09, 2024 12:21 pm    Post subject: Reply with quote

i run recollindex as a daily cron job, around 0330, when i'm usually either sleeping or trying to. :-)
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1225
Location: Motown

PostPosted: Mon Oct 28, 2024 12:45 am    Post subject: Reply with quote

Rebuilidng kde-frameworks/kfilemetadata solved this for me.
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum