RESOLVED FIXED 100006
[EFL] EWebLauncher crashes on exit
https://bugs.webkit.org/show_bug.cgi?id=100006
Summary [EFL] EWebLauncher crashes on exit
Raphael Kubo da Costa (:rakuco)
Reported 2012-10-22 08:53:50 PDT
EWebLauncher has been crashing whenever it is closed for a while. Backtrace: #0 0x00007fffecfd9fa5 in raise () from /usr/lib/libc.so.6 #1 0x00007fffecfdb428 in abort () from /usr/lib/libc.so.6 #2 0x00007fffecfd3002 in __assert_fail_base () from /usr/lib/libc.so.6 #3 0x00007fffecfd30b2 in __assert_fail () from /usr/lib/libc.so.6 #4 0x00007fffea9656a5 in FcCacheFini () at fccache.c:507 #5 0x00007fffea970bff in IA__FcFini () at fcinit.c:143 #6 0x00007fffee1ba4f1 in evas_font_dir_cache_free () at evas_font_dir.c:80 #7 0x00007fffee17d9fa in evas_shutdown () at evas_main.c:97 #8 0x00007fffeedb3e1f in ecore_evas_shutdown () at ecore_evas.c:333 #9 0x0000000000405b60 in quit (success=1 '\001', msg=0x0) at /home/rakuco/dev/WebKit/Tools/EWebLauncher/main.c:704 #10 0x000000000040696b in main (argc=1, argv=0x7fffffffe2d8) at /home/rakuco/dev/WebKit/Tools/EWebLauncher/main.c:1021
Attachments
Patch (2.31 KB, patch)
2013-01-28 09:12 PST, Raphael Kubo da Costa (:rakuco)
no flags
Raphael Kubo da Costa (:rakuco)
Comment 1 2013-01-28 09:08:27 PST
Actually, it only happens when EWebLauncher is closed by pressing the Esc key.
Raphael Kubo da Costa (:rakuco)
Comment 2 2013-01-28 09:12:29 PST
Raphael Kubo da Costa (:rakuco)
Comment 3 2013-01-28 09:40:53 PST
Comment on attachment 184994 [details] Patch Meh, I take it back, I was testing on an empty page which lead me to wrong conclusions. There's something fishy going on with the URL bar, though.
Raphael Kubo da Costa (:rakuco)
Comment 4 2013-01-30 11:11:00 PST
Quick update: the problem actually comes from the fact that we keep some static global font caches in WebCore and do not destroy them. Since evas_shutdown() ends up calling FcFini() if any font has been loaded by the EFL (which is the case for UIs), that function will assert because the Fontconfig objects created by WebCore are still alive. WebKit2 is not affected simply because the UI created with the EFL is not in the same process as WebCore. Since Qt, Pango and Cairo do not explicitly manage Fontconfig's lifetime, I'm proposing doing the same in Evas in <http://article.gmane.org/gmane.comp.window-managers.enlightenment.devel/50676>.
Raphael Kubo da Costa (:rakuco)
Comment 5 2013-02-05 01:50:36 PST
Note You need to log in before you can comment on or make changes to this bug.