meta_window_get_workspaces: code should not be reached when gnome-shell tries to move/resize unmanaging window
Using Debian sid/unstable with libmutter-12-0 44.7-1 and gnome-shell 44.7-1, GNOME Shell showed the big fail whale.
Dez 23 16:25:01 abreu CRON[187636]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
Dez 23 16:25:01 abreu CRON[187637]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Dez 23 16:25:01 abreu CRON[187636]: pam_unix(cron:session): session closed for user root
Dez 23 16:27:52 abreu gnome-shell[2084]: Failed to set the markup of the actor '<unnamed>[<ClutterText>:0x5646354c0450]': Fehler in Zeile 1, Zeichen 14: »<« ist kein gültiger Name
Dez 23 16:27:52 abreu gnome-shell[2084]: Failed to set the markup of the actor '<unnamed>[<ClutterText>:0x5646357cebe0]': Fehler in Zeile 1, Zeichen 14: »<« ist kein gültiger Name
Dez 23 16:29:56 abreu systemd[1749]: vte-spawn-69bfc8c4-80e1-4d3e-ac87-015bdfcc094c.scope: Consumed 1min 17.689s CPU time.
Dez 23 16:29:56 abreu gnome-shell[2084]: **
Dez 23 16:29:56 abreu gnome-shell[2084]: libmutter:ERROR:../src/core/window.c:5347:meta_window_get_workspaces: code should not be reached
Dez 23 16:29:56 abreu gnome-shell[2084]: Bail out! libmutter:ERROR:../src/core/window.c:5347:meta_window_get_workspaces: code should not be reached
Dez 23 16:29:56 abreu gnome-shell[2084]: == Stack trace for context 0x56463217a980 ==
Dez 23 16:29:56 abreu gnome-shell[2084]: #0 564631fa21c0 i resource:///org/gnome/shell/ui/keyboard.js:2093 (1534df657380 @ 150)
Dez 23 16:29:56 abreu gnome-shell[2084]: #1 564631fa2130 i resource:///org/gnome/shell/ui/keyboard.js:2113 (1534df657420 @ 48)
Dez 23 16:29:56 abreu gnome-shell[2084]: #2 7ffd51d14330 b resource:///org/gnome/shell/ui/environment.js:151 (1d2f6ec7e060 @ 39)
Dez 23 16:29:56 abreu gnome-shell[2084]: #3 564631fa20a8 i resource:///org/gnome/shell/ui/environment.js:240 (1d2f6ec7e3d0 @ 14)
Dez 23 16:29:56 abreu systemd[1]: Started systemd-coredump@6-187656-0.service - Process Core Dump (PID 187656/UID 0).
Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
44 ./nptl/pthread_kill.c: Datei oder Verzeichnis nicht gefunden.
[Current thread is 1 (Thread 0x7fa5a2244e00 (LWP 2084))]
(gdb) set pagination off
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#1 0x00007fa5a68a815f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2 0x00007fa5a685a472 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#3 0x00005646305870d2 in ()
#4 0x00007fa5a685a510 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#5 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at ./nptl/pthread_kill.c:44
#6 0x00007fa5a68a815f in __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#7 0x00007fa5a685a472 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8 0x00007fa5a68444b2 in __GI_abort () at ./stdlib/abort.c:79
#9 0x00007fa5a74c5f18 in g_assertion_message
(domain=domain@entry=0x7fa5a6ba548f "libmutter", file=file@entry=0x7fa5a6bae50b "../src/core/window.c", line=line@entry=5347, func=func@entry=0x7fa5a6bd6210 <__func__.20> "meta_window_get_workspaces", message=message@entry=0x564632d9b070 "code should not be reached") at ../../../glib/gtestutils.c:3497
#10 0x00007fa5a752ceae in g_assertion_message_expr
(domain=domain@entry=0x7fa5a6ba548f "libmutter", file=file@entry=0x7fa5a6bae50b "../src/core/window.c", line=line@entry=5347, func=func@entry=0x7fa5a6bd6210 <__func__.20> "meta_window_get_workspaces", expr=expr@entry=0x0) at ../../../glib/gtestutils.c:3523
#11 0x00007fa5a6aeb958 in meta_window_get_workspaces (window=0x564635e98de0 [MetaWindowX11]) at ../src/core/window.c:5347
#12 0x00007fa5a6aec8b6 in meta_window_get_workspaces (window=0x564635e98de0 [MetaWindowX11]) at ../src/core/window.c:5344
#13 meta_window_get_work_area_for_logical_monitor (window=0x564635e98de0 [MetaWindowX11], logical_monitor=0x564633e43360 [MetaLogicalMonitor], area=0x7ffd51d13390)
at ../src/core/window.c:5783
#14 0x00007fa5a6aef79c in meta_window_recalc_features (window=window@entry=0x564635e98de0 [MetaWindowX11]) at ../src/core/window.c:5603
#15 0x00007fa5a6af011a in meta_window_update_monitor (window=window@entry=0x564635e98de0 [MetaWindowX11], flags=<optimized out>) at ../src/core/window.c:3722
#16 0x00007fa5a6af0520 in meta_window_move_resize_internal
(window=0x564635e98de0 [MetaWindowX11], flags=(META_MOVE_RESIZE_USER_ACTION | META_MOVE_RESIZE_MOVE_ACTION | META_MOVE_RESIZE_CONSTRAIN), gravity=META_GRAVITY_NORTH_WEST, frame_rect=...) at ../src/core/window.c:3905
#17 0x00007fa5a608540e in ffi_call_unix64 () at ../src/x86/unix64.S:104
#18 0x00007fa5a608471d in ffi_call_int (cif=cif@entry=0x564635149a50, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0)
at ../src/x86/ffi64.c:673
#19 0x00007fa5a6084ef3 in ffi_call (cif=0x564635149a50, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>) at ../src/x86/ffi64.c:710
#20 0x00007fa5a6ede920 in Gjs::Function::invoke(JSContext*, JS::CallArgs const&, JS::Handle<JSObject*>, _GIArgument*)
(this=0x564635149a30, context=0x564632158550, args=<optimized out>, this_obj=..., r_value=<optimized out>) at ./obj-x86_64-linux-gnu/../gi/function.cpp:1058
#21 0x00007fa5a6eded77 in Gjs::Function::call(JSContext*, unsigned int, JS::Value*) (context=0x564632158550, js_argc=<optimized out>, vp=<optimized out>)
at ./obj-x86_64-linux-gnu/../gi/function.cpp:1236
#22 0x00007fa5a3f7eb0e in CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)
(args=..., reason=js::CallReason::Call, native=0x7fa5a6edec90 <Gjs::Function::call(JSContext*, unsigned int, JS::Value*)>, cx=0x564632158550)
at ./js/src/vm/Interpreter.cpp:486
#23 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)
(cx=0x564632158550, args=..., construct=<optimized out>, reason=js::CallReason::Call) at ./js/src/vm/Interpreter.cpp:566
#24 0x00007fa5a3f70860 in InternalCall (reason=<optimized out>, args=<optimized out>, cx=<optimized out>) at ./js/src/vm/Interpreter.cpp:647
#25 js::CallFromStack(JSContext*, JS::CallArgs const&, js::CallReason) (reason=<optimized out>, args=<optimized out>, cx=<optimized out>) at ./js/src/vm/Interpreter.cpp:652
#26 js::Interpret(JSContext*, js::RunState&) (cx=0x564632158550, state=...) at ./js/src/vm/Interpreter.cpp:3395
#27 0x00007fa5a3f7e79d in MaybeEnterInterpreterTrampoline (state=..., cx=0x564632158550) at ./js/src/vm/Interpreter.cpp:400
#28 js::RunScript(JSContext*, js::RunState&) (cx=cx@entry=0x564632158550, state=...) at ./js/src/vm/Interpreter.cpp:458
#29 0x00007fa5a3f7ec46 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)
(cx=0x564632158550, args=..., construct=construct@entry=js::NO_CONSTRUCT, reason=<optimized out>) at ./js/src/vm/Interpreter.cpp:612
#30 0x00007fa5a3f7f039 in InternalCall (reason=<optimized out>, args=<optimized out>, cx=<optimized out>) at ./js/src/vm/Interpreter.cpp:647
#31 0x00007fa5a4529072 in js::jit::DoCallFallback(JSContext*, js::jit::BaselineFrame*, js::jit::ICFallbackStub*, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>)
(cx=0x564632158550, frame=0x7ffd51d142e8, stub=0x5646362342a8, argc=1, vp=<optimized out>, res=...) at ./js/src/jit/BaselineIC.cpp:1591
#32 0x00003aaf1eeece5c in ()
#33 0x00007ffd51d142a8 in ()
#34 0x00007ffd51d14250 in ()
#35 0xfff9800000000000 in ()
#36 0x00007fa5a4ba6428 in js::jit::vmFunctions () at /lib/x86_64-linux-gnu/libmozjs-115.so.0
#37 0x00007ffd51d142b8 in ()
#38 0x00003aaf1eef2986 in ()
#39 0x0000000000000002 in ()
#40 0x00007ffd51d142e8 in ()
#41 0x00005646362342a8 in ()
#42 0x0000000000000001 in ()
#43 0x00007ffd51d14298 in ()
#44 0xfffe25b773e00aa8 in ()
#45 0xfff9800000000000 in ()
#46 0xfff9000000000001 in ()
#47 0x00005646362342a8 in ()
#48 0x00007ffd51d14330 in ()
#49 0x00003aaf225db370 in ()
#50 0x0000000000000001 in ()
#51 0xfff9000000000001 in ()
#52 0xfff9800000000000 in ()
#53 0xfffe25b773e00aa8 in ()
#54 0x417590dec249792d in ()
#55 0xc249792dc1c81252 in ()
#56 0x02ecbd392cd0c700 in ()
#57 0x000025b773e00c48 in ()
#58 0x0000564636234228 in ()
#59 0x0000564636204710 in ()
#60 0x0000564636204710 in ()
#61 0x0000564600000000 in ()
#62 0x0000564636204710 in ()
#63 0x00007ffd51d14390 in ()
#64 0x00003aaf1eeea4e9 in ()
#65 0x0000000000000023 in ()
#66 0x000025b773e00c88 in ()
#67 0xfff9800000000000 in ()
#68 0xfff9000000000001 in ()
#69 0x00007ffd51d14400 in ()
#70 0x00007ffd51d14a00 in ()
#71 0x00007ffd51d14410 in ()
#72 0x0000564631fa2120 in ()
#73 0x00003aaf225db1c0 in ()
#74 0x0000564632158550 in ()
#75 0x00007ffd51d14890 in ()
#76 0x00007fa5a4736de1 in EnterJit(JSContext*, js::RunState&, uint8_t*) (cx=0x0, state=..., code=0x0) at ./js/src/jit/Jit.cpp:104
#77 0x00007fa5a3f79470 in js::Interpret(JSContext*, js::RunState&) (cx=0x564632158550, state=...) at ./js/src/vm/Interpreter.cpp:3434
#78 0x00007fa5a3f7e843 in MaybeEnterInterpreterTrampoline (state=..., cx=0x564632158550) at ./js/src/vm/Interpreter.cpp:400
#79 js::RunScript(JSContext*, js::RunState&) (cx=cx@entry=0x564632158550, state=...) at ./js/src/vm/Interpreter.cpp:458
#80 0x00007fa5a3f7ec46 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason)
(cx=cx@entry=0x564632158550, args=..., construct=construct@entry=js::NO_CONSTRUCT, reason=<optimized out>) at ./js/src/vm/Interpreter.cpp:612
#81 0x00007fa5a3f7f0a9 in InternalCall (reason=<optimized out>, args=..., cx=0x564632158550) at ./js/src/vm/Interpreter.cpp:647
#82 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason)
(cx=cx@entry=0x564632158550, fval=..., fval@entry=..., thisv=..., thisv@entry=..., args=..., rval=rval@entry=..., reason=reason@entry=js::CallReason::Call)
at ./js/src/vm/Interpreter.cpp:679
#83 0x00007fa5a40056e5 in JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)
(cx=0x564632158550, obj=obj@entry=..., fval=fval@entry=..., args=..., rval=rval@entry=...) at ./js/src/vm/CallAndConstruct.cpp:53
#84 0x00007fa5a6ebd0d5 in JS::Call (rval=..., args=..., fun=..., thisObj=..., cx=<optimized out>) at /usr/include/mozjs-115/js/CallAndConstruct.h:92
#85 Gjs::Closure::invoke(JS::Handle<JSObject*>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)
(this=this@entry=0x564634f65e40, this_obj=this_obj@entry=..., args=..., retval=retval@entry=...) at ./obj-x86_64-linux-gnu/../gi/closure.cpp:184
#86 0x00007fa5a6f0ba5d in Gjs::Closure::marshal(_GValue*, unsigned int, _GValue const*, void*, void*)
(this=<optimized out>, return_value=0x0, n_param_values=<optimized out>, param_values=0x7ffd51d15190, invocation_hint=<optimized out>, marshal_data=<optimized out>)
at /usr/include/mozjs-115/js/RootingAPI.h:614
#91 0x00007fa5a761e243 in <emit signal 'stopped' on instance 0x5646339624e0 [ClutterPropertyTransition]>
(instance=instance@entry=0x5646339624e0, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3675
#87 0x00007fa5a7603540 in g_closure_invoke (closure=0x564634f65e40, return_value=0x0, n_param_values=2, param_values=0x7ffd51d15190, invocation_hint=0x7ffd51d150e0)
at ../../../gobject/gclosure.c:832
#88 0x00007fa5a7616afc in signal_emit_unlocked_R
(node=node@entry=0x7ffd51d15260, detail=detail@entry=0, instance=instance@entry=0x5646339624e0, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffd51d15190) at ../../../gobject/gsignal.c:3980
#89 0x00007fa5a7618501 in signal_emit_valist_unlocked
(instance=instance@entry=0x5646339624e0, signal_id=signal_id@entry=709, detail=detail@entry=0, var_args=var_args@entry=0x7ffd51d153c0) at ../../../gobject/gsignal.c:3612
#90 0x00007fa5a761e186 in g_signal_emit_valist (instance=0x5646339624e0, signal_id=709, detail=0, var_args=0x7ffd51d153c0) at ../../../gobject/gsignal.c:3355
#92 0x00007fa5a6e27c33 in clutter_timeline_do_frame (timeline=0x5646339624e0 [ClutterPropertyTransition]) at ../clutter/clutter/clutter-timeline.c:1288
#93 0x00007fa5a6de5dfb in advance_timelines (frame_clock=0x564631f021e0 [ClutterFrameClock], time_us=<optimized out>) at ../clutter/clutter/clutter-frame-clock.c:212
#94 clutter_frame_clock_dispatch (time_us=<optimized out>, frame_clock=0x564631f021e0 [ClutterFrameClock]) at ../clutter/clutter/clutter-frame-clock.c:930
#95 frame_clock_source_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at ../clutter/clutter/clutter-frame-clock.c:988
#96 0x00007fa5a74fe1f4 in g_main_dispatch (context=context@entry=0x564631c8dde0) at ../../../glib/gmain.c:3476
#97 0x00007fa5a7501317 in g_main_context_dispatch_unlocked (context=0x564631c8dde0) at ../../../glib/gmain.c:4284
#98 g_main_context_iterate_unlocked (context=0x564631c8dde0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4349
#99 0x00007fa5a7501c1f in g_main_loop_run (loop=0x564632673cb0) at ../../../glib/gmain.c:4551
#100 0x00007fa5a6ada019 in meta_context_run_main_loop (context=<optimized out>, error=0x7ffd51d15740) at ../src/core/meta-context.c:482
#101 0x00005646305869a3 in ()
#102 0x00007fa5a68456ca in __libc_start_call_main (main=main@entry=0x564630586570, argc=argc@entry=1, argv=argv@entry=0x7ffd51d158a8)
at ../sysdeps/nptl/libc_start_call_main.h:58
#103 0x00007fa5a6845785 in __libc_start_main_impl
(main=0x564630586570, argc=1, argv=0x7ffd51d158a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd51d15898)
at ../csu/libc-start.c:360
#104 0x0000564630586c71 in ()
Edited by Paul Menzel