<html>
    <head>
      <base href="https://bugs.freedesktop.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 - weston segfault with broken client"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92316">92316</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>weston segfault with broken client
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

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

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

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

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>fourdan@xfce.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=118712" name="attach_118712" title="Simple reproducer with gtk+ alone">attachment 118712</a> <a href="attachment.cgi?id=118712&action=edit" title="Simple reproducer with gtk+ alone">[details]</a></span>
Simple reproducer with gtk+ alone

Just found out that using this (broken) client will kill weston.

[14:30:41.416] caught signal: 11
[14:30:41.417] 0: weston (on_caught_signal+0x17) [0x41bd67]
[14:30:41.417] 1: /lib64/libc.so.6 (killpg+0x40) [0x7f00ae29eb5f]
[14:30:41.417] 2: /usr/lib64/weston/desktop-shell.so (xdg_get_xdg_popup+0xc0)
[0x7f00a538acb0]
[14:30:41.418] 3: /lib64/libffi.so.6 (ffi_call_unix64+0x4c) [0x7f00aef3ad30]
[14:30:41.418] 4: /lib64/libffi.so.6 (ffi_call+0x2eb) [0x7f00aef3a79b]
[14:30:41.418] 5: /usr/lib64/libwayland-server.so.0 (wl_closure_invoke+0x148)
[0x7f00af147858]
[14:30:41.419] 6: /usr/lib64/libwayland-server.so.0
(wl_client_connection_data+0x216) [0x7f00af144076]
[14:30:41.419] 7: /usr/lib64/libwayland-server.so.0
(wl_event_loop_dispatch+0x62) [0x7f00af145c62]
[14:30:41.419] 8: /usr/lib64/libwayland-server.so.0 (wl_display_run+0x25)
[0x7f00af144565]
[14:30:41.419] 9: weston (main+0xbbb) [0x408bcb]
[14:30:41.420] 10: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f00ae28a580]
[14:30:41.420] 11: weston (_start+0x29) [0x408d49]

The crash is reproducible at will with the attached client.

The client is broken, no doubt about this, but weston should be able to survive
whatever clients throw at it.</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>