Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671876 - dev-libs/efl-1.21.1: kernel: Evas-preload: segfault in libevas.so.1.21.1, efreet did not update cache
Summary: dev-libs/efl-1.21.1: kernel: Evas-preload: segfault in libevas.so.1.21.1, efr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Joonas Niilola
URL:
Whiteboard:
Keywords: EBUILD, PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2018-11-25 14:31 UTC by tbartdev
Modified: 2018-12-05 08:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
updated ebuild (efl-1.21.1-r1.ebuild,6.52 KB, text/plain)
2018-11-25 14:31 UTC, tbartdev
Details
accompanying patch (evas_cache_image_prevent_evas_preload_segfault.patch,399 bytes, patch)
2018-11-25 14:32 UTC, tbartdev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tbartdev 2018-11-25 14:31:38 UTC
Created attachment 556236 [details]
updated ebuild

When using efl-1.20.7 or 1.21.1 I get the following segfaults when trying to open applications with everything launcher (or on other occasions):


kernel: Evas-preload[528]: segfault at 28 ip 00007f261da9f8d7 sp 00007f25f6923170 error 4 in libevas.so.1.20.7[7f261d9a3000+221000]



This makes enlightenment completely unusable for me. It is a known bug (https://phab.enlightenment.org/T7354) so the fix was to add a patch. As far as I understand, it seems to be related to custom icons for applications, which might explain why it only hits some people.

Anyway, I attach a patch and an updated ebuild to fix it.

I still get "E: Efreet did not update cache. Please check your Efreet setup." once after login, but at least enlightenment does not restart constantly or I get black windows.
Comment 1 tbartdev 2018-11-25 14:32:31 UTC
Created attachment 556238 [details, diff]
accompanying patch
Comment 2 Joonas Niilola gentoo-dev 2018-11-26 07:39:45 UTC
Okay, haven't ran into this problem by myself. I do use adwaita-icon-theme and I have one custom .desktop file for vivaldi.

I built efl-1.21.1 with this patch and have been running it for an hour now, I think it works. Let's apply this patch on an update that fixes 2 other bugs as well. Thanks!
Comment 3 Larry the Git Cow gentoo-dev 2018-12-05 08:40:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32578b4efcf9161fef1b2267cc1fc2d31aa52a7e

commit 32578b4efcf9161fef1b2267cc1fc2d31aa52a7e
Author:     Joonas Niilola <juippis@gmail.com>
AuthorDate: 2018-12-05 07:16:15 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-12-05 08:35:31 +0000

    dev-libs/efl: revbump 1.21.1 to fix evas-preload segfault
    
    - thanks to tbartdev@gmx-topmail.de for the patch
    - upstream bug: https://phab.enlightenment.org/T7354
    
    Closes: https://bugs.gentoo.org/671876
    Package-Manager: Portage[mgorny]-2.3.51.1
    Signed-off-by: Joonas Niilola <juippis@gmail.com>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-libs/efl/efl-1.21.1-r1.ebuild                  | 279 +++++++++++++++++++++
 .../efl-1.21.1-fix_evas_preload_segfault.patch     |  10 +
 2 files changed, 289 insertions(+)