segfault in st_scroll_view_dispose when locking screen
A new segfault error appeared this time, with the same consequences as with libwayland.0 segfault: Gnome-Shell shuts everything down and then starts a completely new session with all programs closed.
ArchLinux with Gnome 43.3, Mutter 43.3, wayland 21.0, glib2 2.76.0
Journalctl Out:
kernel: gnome-shell[2693]: segfault at 6 ip 00007f664ab12ab7 sp 00007ffe7fe66a10 error 4 in libgobject-2.0.so.0.7600.0[7f664aae8000+34000] likely on CPU 4 (core 8, socket 0)
Backtrace:
(gdb) bt full
#0 g_type_check_instance_cast (type_instance=type_instance@entry=0x560ddff21780, iface_type=Python Exception <class 'TypeError'>: can only concatenate str (not "NoneType") to str
) at ../glib/gobject/gtype.c:4198
node = <optimized out>
iface = <optimized out>
is_instantiatable = <optimized out>
check = <optimized out>
#1 0x00007f664a3f2a3a in st_scroll_view_dispose (object=0x560de2597580) at ../gnome-shell/src/st/st-scroll-view.c:246
priv = 0x560de25970f0
#2 0x00007f664aafb2d3 in g_object_unref (_object=0x560de2597580) at ../glib/gobject/gobject.c:3891
weak_locations = <optimized out>
nqueue = 0x560de0999df0
object = 0x560de2597580
old_ref = <optimized out>
__func__ = "g_object_unref"
#3 0x00007f6649b0077e in GjsAutoPointer<_GObject, void, &g_object_unref, &g_object_ref>::reset(_GObject*) (ptr=0x0, this=<optimized out>) at ../gjs/gjs/jsapi-util.h:228
old_ptr = <optimized out>
#4 GjsAutoPointer<_GObject, void, &g_object_unref, &g_object_ref>::~GjsAutoPointer() (this=<optimized out>, this=<optimized out>) at ../gjs/gjs/jsapi-util.h:171
#5 GjsSmartPointer<_GObject>::~GjsSmartPointer() (this=<optimized out>, this=<optimized out>) at ../gjs/gjs/jsapi-util.h:348
#6 ObjectInstance::release_native_object() (this=0x560de25d53c0) at ../gjs/gi/object.cpp:1524
#7 0x00007f6649b0e5a8 in ObjectInstance::~ObjectInstance() (this=0x560de25d53c0, this=<optimized out>) at ../gjs/gi/object.cpp:1945
was_using_toggle_refs = false
had_toggle_up = false
had_toggle_down = <optimized out>
query = Python Exception <class 'TypeError'>: can only concatenate str (not "NoneType") to str
{type = , type_name = 0x7f664a43eb90 "StScrollView", class_size = 664, instance_size = 48}
priv = 0x560de25d53c0
#8 GIWrapperInstance<ObjectBase, ObjectPrototype, ObjectInstance, _GObject>::finalize_impl(JS::GCContext*, JSObject*) (this=0x560de25d53c0) at ../gjs/gi/wrapperutils.h:1112
query = Python Exception <class 'TypeError'>: can only concatenate str (not "NoneType") to str
{type = , type_name = 0x7f664a43eb90 "StScrollView", class_size = 664, instance_size = 48}
priv = 0x560de25d53c0
#9 ObjectInstance::finalize_impl(JS::GCContext*, JSObject*) (gcx=<optimized out>, obj=0x1659070c8698, this=0x560de25d53c0) at ../gjs/gi/object.cpp:1912
query = Python Exception <class 'TypeError'>: can only concatenate str (not "NoneType") to str
{type = , type_name = 0x7f664a43eb90 "StScrollView", class_size = 664, instance_size = 48}
priv = 0x560de25d53c0
#10 GIWrapperBase<ObjectBase, ObjectPrototype, ObjectInstance>::finalize(JS::GCContext*, JSObject*) (gcx=<optimized out>, obj=0x1659070c8698) at ../gjs/gi/wrapperutils.h:410
priv = 0x560de25d53c0
#11 0x00007f6647ae5a3d in () at /usr/lib/libmozjs-102.so
#12 0x00007f6647ae063d in () at /usr/lib/libmozjs-102.so
#13 0x00007f6647cef811 in () at /usr/lib/libmozjs-102.so
#14 0x00007f664807b200 in () at /usr/lib/libmozjs-102.so
#15 0x00007f664807b812 in () at /usr/lib/libmozjs-102.so
#16 0x00007f664807b02e in () at /usr/lib/libmozjs-102.so
#17 0x00007f664807b812 in () at /usr/lib/libmozjs-102.so
#18 0x00007f664807a9d7 in () at /usr/lib/libmozjs-102.so
#19 0x00007f6647b015e8 in () at /usr/lib/libmozjs-102.so
#20 0x00007f6647afde4a in () at /usr/lib/libmozjs-102.so
#21 0x00007f6647af8e64 in () at /usr/lib/libmozjs-102.so
#22 0x00007f6647af5e8b in () at /usr/lib/libmozjs-102.so
#23 0x00007f6647cd5926 in () at /usr/lib/libmozjs-102.so
#24 0x00007f6649b238f7 in GjsContextPrivate::trigger_gc_if_needed(void*) (data=0x560ddebdb080) at ../gjs/gjs/context.cpp:835
gjs = 0x560ddebdb080
#25 0x00007f664a53b322 in g_timeout_dispatch (source=0x560ddf9db480, callback=<optimized out>, user_data=<optimized out>) at ../glib/glib/gmain.c:5054
timeout_source = 0x560ddf9db480
again = <optimized out>
#26 0x00007f664a53aafb in g_main_dispatch (context=0x560dde8564b0) at ../glib/glib/gmain.c:3460
dispatch = 0x7f664a53b2f0 <g_timeout_dispatch>
prev_source = 0x0
begin_time_nsec = 5760288848205
was_in_call = 0
user_data = 0x560ddebdb080
callback = 0x7f6649b238d0 <GjsContextPrivate::trigger_gc_if_needed(void*)>
cb_funcs = 0x7f664a629380 <g_source_callback_funcs>
cb_data = 0x560ddff478a0
need_destroy = <optimized out>
source = 0x560ddf9db480
current = 0x560dde85e090
i = 0
#27 g_main_context_dispatch (context=0x560dde8564b0) at ../glib/glib/gmain.c:4200
#28 0x00007f664a5975d9 in g_main_context_iterate.constprop.0 (context=0x560dde8564b0, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
max_priority = 2147483647
timeout = 815
some_ready = 1
nfds = 17
allocated_nfds = <optimized out>
fds = <optimized out>
begin_time_nsec = 5759472727392
#29 0x00007f664a53a0cf in g_main_loop_run (loop=0x560de04217d0) at ../glib/glib/gmain.c:4479
__func__ = "g_main_loop_run"
#30 0x00007f66496d0a6b in meta_context_run_main_loop (context=context@entry=0x560dde8543e0, error=error@entry=0x7ffe7fe67350) at ../mutter/src/core/meta-context.c:465
priv = 0x560dde854370
__func__ = "meta_context_run_main_loop"
#31 0x0000560dde09048d in main (argc=<optimized out>, argv=<optimized out>) at ../gnome-shell/src/main.c:582
context = 0x560dde8543e0
error = 0x0
ecode = 0
Thanks for taking a look.
Edited by Sebastian Keller