<html>
    <head>
      <base href="https://bugzilla.gnome.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Sometimes tooltip_popup_timeout() in gtk/gtktooltip.c causes crash after closing a window"
   href="https://bugzilla.gnome.org/show_bug.cgi?id=784319">784319</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Sometimes tooltip_popup_timeout() in gtk/gtktooltip.c causes crash after closing a window
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Platform
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>gtk+
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.20.x
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: Wayland
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>gtk-bugs@gtk.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ashie@clear-code.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>gtk-bugs@gtk.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>rob@robster.org.uk, wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>GNOME version</th>
          <td>---
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=354667&action=diff" name="attach_354667" title="A patch to avoid the crash">attachment 354667</a> <a href="attachment.cgi?id=354667&action=edit" title="A patch to avoid the crash">[details]</a></span> <a href='review?bug=784319&attachment=354667'>[review]</a>
A patch to avoid the crash

I'm now porting Firefox to Wayland/Weston on Renesas RZ/G1E.

* Renesas RZ/G1E:
  <a href="http://elinux.org/RZ-G/Boards/SK-RZG1E">http://elinux.org/RZ-G/Boards/SK-RZG1E</a>
* How to build BSP for it:
  <a href="http://elinux.org/RZ-G/Boards/Yocto_2.0">http://elinux.org/RZ-G/Boards/Yocto_2.0</a>
* Additional Yocto recipes to build Firefox:
  <a href="https://github.com/mozilla-japan/meta-browser/tree/firefox-52.1esr">https://github.com/mozilla-japan/meta-browser/tree/firefox-52.1esr</a>
  <a href="https://github.com/mozilla-japan/meta-gecko-embedded">https://github.com/mozilla-japan/meta-gecko-embedded</a>

The version of GTK+ is 3.20.9.

Sometimes tooltip_popup_timeout() in gtk/gtktooltip.c causes crash after
closing a browser window.

Although I'm not sure whether it's Firefox's fault or GTK+'s fault, I think
GTK+ should ensure to avoid the crash.  It seems that the code in
gtk/gtktooltip.c doesn't observe destroying GdkWindow after registering a
timeout function, it may be the cause of the bug.

The attached patch seems work fine for me, it can avoid crash on my
environment.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>