Crash when opening GNOME Web
This is very odd, happened only once so far, and I cannot reproduce it reliably - sorry. The backtrace:
#0 wl_resource_get_client (resource=0x0) at ../wayland-1.21.0/src/wayland-server.c:799
(gdb) bt
#0 wl_resource_get_client (resource=0x0) at ../wayland-1.21.0/src/wayland-server.c:799
#1 0x00007f28d7fd5ab7 in handle_output_bound (wayland_output=0x564f740f6370 [MetaWaylandOutput], output_resource=0x564f754fce70, surface=0x564f75457af0 [MetaWaylandSurface])
at ../src/wayland/meta-wayland-surface.c:1287
#5 0x00007f28d8b6204f in <emit signal ??? on instance 0x564f740f6370 [MetaWaylandOutput]> (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>)
at ../gobject/gsignal.c:3612
#2 0x00007f28d8b48440 in g_closure_invoke
(closure=0x564f75293730, return_value=return_value@entry=0x0, n_param_values=2, param_values=param_values@entry=0x7ffcfb09b7c0, invocation_hint=invocation_hint@entry=0x7ffcfb09b740)
at ../gobject/gclosure.c:832
#3 0x00007f28d8b5b316 in signal_emit_unlocked_R
(node=node@entry=0x564f740f6e10, detail=detail@entry=0, instance=instance@entry=0x564f740f6370, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffcfb09b7c0) at ../gobject/gsignal.c:3802
#4 0x00007f28d8b61e85 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7ffcfb09b960)
at ../gobject/gsignal.c:3555
#6 0x00007f28d7fc6b34 in bind_output (client=0x564f747f0340, data=0x564f740f6370, version=3, id=6) at ../src/wayland/meta-wayland-outputs.c:347
#7 0x00007f28d73db4f6 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#8 0x00007f28d73d7f5e in ffi_call_int (cif=cif@entry=0x7ffcfb09bc80, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#9 0x00007f28d73dab73 in ffi_call (cif=cif@entry=0x7ffcfb09bc80, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffcfb09bd50) at ../src/x86/ffi64.c:710
#10 0x00007f28d5243ada in wl_closure_invoke (closure=closure@entry=0x564f74343590, target=<optimized out>, target@entry=0x564f76f7b900, opcode=opcode@entry=0, data=<optimized out>,
data@entry=0x564f747f0340, flags=2) at ../wayland-1.21.0/src/connection.c:1025
#11 0x00007f28d524801c in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=<optimized out>) at ../wayland-1.21.0/src/wayland-server.c:437
#12 0x00007f28d52469e2 in wl_event_loop_dispatch (loop=0x564f73f5ad90, timeout=<optimized out>) at ../wayland-1.21.0/src/event-loop.c:1027
#13 0x00007f28d7fb4ed5 in wayland_event_source_dispatch (base=0x564f73f5aea0, callback=0x0, data=0x0) at ../src/wayland/meta-wayland.c:114
#14 0x00007f28d8531bcd in g_main_dispatch (context=0x564f73aa24a0) at ../glib/gmain.c:3460
#15 g_main_context_dispatch (context=context@entry=0x564f73aa24a0) at ../glib/gmain.c:4200
#16 0x00007f28d8531e78 in g_main_context_iterate (context=0x564f73aa24a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4276
#17 0x00007f28d853212f in g_main_loop_run (loop=0x564f75591120) at ../glib/gmain.c:4479
#18 0x00007f28d7f14d02 in meta_context_run_main_loop (context=0x564f73aa03d0 [MetaContextMain], error=0x7ffcfb09c3c0) at ../src/core/meta-context.c:482
#19 0x0000564f730dbb8a in main (argc=1, argv=0x7ffcfb09c4f8) at ../src/main.c:663
Seems like I have enough debug symbols to print the args too:
(gdb) print *wayland_output
$1 = {parent = {g_type_instance = {g_class = 0x564f740f6c20 [g_type: MetaWaylandOutput]}, ref_count = 2, qdata = 0x0}, global = 0x564f740f63d0, mode_flags = 3, refresh_rate = 59.996624,
scale = 2, transform = META_MONITOR_TRANSFORM_NORMAL, mode_width = 3840, mode_height = 2160, resources = 0x564f771acdc0 = {0x564f754fce70, 0x564f778f96c0, 0x564f740c14d0, 0x564f75fcbdc0,
0x564f74226270, 0x564f75dc4210, 0x564f741f25a0, 0x564f75ff6890, 0x564f76ea9420, 0x564f766f2bc0, 0x564f74c6da90, 0x564f74cf4800, 0x564f74f09a20, 0x564f75128610, 0x564f75165d70,
0x564f760b1d30, 0x564f7609b0a0}, xdg_output_resources = 0x564f759d7980 = {0x564f759b27e0, 0x564f76711490, 0x564f75611840, 0x564f755f3b40, 0x564f744e68e0, 0x564f761facd0, 0x564f74fbfca0,
0x564f7672d7c0, 0x564f76e54f00, 0x564f74c74810, 0x564f74cd3470, 0x564f74f02bd0, 0x564f75117c90, 0x564f75159420, 0x564f751a3fb0, 0x564f7609b2e0}, monitor = 0x564f73f39ae0 [MetaMonitorNormal]}
(gdb) print *output_resource
$2 = {object = {interface = 0x7f28d524f680 <wl_output_interface>, implementation = 0x7f28d80fd160 <meta_wl_output_interface>, id = 6}, destroy = 0x7f28d7fc639f <output_resource_destroy>, link = {
prev = 0x0, next = 0x0}, destroy_signal = {listener_list = {prev = 0x564f754fcea0, next = 0x564f754fcea0}}, client = 0x564f747f0340, data = 0x564f740f6370}
(gdb) print *surface
$3 = {parent = {g_type_instance = {g_class = 0x564f760ae4e0 [g_type: MetaWaylandSurface]}, ref_count = 1, qdata = 0x564f75d1c3b0}, resource = 0x0,
compositor = 0x564f73f5aae0 [MetaWaylandCompositor], role = 0x564f7719b710 [MetaWaylandXdgToplevel], input_region = 0x564f759235e0, opaque_region = 0x0, scale = 1, offset_x = 0, offset_y = 0,
outputs = 0x564f7428abf0 = {[0x564f740f6370] = 0x564f740f6370}, buffer_transform = META_MONITOR_TRANSFORM_NORMAL, buffer = 0x564f76e9d5d0 [MetaWaylandBuffer], buffer_held = 1, unassigned = {
pending_frame_callback_list = {prev = 0x564f75457b60, next = 0x564f75457b60}, buffer = 0x0}, dnd = {funcs = 0x7f28d80fcf00 <meta_wayland_drag_dest_funcs>}, pending_state = 0x0,
output_state = {parent = 0x0, subsurface_branch_node = 0x564f75539ae0, subsurface_leaf_node = 0x564f74698040, texture = 0x564f7676b660}, protocol_state = {parent = 0x0,
subsurface_branch_node = 0x0, subsurface_leaf_node = 0x564f74543c30, texture = 0x0}, wl_subsurface = 0x0, sub = {x = 0, y = 0, synchronous = 0, transaction = 0x0}, viewport = {
resource = 0x0, destroy_handler_id = 0, has_src_rect = 0, src_rect = {origin = {x = -1, y = -1}, size = {width = -1, height = -1}}, has_dst_size = 1, dst_width = 300, dst_height = 350},
fractional_scale = {resource = 0x0, destroy_handler_id = 0, scale = 0}, shortcut_inhibited_seats = 0x564f75d69a20, presentation_time = {feedback_list = {prev = 0x564f7565b4e0,
next = 0x564f7565b4e0}, last_output = 0x564f740f6370 [MetaWaylandOutput], last_output_sequence = 1192, is_last_output_sequence_valid = 1, needs_sequence_update = 0, sequence = 202},
scanout_candidate = 0x0, transaction = {first_committed = 0x0, last_committed = 0x0}}