efreetd: segfault on icon_cache (infinite loop?)
I had seen in the last months a segfault on efreetd on my "dmesg" but I was not able to track it down yet from where it comes, today I was able to find it, so I recorded a small shell session with the details of this segfault and logs / debug information: https://asciinema.org/a/OhzSv1u1KRIgVf21DoAep7lPN
Update: the cause of the segfault was 2, they came from the Meliae icon theme, on which the index.theme included this line:
In other words: seems like it inherited himself and caused an infinite loop in efreetd, maybe the list of "inherits" to include on efreetd is not "uniques" (removing duplicates)?
Another cause of a second segfault seems to have been that the name of the theme assigned on the index.theme is "Name=MeliaeSVG" but the icon directory was named "Meliae", this seems to have caused this line:
0x00007ffff7f03bff in eina_log_print_unlocked (domain=0x1b, level=EINA_LOG_LEVEL_INFO, file=0x55555555a028 "../src/bin/efreet/efreet_icon_cache_create.c", fnc=0x55555555a3f8 <__func__.3> "check_changed", line=0x1ea, fmt=0x55555555a008 "Theme %s
not found for%s
.", args=0x7fffff7ff040) at ../src/lib/eina/eina_log.c:1385
No due date set.
No dependencies set.
Deleting a branch is permanent. It CANNOT be undone. Continue?