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

          Priority: medium
            Bug ID: 64689
          Assignee: [email protected]
           Summary: NULL deref in busy_cursor_grab_focus causes SEGV
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: weston
           Product: Wayland

Created attachment 79444
  --> https://bugs.freedesktop.org/attachment.cgi?id=79444&action=edit
weston gdb backtrace

Weston crashes due to a NULL deref in busy_cursor_grab_focus() on
"grab->shsurf" (see attached gdb backtrace).  This is triggered with various
clutter and efl client test cases that I've tried.  If you run the following
clutter conform test, you can trigger the crash about 95% of the time:

./test-conformance -k --verbose -p /conform/actor/actor_pick  

When weston crashes, it prints the following message to the console:

[15:12:54.169] caught signal: 11
[15:12:54.170]   [000000000040e176]  --  (weston)
[15:12:54.170]   [000000000040e25e]  --  (weston)
[15:12:54.170]   [00007f70b2a03fe0]  --  (/lib64/libpthread.so.0)
[15:12:54.170]   [00007f70ad63b00c]  -- 
(/home/uartie/Work/intel/wayland/install/lib/weston/desktop-shell.so)
[15:12:54.170]   [000000000040f67d]  --  (weston)
[15:12:54.170]   [000000000040a86a]  --  (weston)
[15:12:54.170]   [000000000040b834]  --  (weston)
[15:12:54.170]   [000000000040ba1d]  weston_output_finish_frame  (weston)
[15:12:54.170]   [00007f70b0fdd438]  -- 
(/home/uartie/Work/intel/wayland/install/lib/weston/x11-backend.so)
[15:12:54.170]   [00007f70b0fdd736]  -- 
(/home/uartie/Work/intel/wayland/install/lib/weston/x11-backend.so)
[15:12:54.170]   [00007f70b349d29b]  -- 
(/home/uartie/Work/intel/wayland/install/lib/libwayland-server.so.0)
[15:12:54.170]   [00007f70b349dba4]  wl_event_loop_dispatch 
(/home/uartie/Work/intel/wayland/install/lib/libwayland-server.so.0)
[15:12:54.170]   [00007f70b349b673]  wl_display_run 
(/home/uartie/Work/intel/wayland/install/lib/libwayland-server.so.0)
[15:12:54.170]   [000000000040ee88]  --  (weston)
[15:12:54.170]   [0000003763221735]  __libc_start_main  (/lib64/libc.so.6)
[15:12:54.170]   [0000000000407659]  --  (weston)

It appears that the client-side crashes before the server-side.

First bad Weston commit is be6403ed5c4fdab884d391778e2572aae109f1a0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to