Segfault when trying to set an empty password
Seahorse always segfaults with the following backtrace when I try to set an empty password for the default keyring:
Thread 1 "seahorse" received signal SIGSEGV, Segmentation fault.
g_variant_unref (value=0x55b09b30) at gvariant-core.c:625
625 gvariant-core.c: No such file or directory.
Missing separate debuginfos, use: dnf debuginfo-install libX11-1.6.7-1.fc29.x86_64 libgcc-8.2.1-4.fc29.x86_64 openldap-2.4.46-9.fc29.x86_64
(gdb) bt
#0 0x00007ffff7f16089 in g_variant_unref (value=0x55b09b30) at gvariant-core.c:625
#1 0x00005555555b1688 in ___lambda21_ (_data3_=0x55555585f420, _data3_=0x55555585f420, obj=<optimized out>, res=<optimized out>)
at gkr/gkr@@seahorse-gkr@sta/gkr-keyring.c:1073
#2 0x00005555555b1688 in ____lambda21__gasync_ready_callback (source_object=<optimized out>, res=<optimized out>, self=0x55555585f420)
at gkr/gkr@@seahorse-gkr@sta/gkr-keyring.c:1115
#3 0x00007ffff7d0b1aa in g_simple_async_result_complete (simple=0x7fffd4069730 [GSimpleAsyncResult]) at gsimpleasyncresult.c:802
#4 0x00007ffff73d58fe in on_real_prompt_completed (source=0x555555b18290 [SecretPrompt], result=0x7fffd40696c0, user_data=<optimized out>)
at libsecret/secret-service.c:322
#5 0x00007ffff7d0b1aa in g_simple_async_result_complete (simple=0x7fffd40696c0 [GSimpleAsyncResult]) at gsimpleasyncresult.c:802
#6 0x00007ffff73d3f41 in perform_prompt_complete (res=<optimized out>, dismissed=<optimized out>) at libsecret/secret-prompt.c:288
#7 0x00007ffff73d4876 in on_prompt_completed
(connection=<optimized out>, sender_name=<optimized out>, object_path=<optimized out>, interface_name=<optimized out>, signal_name=0x7fffdc010cf0 "Completed", parameters=0x555555b09aa0, user_data=0x7fffd40696c0) at libsecret/secret-prompt.c:314
#8 0x00007ffff7d4ad58 in emit_signal_instance_in_idle_cb (data=data@entry=0x7fffdc014310) at gdbusconnection.c:3711
#9 0x00007ffff7ed4b7b in g_idle_dispatch (source=0x7fffdc016840, callback=0x7ffff7d4ace0 <emit_signal_instance_in_idle_cb>, user_data=0x7fffdc014310) at gmain.c:5620
#10 0x00007ffff7ed826d in g_main_dispatch (context=0x5555556a99e0) at gmain.c:3182
#11 0x00007ffff7ed826d in g_main_context_dispatch (context=context@entry=0x5555556a99e0) at gmain.c:3847
#12 0x00007ffff7ed8638 in g_main_context_iterate (context=context@entry=0x5555556a99e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
at gmain.c:3920
#13 0x00007ffff7ed86d0 in g_main_context_iteration (context=context@entry=0x5555556a99e0, may_block=may_block@entry=1) at gmain.c:3981
#14 0x00007ffff7d32465 in g_application_run (application=0x5555556a50f0 [SeahorseApplication], argc=<optimized out>, argv=0x7fffffffd658) at gapplication.c:2470
#15 0x000055555558f614 in _vala_main (args=0x7fffffffd658, args_length1=1) at src/src@@seahorse@exe/main.c:70
#16 0x00007ffff6f14413 in __libc_start_main (main=
0x555555589910 <main>, argc=1, argv=0x7fffffffd658, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffd648)
at ../csu/libc-start.c:308
#17 0x000055555558994e in _start () at src/src@@seahorse@exe/main.c:83
Then the previous non-empty password is requested on the next boot to unlock the keyring...
This maybe relates to #159.