Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#77120 - [element-desktop] Consistent crashing while rebuilding message search index

Attached to Project: Community Packages
Opened by UrbenLegend (UrbenLegend) - Saturday, 14 January 2023, 06:11 GMT
Last edited by Toolybird (Toolybird) - Saturday, 14 January 2023, 21:43 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 4
Private No


Element in Arch will crash while rebuilding the message search index. Disabling the search index prevents the crashing, but that disables the search functionality for encrypted chats.

Additional info:
* Element 1.11.17-1
* Upstream Bug:

Steps to reproduce:
1. Log into Element.
2. Go to Settings -> Security & Privacy and click Manage under Message Search
3. If message index is not currently rebuilding, disable and then re-enable to trigger a rebuild.
4. Wait for crash

Stack trace included.
   gdb.txt (2.9 KiB)
This task depends upon

Comment by Paul Davis (dangersalad) - Tuesday, 31 January 2023, 19:55 GMT
Same thing happening on 1.11.20-1
Comment by Goncalo Santinho (gjsantinho) - Wednesday, 05 April 2023, 16:17 GMT
Same here as well. We have multiple arch devices in our organization that have been suffering from this issue. Even with "taskset -c 0" workaround, it will take the indexing an extended amount of time to complete. On one of my devices, it took almost 20 hours to complete.
Comment by Toolybird (Toolybird) - Saturday, 29 April 2023, 23:53 GMT
Dupe  FS#78329 

Please provide a backtrace with debug symbols [1]. i.e.

$ coredumpctl gdb (then answer y when it asks "Enable debuginfod for this session?")
(gdb) set logging enabled
(gdb) bt (or bt full)

Then post gdb.txt

Comment by UrbenLegend (UrbenLegend) - Sunday, 30 April 2023, 16:46 GMT
Reproduced the crash again with the latest Arch updates, including Element 1.11.26-1. GDB output attached.
   gdb.txt (3.2 KiB)
Comment by Porkepix (Porkepix) - Tuesday, 02 May 2023, 08:57 GMT
I reported which was duped here, in which I explained I opened upstream; I don't know if the upstream issue presented here is exactly the same, but upstream suggested they know the source of the issue in this comment of mine: