Created attachment 122871 [details]
Not very useful trace of the segfault
Created attachment 123093 [details]
Stack trace of the crash
Here is a more useful stack trace of this crash, where we can see pointer->focus_client is NULL.
This issue is actually Weston trying to send axis events to clients not having any wl_pointer bound, which leads to this crash. It also happens when simply scrolling over weston-simple-shm.
This should fix it: https://patchwork.freedesktop.org/patch/82561/
Author: Jonas Ådahl <email@example.com>
Date: Thu Apr 21 10:21:48 2016 +0800
input: Don't try to send axis_source when there are no resources
The focus_client pointer may be NULL here if the focused client has no
pointer resources. To avoid a crash, NULL check focus client before
proceeding to send the events.
Signed-off-by: Jonas Ådahl <firstname.lastname@example.org>
Reviewed-by: Mike Blumenkrantz <email@example.com>