Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak "Accessing a sequence while it is being sorted or searched is not allowed" #78

Open
bobdanek opened this issue Jan 6, 2024 · 5 comments

Comments

@bobdanek
Copy link

bobdanek commented Jan 6, 2024

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]

@s-minoo
Copy link

s-minoo commented Jan 24, 2024

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?

@dimitrios-git
Copy link

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.

@kgilmer
Copy link
Member

kgilmer commented Feb 5, 2024

@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

@dimitrios-git
Copy link

dimitrios-git commented Feb 5, 2024

@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!

@s-minoo
Copy link

s-minoo commented Feb 6, 2024

@kgilmer I am also on Ubuntu 22.04.03 LTS version. For now I just switched to the old rofi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants