efreetd: segfault on icon_cache (infinite loop?) #9

Open
opened 2022-07-01 19:48:11 -07:00 by Thanatermesis · 1 comment

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

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
raster was assigned by Thanatermesis 2022-07-01 19:48:11 -07:00
Author

Update: the cause of the segfault was 2, they came from the Meliae icon theme, on which the index.theme included this line:

Inherits=Tango,gnome,MeliaeSVG

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 %snot found for%s.", args=0x7fffff7ff040) at ../src/lib/eina/eina_log.c:1385

Update: the cause of the segfault was 2, they came from the Meliae icon theme, on which the index.theme included this line: `Inherits=Tango,gnome,MeliaeSVG` 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`
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: enlightenment/efl#9
No description provided.