Summary: | Weston crashes (Segmentation fault) immediately on specifying seat | ||
---|---|---|---|
Product: | Wayland | Reporter: | Anu Reddy <anasuyax.r.nannuri> |
Component: | weston | Assignee: | 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: | bad-seat-gdb-backtrace.out |
Description
Anu Reddy
2014-04-15 21:52:15 UTC
Created attachment 97428 [details]
bad-seat-gdb-backtrace.out
This one seems to be cause by an API change done for introducing libinput support. Commit 58e15865 changed the parameters for udev_get_seat_by_name() to receive a struct udev_input. However, when this gets called from create_output_for_connector() during initialization, we haven't initialized that udev_input structure, leading to the crash. commit 6f4c63740bd6d360f74568501d3748adeb0e5e29 Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Date: Thu Apr 17 13:08:45 2014 +0300 compositor-drm: Fix crash when setting up seat constrained by an output Commit 58e15865 changed the parameters for udev_get_seat_by_name() to receive a struct udev_input. However, when this gets called from create_output_from_connector() during initialization, the input struct is not yet initialized, leading to a crash. Previously, that function would take only a pointer to the compositor. This patch fixes the crash by initializing input before creating any outputs. https://bugs.freedesktop.org/show_bug.cgi?id=77503 |
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.