Shell crashes when switching audio output
Sounds similar to #6046 (closed) but the trace is different so here is a new issue.
Shell: 3e7027821df103816ba7379fd1782053ab92894d
Mutter: 61de3131981c60c4935337586e88698b8ddc46f6
Otherwie F39
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 pthread_kill.c:44
44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
[Current thread is 1 (Thread 0x7f303217d640 (LWP 125959))]
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1 0x00007f30377f98a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2 0x00007f30377a78ee in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3 0x0000000000402fc6 in dump_gjs_stack_on_signal_handler (signo=6) at ../src/main.c:467
#4 0x00007f30377a79a0 in <signal handler called> () at /lib64/libc.so.6
#5 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6 0x00007f30377f98a3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#7 0x00007f30377a78ee in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8 0x00007f303778f8ff in __GI_abort () at abort.c:79
#9 0x00007f3037f1f056 in g_assertion_message
(domain=domain@entry=0x7f2fb90b122c "Gvc", file=file@entry=0x7f2fb90b16e8 "../subprojects/gvc/gvc-mixer-card.c", line=line@entry=168, func=func@entry=0x7f2fb90b1930 <__func__.8> "gvc_mixer_card_get_profile", message=message@entry=0x3439a30 "code should not be reached") at ../glib/gtestutils.c:3497
#10 0x00007f3037f80dc7 in g_assertion_message_expr
(domain=domain@entry=0x7f2fb90b122c "Gvc", file=file@entry=0x7f2fb90b16e8 "../subprojects/gvc/gvc-mixer-card.c", line=line@entry=168, func=func@entry=0x7f2fb90b1930 <__func__.8> "gvc_mixer_card_get_profile", expr=expr@entry=0x0)
at ../glib/gtestutils.c:3523
#11 0x00007f2fb90a474d in gvc_mixer_card_get_profile (card=<optimized out>) at ../subprojects/gvc/gvc-mixer-card.c:168
#12 0x00007f2fb90aa41a in gvc_mixer_control_change_profile_on_selected_device (control=0x50ede40, device=0x54069f0, profile=0x0) at ../subprojects/gvc/gvc-mixer-control.c:552
#13 0x00007f3036d83056 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#14 0x00007f3036d7f5ef in ffi_call_int (cif=cif@entry=0x578cf40, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#15 0x00007f3036d823fe in ffi_call (cif=0x578cf40, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>) at ../src/x86/ffi64.c:710
#16 0x00007f3037d4b91f in Gjs::Function::invoke(JSContext*, JS::CallArgs const&, JS::Handle<JSObject*>, _GIArgument*) (this=0x578cf20, context=context@entry=0x1805240, args=..., this_obj=..., r_value=r_value@entry=0x0)
at ../gi/function.cpp:1058
#17 0x00007f3037d561c4 in Gjs::Function::call(JSContext*, unsigned int, JS::Value*) (context=0x1805240, js_argc=<optimized out>, vp=<optimized out>) at ../gi/function.cpp:1236
#18 0x00007f30360d84f8 in CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)
(args=..., reason=js::CallReason::Call, native=0x7f3037d560e0 <Gjs::Function::call(JSContext*, unsigned int, JS::Value*)>, cx=0x1805240) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:486
#19 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) (cx=0x1805240, args=..., construct=<optimized out>, reason=js::CallReason::Call)
at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:566
#20 0x00007f30360cc3d3 in InternalCall (reason=<optimized out>, args=<optimized out>, cx=<optimized out>) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:647
#21 js::CallFromStack(JSContext*, JS::CallArgs const&, js::CallReason) (reason=<optimized out>, args=<optimized out>, cx=<optimized out>) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:652
#22 js::Interpret(JSContext*, js::RunState&) (cx=0x1805240, state=...) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:3395
#23 0x00007f30360d7fb3 in MaybeEnterInterpreterTrampoline (state=..., cx=0x1805240) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:400
#24 js::RunScript(JSContext*, js::RunState&) (cx=cx@entry=0x1805240, state=...) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:458
#25 0x00007f30360d83cb in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) (cx=cx@entry=0x1805240, args=..., construct=construct@entry=js::NO_CONSTRUCT, reason=<optimized out>)
at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:612
#26 0x00007f30360d893d in InternalCall (reason=<optimized out>, args=..., cx=0x1805240) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:647
#27 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) (cx=0x1805240, fval=..., thisv=..., args=..., rval=..., reason=<optimized out>)
at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:679
#28 0x00007f303614c231 in JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)
(cx=0x1805240, obj=obj@entry=..., fval=fval@entry=..., args=..., rval=..., rval@entry=...) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/CallAndConstruct.cpp:53
#29 0x00007f3037d48af5 in JS::Call (rval=..., args=..., fun=..., thisObj=..., cx=<optimized out>) at /usr/include/mozjs-115/js/CallAndConstruct.h:92
#30 Gjs::Closure::invoke(JS::Handle<JSObject*>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) (this=0x5638760, this_obj=..., args=..., retval=...) at ../gi/closure.cpp:184
#31 0x00007f3037d86faf in Gjs::Closure::marshal(_GValue*, unsigned int, _GValue const*, void*, void*)
(this=0x5638760, return_value=0x0, n_param_values=2, param_values=0x2adc880, invocation_hint=<optimized out>, marshal_data=<optimized out>) at /usr/include/mozjs-115/js/RootingAPI.h:614
#32 0x00007f3037eb352a in g_closure_invoke (closure=0x5638760, return_value=0x0, n_param_values=2, param_values=0x2adc880, invocation_hint=0x7ffcd51c81c0) at ../gobject/gclosure.c:832
#33 0x00007f3037ee1fec in signal_emit_unlocked_R.isra.0 (node=<optimized out>, detail=detail@entry=0, instance=instance@entry=0x5697e50, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x2adc880)
at ../gobject/gsignal.c:3980
#34 0x00007f3037ecfd3b in signal_emitv_unlocked (return_value=<optimized out>, detail=0, signal_id=<optimized out>, instance_and_params=<optimized out>) at ../gobject/gsignal.c:3304
#35 g_signal_emitv (instance_and_params=<optimized out>, signal_id=<optimized out>, detail=0, return_value=<optimized out>) at ../gobject/gsignal.c:3204
#36 0x00007f3037d6c011 in ObjectInstance::emit_impl(JSContext*, JS::CallArgs const&) (argv=..., context=0x1805240, this=<optimized out>) at ../gi/object.cpp:2274
#37 ObjectBase::emit(JSContext*, unsigned int, JS::Value*) (cx=0x1805240, argc=<optimized out>, vp=<optimized out>) at ../gi/object.cpp:2211
#38 0x00007f30360d85b9 in CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)
(args=..., reason=js::CallReason::Call, native=0x7f3037d6b570 <ObjectBase::emit(JSContext*, unsigned int, JS::Value*)>, cx=0x1805240) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:486
--Type <RET> for more, q to quit, c to continue without paging--c
#39 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) (cx=0x1805240, args=..., construct=<optimized out>, reason=js::CallReason::Call)
at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:580
#40 0x00007f30360cc3d3 in InternalCall (reason=<optimized out>, args=<optimized out>, cx=<optimized out>) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:647
#41 js::CallFromStack(JSContext*, JS::CallArgs const&, js::CallReason) (reason=<optimized out>, args=<optimized out>, cx=<optimized out>) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:652
#42 js::Interpret(JSContext*, js::RunState&) (cx=0x1805240, state=...) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:3395
#43 0x00007f30360d7fb3 in MaybeEnterInterpreterTrampoline (state=..., cx=0x1805240) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:400
#44 js::RunScript(JSContext*, js::RunState&) (cx=cx@entry=0x1805240, state=...) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:458
#45 0x00007f30360d83cb in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) (cx=cx@entry=0x1805240, args=..., construct=construct@entry=js::NO_CONSTRUCT, reason=<optimized out>)
at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:612
#46 0x00007f30360d893d in InternalCall (reason=<optimized out>, args=..., cx=0x1805240) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:647
#47 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) (cx=0x1805240, fval=..., thisv=..., args=..., rval=..., reason=<optimized out>)
at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:679
#48 0x00007f303614c231 in JS_CallFunctionValue(JSContext*, JS::Handle<JSObject*>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>)
(cx=0x1805240, obj=obj@entry=..., fval=fval@entry=..., args=..., rval=..., rval@entry=...) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/CallAndConstruct.cpp:53
#49 0x00007f3037d48af5 in JS::Call (rval=..., args=..., fun=..., thisObj=..., cx=<optimized out>) at /usr/include/mozjs-115/js/CallAndConstruct.h:92
#50 Gjs::Closure::invoke(JS::Handle<JSObject*>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) (this=0x55145d0, this_obj=..., args=..., retval=...) at ../gi/closure.cpp:184
#51 0x00007f3037d86faf in Gjs::Closure::marshal(_GValue*, unsigned int, _GValue const*, void*, void*)
(this=0x55145d0, return_value=0x0, n_param_values=2, param_values=0x7ffcd51c91a0, invocation_hint=<optimized out>, marshal_data=<optimized out>) at /usr/include/mozjs-115/js/RootingAPI.h:614
#52 0x00007f3037eb352a in g_closure_invoke (closure=0x55145d0, return_value=0x0, n_param_values=2, param_values=0x7ffcd51c91a0, invocation_hint=0x7ffcd51c90f0) at ../gobject/gclosure.c:832
#53 0x00007f3037ee1fec in signal_emit_unlocked_R.isra.0
(node=node@entry=0x7ffcd51c9290, detail=detail@entry=0, instance=instance@entry=0x55a6d60, emission_return=emission_return@entry=0x0, instance_and_params=instance_and_params@entry=0x7ffcd51c91a0) at ../gobject/gsignal.c:3980
#54 0x00007f3037ed2d59 in signal_emit_valist_unlocked (instance=instance@entry=0x55a6d60, signal_id=signal_id@entry=515, detail=detail@entry=0, var_args=var_args@entry=0x7ffcd51c9400) at ../gobject/gsignal.c:3612
#55 0x00007f3037ed2f91 in g_signal_emit_valist (instance=0x55a6d60, signal_id=515, detail=0, var_args=var_args@entry=0x7ffcd51c9400) at ../gobject/gsignal.c:3355
#56 0x00007f3037ed3053 in g_signal_emit (instance=instance@entry=0x55a6d60, signal_id=<optimized out>, detail=detail@entry=0) at ../gobject/gsignal.c:3675
#57 0x00007f3037c44847 in clutter_click_action_handle_event (action=0x55a6d60, event=0x26d6520) at ../clutter/clutter/clutter-click-action.c:401
#58 0x00007f3037c7d93d in emit_event (event=event@entry=0x26d6520, event_emission_chain=0x578fc60) at ../clutter/clutter/clutter-stage.c:3321
#59 0x00007f3037c840a9 in clutter_stage_emit_event (self=self@entry=0x1d67c90, event=event@entry=0x26d6520) at ../clutter/clutter/clutter-stage.c:4433
#60 0x00007f3037c65097 in emit_event (event=0x26d6520, stage=0x1d67c90) at ../clutter/clutter/clutter-main.c:696
#61 _clutter_process_event_details (context=0x1b82f30, event=0x26d6520, stage=0x1d67c90) at ../clutter/clutter/clutter-main.c:889
#62 clutter_stage_process_event (stage=stage@entry=0x1d67c90, event=event@entry=0x26d6520) at ../clutter/clutter/clutter-main.c:923
#63 0x00007f3037c7f79e in _clutter_stage_process_queued_events (stage=0x1d67c90) at ../clutter/clutter/clutter-stage.c:802
#64 0x00007f3037c53f4a in clutter_frame_clock_dispatch (time_us=16604340224, frame_clock=0x1ba1250) at ../clutter/clutter/clutter-frame-clock.c:771
#65 frame_clock_source_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at ../clutter/clutter/clutter-frame-clock.c:829
#66 0x00007f3037f5ae5c in g_main_dispatch (context=0x17d9950) at ../glib/gmain.c:3476
#67 g_main_context_dispatch_unlocked (context=0x17d9950) at ../glib/gmain.c:4284
#68 0x00007f3037fb5dd8 in g_main_context_iterate_unlocked.isra.0 (context=0x17d9950, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4349
#69 0x00007f3037f5c447 in g_main_loop_run (loop=0x1dcd6f0) at ../glib/gmain.c:4551
#70 0x00007f3037a33476 in meta_context_run_main_loop (context=<optimized out>, error=0x7ffcd51c9d20) at ../src/core/meta-context.c:514
#71 0x00007f3036d83056 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#72 0x00007f3036d7f5ef in ffi_call_int (cif=cif@entry=0x2126da0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:673
#73 0x00007f3036d823fe in ffi_call (cif=0x2126da0, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>) at ../src/x86/ffi64.c:710
#74 0x00007f3037d4b91f in Gjs::Function::invoke(JSContext*, JS::CallArgs const&, JS::Handle<JSObject*>, _GIArgument*) (this=0x2126d80, context=context@entry=0x1805240, args=..., this_obj=..., r_value=r_value@entry=0x0)
at ../gi/function.cpp:1058
#75 0x00007f3037d561c4 in Gjs::Function::call(JSContext*, unsigned int, JS::Value*) (context=0x1805240, js_argc=<optimized out>, vp=<optimized out>) at ../gi/function.cpp:1236
#76 0x00007f30360d84f8 in CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), js::CallReason, JS::CallArgs const&)
(args=..., reason=js::CallReason::Call, native=0x7f3037d560e0 <Gjs::Function::call(JSContext*, unsigned int, JS::Value*)>, cx=0x1805240) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:486
#77 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) (cx=0x1805240, args=..., construct=<optimized out>, reason=js::CallReason::Call)
at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:566
#78 0x00007f30360cc3d3 in InternalCall (reason=<optimized out>, args=<optimized out>, cx=<optimized out>) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:647
#79 js::CallFromStack(JSContext*, JS::CallArgs const&, js::CallReason) (reason=<optimized out>, args=<optimized out>, cx=<optimized out>) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:652
#80 js::Interpret(JSContext*, js::RunState&) (cx=0x1805240, state=...) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:3395
#81 0x00007f30360d803b in MaybeEnterInterpreterTrampoline (state=..., cx=0x1805240) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:400
#82 js::RunScript(JSContext*, js::RunState&) (cx=cx@entry=0x1805240, state=...) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:458
#83 0x00007f30360d83cb in js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct, js::CallReason) (cx=cx@entry=0x1805240, args=..., construct=construct@entry=js::NO_CONSTRUCT, reason=<optimized out>)
at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:612
#84 0x00007f30360d893d in InternalCall (reason=<optimized out>, args=..., cx=0x1805240) at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:647
#85 js::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, js::AnyInvokeArgs const&, JS::MutableHandle<JS::Value>, js::CallReason) (cx=0x1805240, fval=..., thisv=..., args=..., rval=..., reason=<optimized out>)
at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/Interpreter.cpp:679
#86 0x00007f303614c848 in JS::Call(JSContext*, JS::Handle<JS::Value>, JS::Handle<JS::Value>, JS::HandleValueArray const&, JS::MutableHandle<JS::Value>) (cx=0x1805240, thisv=..., fval=fval@entry=..., args=..., rval=..., rval@entry=...)
at /usr/src/debug/mozjs115-115.4.0-1.fc39.x86_64/vm/CallAndConstruct.cpp:117
#87 0x00007f3037d8a274 in JS::Call (rval=..., args=..., funObj=..., thisv=..., cx=<optimized out>) at /usr/include/mozjs-115/js/RootingAPI.h:1219
#88 GjsContextPrivate::run_main_loop_hook() (this=0x17fbc60) at ../gjs/context.cpp:1428
#89 0x00007f3037d9130f in GjsContextPrivate::eval_module(char const*, unsigned char*, _GError**) (error=0x7ffcd51ca6e8, exit_status_p=0x7ffcd51ca6f8 "", identifier=0x20602f0 "resource:///org/gnome/shell/ui/init.js", this=0x17fbc60)
at ../gjs/context.cpp:1545
#90 gjs_context_eval_module(GjsContext*, char const*, uint8_t*, GError**) (js_context=<optimized out>, identifier=0x20602f0 "resource:///org/gnome/shell/ui/init.js", exit_code=0x7ffcd51ca6f8 "", error=0x7ffcd51ca6e8)
at ../gjs/context.cpp:1324
#91 0x00007f3037d91601 in gjs_context_eval_module_file(GjsContext*, char const*, uint8_t*, GError**)
(js_context=js_context@entry=0x17fbde0, filename=filename@entry=0x404648 "resource:///org/gnome/shell/ui/init.js", exit_status_p=exit_status_p@entry=0x7ffcd51ca6f8 "", error=error@entry=0x7ffcd51ca6e8) at ../gjs/context.cpp:1629
#92 0x0000000000402994 in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:708
(gdb)