Bug 73983 - Weston crashes on hotplug/unplug input device
Summary: Weston crashes on hotplug/unplug input device
Status: VERIFIED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium critical
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-23 17:32 UTC by Anu Reddy
Modified: 2014-01-23 21:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Input device gdb_backtrace (7.30 KB, text/plain)
2014-01-23 17:34 UTC, Anu Reddy
Details
input-touch-gbdbacktrace (6.41 KB, text/plain)
2014-01-23 17:52 UTC, Anu Reddy
Details
input_malloc_gdbbacktrace (3.69 KB, text/plain)
2014-01-23 17:53 UTC, Anu Reddy
Details

Description Anu Reddy 2014-01-23 17:32:52 UTC
Hot unplug and plug input device (mouse, keyboard or touch) multiple times triggers SIGSEGV in wl_list_insert(). Perform a function while unplugging and plugging input device crashes Weston. See attached gdb backtrace for more info. 


Software Stack
Kernel: 3.9.5-301.fc19.x86_64
wayland (HEAD) remotes/origin/master-0-g47bbc6b
drm (HEAD) libdrm-2.4.50-0-g4c5de72
mesa (HEAD) remotes/origin/10.0-0-g3a62718
libva (HEAD) libva-1.2.1-0-g88ed1eb
intel-driver (HEAD) 1.2.1-0-g8f306e3
weston (HEAD) 1.3.93-0-g7cccfca
Comment 1 Anu Reddy 2014-01-23 17:34:52 UTC
Created attachment 92686 [details]
Input device gdb_backtrace
Comment 2 Anu Reddy 2014-01-23 17:52:10 UTC
Created attachment 92688 [details]
input-touch-gbdbacktrace
Comment 3 Anu Reddy 2014-01-23 17:53:40 UTC
Created attachment 92689 [details]
input_malloc_gdbbacktrace
Comment 4 U. Artie Eoff 2014-01-23 20:31:03 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.