Corrupt database leads to CPU spike

Bug #2131006 reported by mmalmeida
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Diodon
Invalid
Undecided
Unassigned

Bug Description

I've been using diodon for years.

version: 1.13.0

Since a couple of weeks ago, on Ubuntu 24.04.3 LTS, diodon uses 100% of the cpu and is not usable (meaning the paste doesn't work while it's at 100%.

I have tried reinstalling it but no luck.

I am willing to test to debug it.

Revision history for this message
mmalmeida (mmalmeida) wrote :

I've also tried lowering the kernel from 6.14.0-35-generic to 6.14.0-34-generic

One thing I wanted to try was to clean the clipboard, but don't know where I can do it from in the terminal (since I can't even access the menu)

Revision history for this message
Oliver Sauder (sao) wrote :

Most likely a corrupt database. Diodon uses Zeitgeist as a backend and its database needs to be removed.

You can do the following to do this:

killall diodon
killall zeitgeist-daemon
rm ~/.local/share/zeitgeist/activity.sqlite

and then start Diodon again and see whether it works as expected.

Changed in diodon:
status: New → Incomplete
Revision history for this message
mmalmeida (mmalmeida) wrote :

I confirm this process resolves the issue.

Thank you!

Revision history for this message
Oliver Sauder (sao) wrote :

Great that this resolved the issue. Closing this but great to have this, so people will find the workaround which actually very rarely is needed, mainly when the database grows too heavily and reaches a limit. An issue in Zeitgeist actually and not Diodon.

summary: - CPU at 100% and not usable
+ Corrupt database leads to CPU spike
Changed in diodon:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.