Bug 69722

Summary: SIGSEGV in wl_resource_get_client(...)
Product: Wayland Reporter: U. Artie Eoff <ullysses.a.eoff>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: VERIFIED FIXED QA Contact:
Severity: blocker    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Weston Segmentation Fault GDB Backtrace

Description U. Artie Eoff 2013-09-23 16:17:34 UTC
Created attachment 86397 [details]
Weston Segmentation Fault GDB Backtrace

Weston segfaults due to a NULL dereference in wl_resource_get_client().  See attached gdb backtrace for more details.

This is triggered 100% of the time with the WindowFullscreenTest in wayland-fits and possibly related to Bug 65728.

This started happening within the following commit window:

wayland (master) ba90497b87 minus 8 commits
weston (master) eeefc9e311 minus 25 commits

prior to those commits, this issue was not seen.

Software stack tested:

wayland (master) heads/master-0-g4125367
drm (master) heads/master-0-g0f4452b
mesa (master) heads/master-0-g6d29db7
libva (master) heads/master-0-g73a11b3
intel-driver (master) heads/master-0-gd22d367
weston (master) 1.2.91-0-g7799385
gstreamer (1.0) heads/1.0-0-g4e880d4
gst-plugins-base (1.0) heads/1.0-0-g2dd3f02
gst-plugins-good (1.0) heads/1.0-0-g643d425
gst-plugins-bad (1.0) heads/1.0-0-g3cbf8da
gst-ffmpeg (1.0) 1.0.10-0-g674bad6
efl (master) heads/master-0-g94e6f6a
elementary (master) heads/master-0-gefcd1cb
e-theme-dark (master) heads/master-0-g178aa4e
wfits (master) heads/master-0-g8e24334
Comment 1 Kristian Høgsberg 2013-09-23 20:54:10 UTC
Fixed in

commit 0481054c584165e2a2377a0ed4257c339ef32ade
Author: Giulio Camuffo <giuliocamuffo@gmail.com>
Date:   Mon Sep 23 12:33:39 2013 +0200

    input: check that the new focus surface has a valid resource
    
    Here too we must make sure the surface has a valid resource, as
    there are some (xwayland, surfaces created by the shell) that
    don't have it.
    Fix a Weston crash when setting a mpv window fullscreen on drm.

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.