Bug 104239 - Weston crash in multihead/x11/nested client exit, window fade out
Summary: Weston crash in multihead/x11/nested client exit, window fade out
Status: RESOLVED MOVED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-13 12:48 UTC by Pekka Paalanen
Modified: 2018-06-08 23:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pekka Paalanen 2017-12-13 12:48:59 UTC
1. Running Xorg, start a parent Weston:
  $ weston --use-pixman --output-count=2 --width=700

2. open a weston-terminal

3. run child Weston from an X11 terminal outside of parent weston
  $ WAYLAND_DISPLAY=wayland-0 weston --use-pixman --fullscreen

4. mouse over the child window

5. Hit Ctrl-C in the X11 terminal where the child is running.

6. After the fade-out animation finishes, the parent Weston crashes:

==10922== Invalid read of size 8
==10922==    at 0x4E43A70: wl_signal_emit (wayland-server-core.h:467)
==10922==    by 0x4E487FB: weston_surface_destroy (compositor.c:1900)
==10922==    by 0xE54B151: fade_out_done_idle_cb (shell.c:2281)
==10922==    by 0x5081C0B: wl_event_loop_dispatch_idle (event-loop.c:600)
==10922==    by 0x5081CC1: wl_event_loop_dispatch (event-loop.c:646)
==10922==    by 0x5080454: wl_display_run (wayland-server.c:1245)
==10922==    by 0x4088E8: main (main.c:2140)
==10922==  Address 0x8 is not stack'd, malloc'd or (recently) free'd

Could be weston_surface destroy_signal list corruption or something.

Note, that I had to do all the steps exactly as above. Skip a step, and the crash does not happen.
Comment 1 GitLab Migration User 2018-06-08 23:55:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/wayland/weston/issues/97.


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.