Memory leak "Accessing a sequence while it is being sorted or searched is not allowed"
Opened this issue · 5 comments
When launching ilia quickly after logging into a regolith-session-sway
session, the window froze and system became unresponsive. I was able to catch that it was Ilia when I switched over to a tty.
I"m on Pop!_OS 22.04 with regolith-desktop using sway. ilia version is 0.12.
Happy to provide more logs or info if there are other things I can look for. Thanks!
kernel: Out of memory: Killed process 4757 (ilia) total-vm:49767660kB, anon-rss:27931676kB, file-rss:768kB, shmem-rss:132kB, UID:1000 pgtables:94564kB oom_score_adj:0
Jan 5 20:02:17 laptop_hostname ilia[4757]: gtk-layer-shell v0.7.0 may not work on GTK v3.24.33. If you experience crashes, check https://github.com/wmww/gtk-layer-shell/blob/master/compatibility.md
Jan 5 20:02:17 laptop_hostname ilia[4757]: Accessing a sequence while it is being sorted or searched is not allowed
Jan 5 20:02:17 laptop_hostname ilia[4757]: (../../../../gtk/gtktreemodelfilter.c:2861):gtk_tree_model_filter_rows_reordered: runtime check failed: (g_sequence_get_length (level->seq) == 0)
Jan 5 20:02:17 laptop_hostname ilia[4757]: gtk_tree_model_filter_real_unref_node: assertion 'elt->ref_count > 0' failed
Jan 5 20:02:21 laptop_hostname ilia[4757]: message repeated 78753 times: [ gtk_tree_model_filter_real_unref_node: assertion 'elt->ref_count > 0' failed]
Jan 5 20:02:21 laptop_hostname ilia[4757]: gtk_tree_model_filter_real_unref_node: assertion 'elt->ref_count > 0' failed
Jan 5 20:02:22 laptop_hostname ilia[4757]: message repeated 18663 times: [ gtk_tree_model_filter_real_unref_node: assertion 'elt->ref_count > 0' failed]
I also have the same problem and it happens when either I type too fast while ilia is starting up or keeps typing while ilia is sorting the results found.
Is there anything that we could do to temporarily fix this?
I might have the same problem. I am not sure how to reproduce it, but often ilia is leaking memory and crashes my system. I have to drop to another tty and kill it.
@s-minoo and @dimitrios-git are you also on POP-OS? if not what OS are you running?
Is there anything that we could do to temporarily fix this?
You might try disabling loading icons, that should result in at least a 50% performance increase, more depending on icon complexity and total number of apps.
"icon-size: size of icons in pixels or 0 to disable icons"
https://github.com/regolith-linux/ilia
@kgilmer Sorry, I forgot to mention that. I am on Ubuntu 22.04.03 LTS.
I set my icon size to 0 now. Faster and maybe I like it better as well. I will keep using it like this and report back if the issue reoccurs. Thanks!