<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>225348</bug_id>
          
          <creation_ts>2021-05-04 06:26:28 -0700</creation_ts>
          <short_desc>[GTK] Segfault in ../Source/WebKit/UIProcess/API/glib/IconDatabase.cpp</short_desc>
          <delta_ts>2021-05-10 08:54:09 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>225279</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=225279</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Gtk</keywords>
          <priority>P3</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Gratton">mike</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>aperez</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
    
    <cc>simonwilsonus</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1756511</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Gratton">mike</who>
    <bug_when>2021-05-04 06:26:28 -0700</bug_when>
    <thetext>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 &quot;epiphany&quot; 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&lt;void ()&gt;::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=&lt;optimised out&gt;) 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=&lt;optimised out&gt;)
    at ../../../gio/gapplication.c:2560
#13 0x000055555555905c in  ()
#14 0x00007ffff6fc4565 in __libc_start_main (main=
    0x5555555589c0, argc=1, argv=0x7fffffffdf08, init=&lt;optimised out&gt;, fini=&lt;optimised out&gt;, rtld_fini=&lt;optimised out&gt;, stack_end=0x7fffffffdef8) at ../csu/libc-start.c:332
#15 0x000055555555937e in  ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1756512</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Gratton">mike</who>
    <bug_when>2021-05-04 06:33:13 -0700</bug_when>
    <thetext>FWIW, moving ~/.cache/epiphany/icondatabase out the way stops Epphy crashing at least.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1756525</commentid>
    <comment_count>2</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-05-04 07:07:20 -0700</bug_when>
    <thetext>This is probably related to bug #225279 — maybe even the same.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1756915</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Gratton">mike</who>
    <bug_when>2021-05-05 05:52:01 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1756920</commentid>
    <comment_count>4</comment_count>
    <who name="Adrian Perez">aperez</who>
    <bug_when>2021-05-05 06:17:42 -0700</bug_when>
    <thetext>(In reply to Michael Gratton from comment #3)
&gt; FWIW, the page causing this seems to be:
&gt; https://medium.com/@andreasreiser94/why-hateoas-is-useless-and-what-that-
&gt; means-for-rest-a65194471bc8
&gt; 
&gt; 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 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1758501</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Wilson">simonwilsonus</who>
    <bug_when>2021-05-10 08:54:09 -0700</bug_when>
    <thetext>Great Interaction of popular developers. Glad to be on the group.
Btw If you&apos;re interested in Mattress Review https://dwellmattress.com/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>