[Wayland-bugs] [Bug 68649] New: SIGSEGV in shell_surface_move

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 28 03:12:52 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68649

          Priority: medium
            Bug ID: 68649
          Assignee: wayland-bugs at lists.freedesktop.org
           Summary: SIGSEGV in shell_surface_move
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: rosslagerwall at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: weston
           Product: Wayland

Sometimes clicking on the titlebar of a client causes weston to segfault.
This happened when I was testing wayland and weston master with eog and
nautilus.

[11:58:54.490] caught signal: 11
[11:58:54.490] 0: /home/ross/blead/wl/bin/weston (on_caught_signal+0x2c)
[0x40f320]
[11:58:54.491] 1: /usr/lib/libc.so.6 (__restore_rt+0x0) [0x7f6c15b9f44f]
[11:58:54.491] 2: /home/ross/blead/wl/lib/weston/desktop-shell.so
(shell_surface_move+0xc9) [0x7f6c0c2511de]
[11:58:54.492] 3: /usr/lib/libffi.so.6 (ffi_call_unix64+0x4c) [0x7f6c17176d8c]
[11:58:54.493] 4: /usr/lib/libffi.so.6 (ffi_call+0x1fc) [0x7f6c171766bc]
[11:58:54.493] 5: /home/ross/blead/wl/lib/libwayland-server.so.0
(wl_closure_invoke+0x15a) [0x7f6c17382afa]
[11:58:54.494] 6: /home/ross/blead/wl/lib/libwayland-server.so.0
(wl_client_connection_data+0x19e) [0x7f6c1737f47e]
[11:58:54.495] 7: /home/ross/blead/wl/lib/libwayland-server.so.0
(wl_event_loop_dispatch+0x62) [0x7f6c173811b2]
[11:58:54.495] 8: /home/ross/blead/wl/lib/libwayland-server.so.0
(wl_display_run+0x25) [0x7f6c1737fa55]
[11:58:54.495] 9: /home/ross/blead/wl/bin/weston (main+0x586) [0x40fd5d]
[11:58:54.496] 10: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7f6c15b8bbc5]
[11:58:54.496] 11: /home/ross/blead/wl/bin/weston (_start+0x29) [0x407f99]
[11:58:54.497] 12: ? (?+0x29) [0x29]
child 3579 exited
Trace/breakpoint trap (core dumped)

The troublesome code is in shell.c/shell_surface_move -- seat->touch is NULL
which
clearly causes a SEGV:
    } else if (seat->touch->grab_serial == serial) {

I don't have any touch devices. Should there be some extra check here?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20130828/e405ab30/attachment.html>


More information about the Wayland-bugs mailing list