Crash in wl_signal_add when activating a window
Another crash I got with latest Weston nested under X11 (not sure if the setup is relevant), playing around with chrome.exe running with Wine Wayland. I have attached the -llog,proto
output: weston-bug-650.log.gz, and here is the backtrace:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f4faa020333 in wl_list_insert () from /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
[Current thread is 1 (Thread 0x7f4fa98c88c0 (LWP 44807))]
(gdb) bt
#0 0x00007f4faa020333 in wl_list_insert () at /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#1 0x00007f4f9e76cb42 in wl_signal_add (signal=0x556c760b55e8, listener=0x556c7593c328)
at /usr/include/wayland-server-core.h:447
#2 0x00007f4f9e76dddf in focus_state_set_focus (state=0x556c7593c2e0, surface=0x556c760b55e0)
at ../desktop-shell/shell.c:687
#3 0x00007f4f9e7736ee in activate
(shell=0x556c7605cfa0, view=0x556c760c6930, seat=0x556c7585ece0, flags=3)
at ../desktop-shell/shell.c:3392
#4 0x00007f4f9e7737f4 in activate_binding
(seat=0x556c7585ece0, shell=0x556c7605cfa0, focus_view=0x556c760c6930, flags=3)
at ../desktop-shell/shell.c:3427
#5 0x00007f4f9e77385a in click_to_activate_binding
(pointer=0x556c76012ec0, time=0x7ffffa97d660, button=272, data=0x556c7605cfa0)
at ../desktop-shell/shell.c:3440
#6 0x00007f4fa9da8932 in weston_compositor_run_button_binding
(compositor=0x556c75857430, pointer=0x556c76012ec0, time=0x7ffffa97d660, button=272, state=WL_POINTER_BUTTON_STATE_PRESSED) at ../libweston/bindings.c:374
#7 0x00007f4fa9dc4f1a in notify_button
(seat=0x556c7585ece0, time=0x7ffffa97d660, button=272, state=WL_POINTER_BUTTON_STATE_PRESSED)
at ../libweston/input.c:1902
#8 0x00007f4faa053bcd in x11_backend_deliver_button_event (b=0x556c7585ec40, event=0x556c7601db60)
at ../libweston/backend-x11/x11.c:1411
#9 0x00007f4faa054285 in x11_backend_handle_event (fd=10, mask=1, data=0x556c7585ec40)
at ../libweston/backend-x11/x11.c:1608
#10 0x00007f4fa9d8789a in wl_event_loop_dispatch (loop=0x556c75855330, timeout=timeout@entry=-1)
at ../src/event-loop.c:1027
#11 0x00007f4fa9d85365 in wl_display_run (display=0x556c75855240) at ../src/wayland-server.c:1431
#12 0x00007f4faa06b7cc in wet_main (argc=1, argv=0x7ffffa97e008, test_data=0x0)
at ../compositor/main.c:3822
#13 0x0000556c755d815e in main (argc=8, argv=0x7ffffa97e008) at ../compositor/executable.c:33
Edited by Alexandros Frantzis