Crash in GetTicket() method of Kerberos accounts without saved passwords
Attempts to invoke the GetTicket method of any Kerberos account object (via D-Bus) results in a crash.
- Create a Kerberos account without a saved password
- Open D-Feet and find the account
- Click the Ticketing interface, and execute the GetTicket method
- goa-daemon will crash.
Stack trace of thread 70346:
#0 0x00007f6961aeae18 g_bit_lock (libglib-2.0.so.0 + 0x20e18)
#1 0x00007f6961b71f0c g_variant_get_data (libglib-2.0.so.0 + 0xa7f0c)
#2 0x00007f6961b6d326 g_variant_lookup (libglib-2.0.so.0 + 0xa3326)
#3 0x00007f6961ec589b goa_kerberos_provider_get_ticket_sync (libgoa-backend-1.0.so.2 + 0x3a89b)
#4 0x00007f6961ec5d05 on_handle_get_ticket (libgoa-backend-1.0.so.2 + 0x3ad05)
#5 0x00007f6961e73174 _g_dbus_codegen_marshal_BOOLEAN__OBJECT.part.0.lto_priv.0 (libgoa-1.0.so.0 + 0x>
#6 0x00007f6961c284da g_closure_invoke (libgobject-2.0.so.0 + 0x114da)
#7 0x00007f6961c57903 signal_emit_unlocked_R.isra.0 (libgobject-2.0.so.0 + 0x40903)
#8 0x00007f6961c455f9 g_signal_emitv (libgobject-2.0.so.0 + 0x2e5f9)
#9 0x00007f6961e6f10b _goa_ticketing_skeleton_handle_method_call (libgoa-1.0.so.0 + 0x2f10b)
#10 0x00007f6961d97d23 g_dbus_interface_method_dispatch_helper (libgio-2.0.so.0 + 0x122d23)
#11 0x00007f6961d7a5f6re call_in_idle_cb.lto_priv.2 (libgio-2.0.so.0 + 0x1055f6)
#12 0x00007f6961b2c98d g_idle_dispatch (libglib-2.0.so.0 + 0x6298d)
#13 0x00007f6961b2626c g_main_context_dispatch_unlocked.lto_priv.0 (libglib-2.0.so.0 + 0x5c26c)
#14 0x00007f6961b872a8 g_main_context_iterate_unlocked.isra.0 (libglib-2.0.so.0 + 0xbd2a8)
#15 0x00007f6961b2c227 g_main_loop_run (libglib-2.0.so.0 + 0x62227)
#16 0x000055c7824317c7 main (goa-daemon + 0x57c7)
#17 0x00007f69618e9088 __libc_start_call_main (libc.so.6 + 0x2a088)
#18 0x00007f69618e9142 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a142)
#19 0x000055c7824318e5 _start (goa-daemon + 0x58e5)
Running Fedora 40 beta with gnome-online-accounts-3.49.4-1.fc40.x86_64.
Edited by Paolo Bonzini