<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>high
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - SIGSEGV in wl_resource_get_client() during weston_pointer_set_focus()"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65728">65728</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>SIGSEGV in wl_resource_get_client() during weston_pointer_set_focus()
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ullysses.a.eoff@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>weston
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=80793" name="attach_80793" title="gdb backtrace">attachment 80793</a> <a href="attachment.cgi?id=80793&action=edit" title="gdb backtrace">[details]</a></span>
gdb backtrace

Weston segfaults in wl_resource_get_client() during weston_pointer_set_focus().
 Was only able to trigger this SIGSEGV with the "efl/egl/WindowFullscreenTest"
test in wayland-fits while running the entire test suite.  Running the test in
isolation did not trigger the SIGSEGV.

First bad commit is:
<a href="http://cgit.freedesktop.org/wayland/weston/commit/?id=26ed73cee858956f6af07c3e4bb49b5514f17b8b">http://cgit.freedesktop.org/wayland/weston/commit/?id=26ed73cee858956f6af07c3e4bb49b5514f17b8b</a>

Steps:

1. Build wayland-fits with efl-wayland tests
 $ ./autogen.sh --prefix=$WLD/install --enable-efl-tests
--enable-weston-extensions
 $ make && make install
2. Launch weston with weston-wfits.so module and notify input:
 $ WESTON_WFITS_INPUT_EMULATOR=notify weston --modules=weston-wfits.so -i0 &
3. Execute wayland-fits
 $ wfits
4. Observe SIGSEGV during efl/egl/WindowFullscreenTest (gdb backtrace attached)

System:

wayland (master) heads/master-0-gbca4124
git://anongit.freedesktop.org/wayland/wayland
fontconfig (master) heads/master-0-gcd9b103
git://anongit.freedesktop.org/git/fontconfig
drm (master) heads/master-0-ga0178c0 git://anongit.freedesktop.org/git/mesa/drm
mesa (master) heads/master-0-g6057d7b git://anongit.freedesktop.org/mesa/mesa
libxkbcommon (master) xkbcommon-0.3.1-0-g9f01bd1
git://github.com/xkbcommon/libxkbcommon
pixman (master) heads/master-0-g279bdcd git://anongit.freedesktop.org/pixman
cairo (master) heads/master-0-gc51b850 git://anongit.freedesktop.org/cairo
weston (master) heads/master-0-ga2ce68f
git://anongit.freedesktop.org/wayland/weston
harfbuzz (master) heads/master-0-g7235f33
git://anongit.freedesktop.org/git/harfbuzz
glib (master) heads/master-0-g910732e git://git.gnome.org/glib
atk (master) heads/master-0-g3a91620 git://git.gnome.org/atk
efl (master) heads/master-0-gf43ac1a git://git.enlightenment.org/core/efl.git
elementary (master) heads/master-0-g824ee3c
git://git.enlightenment.org/core/elementary
cogl (cogl-1.16) heads/cogl-1.16-0-g534e535 git://git.gnome.org/cogl
clutter (clutter-1.16) heads/clutter-1.16-0-gfa933b5
git://git.gnome.org/clutter
gdk-pixbuf (master) heads/master-0-g27e6ad7 git://git.gnome.org/gdk-pixbuf
pango (master) heads/master-0-g8ac9fc7 git://git.gnome.org/pango
at-spi2-core (master) AT_SPI2_CORE_2_9_2-0-g9921d02
git://git.gnome.org/at-spi2-core
at-spi2-atk (master) AT_SPI2_ATK_2_9_2-0-g58e7004
git://git.gnome.org/at-spi2-atk
gtk+ (master) heads/master-0-g860639e git://git.gnome.org/gtk+
wayland-fits (master) heads/master-0-g5f1a8cc
<a href="mailto:git@github.com">git@github.com</a>:01org/wayland-fits.git</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>