[Bug 256408] devel/efl: efreetd crashes with "Abort trap", thus application menu icons disappear

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 04 Jun 2021 09:15:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256408

            Bug ID: 256408
           Summary: devel/efl: efreetd crashes with "Abort trap", thus
                    application menu icons disappear
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: enlightenment@FreeBSD.org
          Reporter: euan@potensol.com
             Flags: maintainer-feedback?(enlightenment@FreeBSD.org)
          Assignee: enlightenment@FreeBSD.org
 Attachment #225539 text/plain
         mime type:

Created attachment 225539
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225539&action=edit
Patch for devel/efl to fix eftreetd crash.

I have discovered a pretty major bug in efl which affects efreetd and in turn
affects enlightenment. It happens when a large number of icons or theme
resources / assets are installed into /usr/local/share/... The efreetd daemon
crashes with "Abort trap" error message when run from a users terminal. It
causes the application menu icons to disappear, partially or fully. It can also
cause an error message about efreetd (cache) not connecting with a timeout. It
also causes problems with the initial enlightenment prompts with a fresh .e
profile.

I have a good solution that I have a patch for an immediate fix, until I make a
PR with the upstream efl project. I'd like to hear the thoughts of the FreeBSD
enlightenment team before I engage with them.

Steps to reproduce:
Install any major KDE app like Dolphin, Gwenview, Okular etc. Or specifically
kf5-breeze-icons. Then run efreetd as a regular user from a TTY (no X sessions
running).

I have a more thorough description of the problem on the FreeBSD Forums:
https://forums.freebsd.org/threads/solved-enlightenment-application-menu-icons-missing-due-to-efreetd-crashing.80743/

The patch is attached.

Is it possible to get an enlightenment port revision with this patch out the
door ASAP. I have been running it in production on my media-centre for almost 2
weeks now, no issues. Everything else seems fine, the performance seems to be
as good if not better than the same version of Enlightenment/EFL on Manjaro
Linux (very similar hardware).

It's a pretty urgent bug fix. I am new to enlightenment and loving it now. But
I very nearly turned my back on it an use KDE instead, before even giving it a
chance. If I had known it would take me 2-3 solid weeks to find the bug I never
would have started. This is not just personal time, it is work time that I
would not be spending, had I known how long it would take. It only took about 5
mins to fix once I found the problem, but that's usually how it goes with
debugging.

-- 
You are receiving this mail because:
You are the assignee for the bug.