Crash when dragging windows from one screen to another
While suspended, I plugged my laptop to an external screen (which I use as a secondary screen). As it sometimes happens, all the windows ended up on the secondary screen instead of in different workspace on the primary screen. When dragging windows from one screen to another, the shell crashed. Here is the backtrace :
[Current thread is 1 (Thread 0x7fb37a5e9cc0 (LWP 28319))]
(gdb) bt
#0 0x00007fb385dbb77b in raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00005646ce6d0e2b in dump_gjs_stack_on_signal_handler (signo=6) at ../src/main.c:345
#2 0x00007fb385dbb8e0 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007fb385c21f3b in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#4 0x00007fb385c232f1 in __GI_abort () at abort.c:79
#5 0x00007fb385e8778d in meta_bug () at /usr/lib/x86_64-linux-gnu/libmutter-3.so.0
#6 0x00007fb385e93ade in meta_workspace_index () at /usr/lib/x86_64-linux-gnu/libmutter-3.so.0
#7 0x00007fb38463efce in ffi_call_unix64 () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#8 0x00007fb38463e93f in ffi_call () at /usr/lib/x86_64-linux-gnu/libffi.so.6
#9 0x00007fb386162359 in gjs_invoke_c_function(JSContext*, Function*, JS::HandleObject, JS::HandleValueArray const&, mozilla::Maybe<JS::MutableHandle<JS::Value> >, GIArgument*) (context=0x5646cf3a4830, function=0x5646cff569e0, obj=..., args=..., js_rval=..., r_value=0x0) at gi/function.cpp:1088
#10 0x00007fb386163b14 in function_call(JSContext*, unsigned int, JS::Value*) (context=0x5646cf3a4830, js_argc=0, vp=0x5646cf4ec608) at /usr/include/mozjs-52/js/RootingAPI.h:1004
#11 0x00007fb381f71ba5 in js::CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) (args=..., native=0x7fb3861639b0 <function_call(JSContext*, unsigned int, JS::Value*)+97938>, cx=0x5646cf3a4830) at ./js/src/dist/include/js/CallArgs.h:269
#12 0x00007fb381f71ba5 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) (cx=0x5646cf3a4830, args=..., construct=js::NO_CONSTRUCT)
at ./js/src/vm/Interpreter.cpp:447
#13 0x00007fb381f6480c in js::CallFromStack(JSContext*, JS::CallArgs const&) (args=..., cx=<optimized out>) at ./js/src/vm/Interpreter.cpp:2922
#14 0x00007fb381f6480c in Interpret(JSContext*, js::RunState&) (cx=0x5646cf3a4830, state=...) at ./js/src/vm/Interpreter.cpp:2922
#15 0x00007fb381f71629 in js::RunScript(JSContext*, js::RunState&) (cx=cx@entry=0x5646cf3a4830, state=...) at ./js/src/vm/Interpreter.cpp:405
#16 0x00007fb381f719e6 in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) (cx=cx@entry=0x5646cf3a4830, args=..., construct=construct@entry=js::NO_CONSTRUCT)
at ./js/src/vm/Interpreter.cpp:477
#17 0x00007fb381f71c69 in InternalCall(JSContext*, js::AnyInvokeArgs const&) (cx=cx@entry=0x5646cf3a4830, args=...) at ./js/src/vm/Interpreter.cpp:504
#18 0x00007fb381f71cc9 in js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>) (cx=cx@entry=0x5646cf3a4830, fval=...,
fval@entry=..., thisv=..., thisv@entry=..., args=..., rval=rval@entry=...) at ./js/src/vm/Interpreter.cpp:523
#19 0x00007fb381d63753 in js::jit::InvokeFunction(JSContext*, JS::Handle<JSObject*>, bool, unsigned int, JS::Value*, JS::MutableHandle<JS::Value>) (cx=0x5646cf3a4830, obj=..., constructing=<optimized out>, argc=<optimized out>, argv=0x7ffe664fe330, rval=...) at ./js/src/dist/include/js/RootingAPI.h:1004
#20 0x00000c2f8eb473c6 in ()
#21 0x000000000000000e in ()
#22 0x00007ffe664fe2e0 in ()
#23 0xfff9000000000000 in ()
#24 0x00007fb3830fdb80 in js::jit::InvokeFunctionInfo () at /usr/lib/x86_64-linux-gnu/libmozjs-52.so.0
#25 0x00007fb348e739a0 in ()
#26 0x00000c2f963b695b in ()
#27 0x0000000000008820 in ()
#28 0x00007fb34891a380 in ()
#29 0x0000000000000000 in ()
This is GnomeShell & mutter 3.30.1 running on Wayland.