Bug 73899

Summary: SIGSEGV Repeated output hotplug/unplug crashes Weston
Product: Wayland Reporter: U. Artie Eoff <ullysses.a.eoff>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: gdb backtrace
weston log

Description U. Artie Eoff 2014-01-21 21:19:24 UTC
Created attachment 92545 [details]
gdb backtrace

Weston crashes with repeated output hotplug/unplug.  Strangely, the weston log indicates that the touch device connected to the system "dies" every time the display is unplugged.  Also, in this instance there were no udev rules mapping the touch device to this output... although, that touch device is part of this particular output.

wayland (master) heads/master-0-g47bbc6b
drm (master) libdrm-2.4.50-0-g4c5de72
mesa (master) heads/master-0-g4cd8011
libva (master) libva-1.2.1-0-g88ed1eb
intel-driver (master) 1.2.1-0-g8f306e3
weston (master) 1.3.93-0-g7cccfca
Comment 1 U. Artie Eoff 2014-01-21 21:19:51 UTC
Created attachment 92546 [details]
weston log
Comment 2 U. Artie Eoff 2014-01-23 20:31:23 UTC
Caused by a corrupted output->destroy_signal list.  The following commit also resolves this issue:

commit 8259728a569e973a8895b919ba057740a813f52a
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Wed Jan 22 11:03:50 2014 -0800

    evdev: Remove output destroy notifier on device destroy
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73895

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.