resize crash: assert(!view->transform.dirty);
Assert triggered in weston_view_from_global_float()
:
assert(!view->transform.dirty);
Thread 1 "weston" received signal SIGABRT, Aborted.
__pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: No such file or directory.
(gdb) where
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3 0x00007f96ab03bc46 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007f96ab0227fc in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007f96ab02271b in __assert_fail_base
(fmt=0x7f96ab1bac30 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7f96ab2e4663 "!view->transform.dirty", file=0x7f96ab2e4545 "../libweston/compositor.c", line=1460, function=<optimized out>) at ./assert/assert.c:92
#6 0x00007f96ab033596 in __GI___assert_fail
(assertion=0x7f96ab2e4663 "!view->transform.dirty", file=0x7f96ab2e4545 "../libweston/compositor.c", line=1460, function=0x7f96ab2e6360 <__PRETTY_FUNCTION__.56> "weston_view_from_global_float") at ./assert/assert.c:101
#7 0x00007f96ab2abe75 in weston_view_from_global_float (view=0x55a391adbc90, x=306.53125, y=1697.68359, vx=0x7ffe46238130, vy=0x7ffe46238134)
at ../libweston/compositor.c:1460
#8 0x00007f96ab2abf8f in weston_view_from_global_fixed (view=0x55a391adbc90, x=78472, y=434607, vx=0x7ffe46238178, vy=0x7ffe4623817c)
at ../libweston/compositor.c:1477
#9 0x00007f96a124d8b2 in resize_grab_motion (grab=0x55a391acca70, time=0x7ffe46238240, event=0x7ffe46238250) at ../desktop-shell/shell.c:1157
#10 0x00007f96ab2c2daf in notify_motion (seat=0x55a3919e1b40, time=0x7ffe46238240, event=0x7ffe46238250) at ../libweston/input.c:1807
#11 0x00007f96aa6550e7 in handle_pointer_motion (libinput_device=0x55a391a08e50, pointer_event=0x55a391aa9b20) at ../libweston/libinput-device.c:132
#12 0x00007f96aa655e25 in evdev_device_process_event (event=0x55a391aa9b20) at ../libweston/libinput-device.c:532
#13 0x00007f96aa65436f in udev_input_process_event (event=0x55a391aa9b20) at ../libweston/libinput-seat.c:208
#14 0x00007f96aa654391 in process_event (event=0x55a391aa9b20) at ../libweston/libinput-seat.c:218
#15 0x00007f96aa6543c0 in process_events (input=0x55a3912025e0) at ../libweston/libinput-seat.c:228
#16 0x00007f96aa65442d in udev_input_dispatch (input=0x55a3912025e0) at ../libweston/libinput-seat.c:239
#17 0x00007f96aa65445e in libinput_source_dispatch (fd=18, mask=1, data=0x55a3912025e0) at ../libweston/libinput-seat.c:249
#18 0x00007f96ab2730fa in wl_event_loop_dispatch () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#19 0x00007f96ab2738d5 in wl_display_run () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#20 0x00007f96ab32c6d0 in wet_main (argc=1, argv=0x7ffe46238c18, test_data=0x0) at ../compositor/main.c:3891
#21 0x000055a38ffa4172 in main (argc=1, argv=0x7ffe46238c18) at ../compositor/executable.c:33
To reproduce:
- Launch weston
- Launch chromium browser and play a video in it.
- Resize the browser window.
Expected result: resized window.
Actual result: assertion triggered.
Version: HEAD in git repo: commit 9a386f5d