Bug 66001

Summary: SIGSEGV when client is stopped and weston-desktop-shell tries to set the cursor image
Product: Wayland Reporter: Samuel Iglesias Gonsálvez <siglesias>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch that fixes the SIGSEGV

Description Samuel Iglesias Gonsálvez 2013-06-21 08:23:47 UTC
Created attachment 81154 [details]
Patch that fixes the SIGSEGV

weston (master) commit 8a4a9eb2e4c6c6c0ba98e2d3afdb796f8745eaa5

I executed weston-terminal, stop it and try to click on it or move the window. Then weston-desktop-shell failed with the following GDB output

(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
pointer_handle_motion (data=0x1655f40, pointer=<optimized out>, time=1707320031,
    sx_w=131840, sy_w=131840) at window.c:2818
2818                    cursor = input->focus_widget->default_cursor;
(gdb)

The attached patch fixes this bug.
Comment 1 U. Artie Eoff 2013-06-21 15:30:10 UTC

*** This bug has been marked as a duplicate of bug 65961 ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.