Bug 73890

Summary: VT-switching crashes weston
Product: Wayland Reporter: Anu Reddy <anasuyax.r.nannuri>
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: vt-switch gdb-backtrace

Description Anu Reddy 2014-01-21 18:21:04 UTC
Rapid vt-switching from Weston to console using <ctrl>+<alt> +<fn> triggers segmentation fault in wl_list_insert().  

1. Launch Weston
2. VT-switching between weston to Console several times using <ctrl>+<alt>+<Fn>.
3. Observe Weston crash. See attached gdb backtrace for more details.


Environment:
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-21 18:23:26 UTC
Created attachment 92537 [details]
vt-switch gdb-backtrace
Comment 2 U. Artie Eoff 2014-01-23 20:31:41 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.