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 Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
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: https://github.com/vector-im/element-web/issues/20926

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

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:05 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/element.io/issues/2
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

[1] https://wiki.archlinux.org/title/Debugging/Getting_traces
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 https://bugs.archlinux.org/task/78329 which was duped here, in which I explained I opened https://github.com/vector-im/element-desktop/issues/932 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: https://github.com/vector-im/element-desktop/issues/932#issuecomment-1528761330

Loading...