Periodic crash in apps at g_type_check_instance_is_fundamentally_a
I am working on something locally in Orca that sometimes, though not reliably crashes Evolution. Here's a sample stacktrace:
Thread 1 "evolution" received signal SIGSEGV, Segmentation fault.
g_type_check_instance_is_fundamentally_a (type_instance=0x563a0dcee110, fundamental_type=0x50) at ../gobject/gtype.c:4166
Downloading source file /usr/src/debug/glib2-2.76.4-3.fc38.x86_64/redhat-linux-build/../gobject/gtype.c
4166 node = lookup_type_node_I (type_instance->g_class->g_type);
(gdb) bt
#0 g_type_check_instance_is_fundamentally_a (type_instance=0x563a0dcee110, fundamental_type=0x50) at ../gobject/gtype.c:4166
#1 0x00007fd0693b3bf8 in g_object_ref (_object=_object@entry=0x563a0dcee110) at ../gobject/gobject.c:3775
#2 0x00007fd064ab2400 in spi_leasing_take (leasing=0x563a0bc8fd70, object=object@entry=0x563a0dcee110) at ../atk-adaptor/accessible-leasing.c:197
#3 0x00007fd064ab2477 in spi_object_lease_if_needed (obj=0x563a0dcee110) at ../atk-adaptor/object.c:63
#4 0x00007fd064ab24b5 in spi_object_append_reference (iter=iter@entry=0x7ffc01a385e0, obj=0x563a0dcee110) at ../atk-adaptor/object.c:105
#5 0x00007fd064ab694b in return_and_free_list (message=message@entry=0x563a0dfda1c0, ls=ls@entry=0x563a0cf97640 = {...}) at ../atk-adaptor/adaptors/collection-adaptor.c:745
#6 0x00007fd064ab8be9 in impl_GetMatches (bus=<optimized out>, message=0x563a0dfda1c0, user_data=<optimized out>) at ../atk-adaptor/adaptors/collection-adaptor.c:1313
#7 0x00007fd064abb8b0 in handle_other
(pathstr=0x563a0de768b8 "/org/a11y/atspi/accessible/671", member=0x563a0de76918 "GetMatches", iface=<optimized out>, path=0x563a0bc8ecb0, message=0x563a0dfda1c0, bus=0x563a0dfddc00) at ../droute/droute.c:558
#8 handle_message (bus=0x563a0dfddc00, message=message@entry=0x563a0dfda1c0, user_data=user_data@entry=0x563a0bc8ecb0) at ../droute/droute.c:605
#9 0x00007fd05f78c314 in _dbus_object_tree_dispatch_and_unlock (found_object=<synthetic pointer>, message=<optimized out>, tree=0x563a0d73e4b0)
at ../../dbus/dbus-object-tree.c:1021
#10 dbus_connection_dispatch (connection=0x563a0dfddc00) at ../../dbus/dbus-connection.c:4758
#11 dbus_connection_dispatch (connection=connection@entry=0x563a0dfddc00) at ../../dbus/dbus-connection.c:4586
#12 0x00007fd05f7d86a1 in message_queue_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at ../atspi/atspi-gmain.c:89
#13 0x00007fd06a04048c in g_main_dispatch (context=0x563a0bc3cb60) at ../glib/gmain.c:3460
#14 g_main_context_dispatch (context=0x563a0bc3cb60) at ../glib/gmain.c:4200
#15 0x00007fd06a09e648 in g_main_context_iterate.isra.0 (context=0x563a0bc3cb60, block=1, dispatch=1, self=<optimized out>) at ../glib/gmain.c:4276
#16 0x00007fd06a03fa8f in g_main_loop_run (loop=0x563a0c242200) at ../glib/gmain.c:4479
#17 0x00007fd069a06975 in gtk_main () at ../gtk/gtkmain.c:1329
#18 0x0000563a0ab6b7b1 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/evolution-3.48.4-1.fc38.x86_64/src/shell/main.c:793
I tried to reproduce it again to get more information and, of course, now it won't crash.
@mgorse: Related to all this, periodically I launch Orca and, after a long pause, gnome-shell restarts itself and Chromium based apps (VSCode, Chrome) crash. I cannot reproduce this reliably either. I'll see if I can. But I think there's something I and/or you are doing that is making apps unhappy.