Bug 225348

Summary: [GTK] Segfault in ../Source/WebKit/UIProcess/API/glib/IconDatabase.cpp
Product: WebKit Reporter: Michael Gratton <mike>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Blocker CC: aperez, bugs-noreply, cgarcia, simonwilsonus
Priority: P3 Keywords: Gtk
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
See Also: https://bugs.webkit.org/show_bug.cgi?id=225279

Michael Gratton
Reported 2021-05-04 06:26:28 PDT
WebKitGTK 2.32.0 (libwebkit2gtk-4.0-37:amd64 2.32.0-1ubuntu3) Epiphany 40 (epiphany-browser 40.0-2) Initial crash occurred at some point during normal browsing. On start Ephy now crashes with the following stack, 100% of the time: Thread 1 "epiphany" received signal SIGSEGV, Segmentation fault. 0x00007ffff3d186a6 in operator() () at ../Source/WebKit/UIProcess/API/glib/IconDatabase.cpp:597 597 ../Source/WebKit/UIProcess/API/glib/IconDatabase.cpp: No such file or directory. (gdb) (gdb) bt #0 0x00007ffff3d186a6 in operator() () at ../Source/WebKit/UIProcess/API/glib/IconDatabase.cpp:597 #1 call() () at DerivedSources/ForwardingHeaders/wtf/Function.h:52 #2 0x00007ffff2ebbb03 in WTF::Function<void ()>::operator()() const () at ../Source/WTF/wtf/Function.h:83 #3 WTF::RunLoop::performWork() () at ../Source/WTF/wtf/RunLoop.cpp:128 #4 0x00007ffff2f0befd in operator() () at ../Source/WTF/wtf/glib/RunLoopGLib.cpp:80 #5 _FUN() () at ../Source/WTF/wtf/glib/RunLoopGLib.cpp:82 #6 0x00007ffff2f0c823 in operator() () at ../Source/WTF/wtf/glib/RunLoopGLib.cpp:53 #7 _FUN() () at ../Source/WTF/wtf/glib/RunLoopGLib.cpp:56 #8 0x00007ffff73c074f in g_main_dispatch (context=0x555555871010) at ../../../glib/gmain.c:3337 #9 g_main_context_dispatch (context=0x555555871010) at ../../../glib/gmain.c:4055 #10 0x00007ffff7413c68 in g_main_context_iterate.constprop.0 (context=context@entry=0x555555871010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimised out>) at ../../../glib/gmain.c:4131 #11 0x00007ffff73bdf83 in g_main_context_iteration (context=context@entry=0x555555871010, may_block=may_block@entry=1) at ../../../glib/gmain.c:4196 #12 0x00007ffff75d827d in g_application_run (application=0x55555586a6a0, argc=-8860, argv=<optimised out>) at ../../../gio/gapplication.c:2560 #13 0x000055555555905c in () #14 0x00007ffff6fc4565 in __libc_start_main (main= 0x5555555589c0, argc=1, argv=0x7fffffffdf08, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7fffffffdef8) at ../csu/libc-start.c:332 #15 0x000055555555937e in ()
Attachments
Michael Gratton
Comment 1 2021-05-04 06:33:13 PDT
FWIW, moving ~/.cache/epiphany/icondatabase out the way stops Epphy crashing at least.
Adrian Perez
Comment 2 2021-05-04 07:07:20 PDT
This is probably related to bug #225279 — maybe even the same.
Michael Gratton
Comment 3 2021-05-05 05:52:01 PDT
FWIW, the page causing this seems to be: https://medium.com/@andreasreiser94/why-hateoas-is-useless-and-what-that-means-for-rest-a65194471bc8 As soon as I loaded that again got a segfault.
Adrian Perez
Comment 4 2021-05-05 06:17:42 PDT
(In reply to Michael Gratton from comment #3) > FWIW, the page causing this seems to be: > https://medium.com/@andreasreiser94/why-hateoas-is-useless-and-what-that- > means-for-rest-a65194471bc8 > > As soon as I loaded that again got a segfault. With the patch for bug #225279 applied I cannot hit the segfault loading that URL—thanks for providing a link to reproduce, I am confident now that this has the same root cause =) *** This bug has been marked as a duplicate of bug 225279 ***
Simon Wilson
Comment 5 2021-05-10 08:54:09 PDT Comment hidden (spam)
Note You need to log in before you can comment on or make changes to this bug.