Configure OpenSSH key for secure shell nolonger works. (segfault/hang)
Observed in Ubuntu 20.04, and a fresh install of Manjaro 20.1.
Seahorse 3.36.2.
Steps to reproduce.
- If you don't already have a personal SSH key, create one.
- Launch seahorse
- Navigate to OpenSSH Keys.
- right click a key, and select "Configure key for secure shell..."
- Fill in server address and server username, click setup.
- Fill in password, click OK.
Observe that the SSH key has not been added to the server.
Adding the key manually via ssh-copy-id
works fine.
Sometimes seahorse segfaults.
If seahorse DOESN'T segfault, then the console shows
seahorse_ssh_operation_on_io_ssh_write: assertion 'input != NULL' failed
then CPU usage hits 100% on one core.
PID: 5711 (seahorse)
UID: 1000 (chris)
GID: 1000 (chris)
Signal: 11 (SEGV)
Timestamp: Thu 2020-09-17 13:14:17 BST (25min ago)
Command Line: /usr/bin/seahorse --gapplication-service
Executable: /usr/bin/seahorse
Control Group: /user.slice/user-1000.slice/user@1000.service/dbus.service
Unit: user@1000.service
User Unit: dbus.service
Slice: user-1000.slice
Owner UID: 1000 (chris)
Boot ID: 8270652834384c37a46e48532b5fee7d
Machine ID: c6ee789737e64044bea64e92babcb25a
Hostname: chris-hybris
Storage: /var/lib/systemd/coredump/core.seahorse.1000.8270652834384c37a46e48532b5fee7d.5711.1600344857000000.zst
Message: Process 5711 (seahorse) of user 1000 dumped core.
Stack trace of thread 5711:
#0 0x00007f31227defca g_string_erase (libglib-2.0.so.0 + 0x6dfca)
#1 0x00005587e18c3734 n/a (seahorse + 0x61734)
#2 0x00007f31227c3340 g_main_context_dispatch (libglib-2.0.so.0 + 0x52340)
#3 0x00007f31228111d9 n/a (libglib-2.0.so.0 + 0xa01d9)
#4 0x00007f31227c2221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
#5 0x00007f312262bc9e g_application_run (libgio-2.0.so.0 + 0xcac9e)
#6 0x00005587e1893077 _vala_main (seahorse + 0x31077)
#7 0x00007f31228c2152 __libc_start_main (libc.so.6 + 0x28152)
#8 0x00005587e188c16e _start (seahorse + 0x2a16e)
Stack trace of thread 5712:
#0 0x00007f312298f46f __poll (libc.so.6 + 0xf546f)
#1 0x00007f3122811168 n/a (libglib-2.0.so.0 + 0xa0168)
#2 0x00007f31227c2221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
#3 0x00007f31227c2272 n/a (libglib-2.0.so.0 + 0x51272)
#4 0x00007f31227eb511 n/a (libglib-2.0.so.0 + 0x7a511)
#5 0x00007f312187e3e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007f312299a293 __clone (libc.so.6 + 0x100293)
Stack trace of thread 5790:
#0 0x00007f3122994d5d syscall (libc.so.6 + 0xfad5d)
#1 0x00007f312280bc9b g_cond_wait_until (libglib-2.0.so.0 + 0x9ac9b)
#2 0x00007f3122793803 n/a (libglib-2.0.so.0 + 0x22803)
#3 0x00007f3122793994 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x22994)
#4 0x00007f31227efcaa n/a (libglib-2.0.so.0 + 0x7ecaa)
#5 0x00007f31227eb511 n/a (libglib-2.0.so.0 + 0x7a511)
#6 0x00007f312187e3e9 start_thread (libpthread.so.0 + 0x93e9)
#7 0x00007f312299a293 __clone (libc.so.6 + 0x100293)
Stack trace of thread 5713:
#0 0x00007f312298f46f __poll (libc.so.6 + 0xf546f)
#1 0x00007f3122811168 n/a (libglib-2.0.so.0 + 0xa0168)
#2 0x00007f31227c1c03 g_main_loop_run (libglib-2.0.so.0 + 0x50c03)
#3 0x00007f31226611a8 n/a (libgio-2.0.so.0 + 0x1001a8)
#4 0x00007f31227eb511 n/a (libglib-2.0.so.0 + 0x7a511)
#5 0x00007f312187e3e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007f312299a293 __clone (libc.so.6 + 0x100293)
Stack trace of thread 5728:
#0 0x00007f312298f46f __poll (libc.so.6 + 0xf546f)
#1 0x00007f3122811168 n/a (libglib-2.0.so.0 + 0xa0168)
#2 0x00007f31227c2221 g_main_context_iteration (libglib-2.0.so.0 + 0x51221)
#3 0x00007f311cbb9e5e n/a (libdconfsettings.so + 0x4e5e)
#4 0x00007f31227eb511 n/a (libglib-2.0.so.0 + 0x7a511)
#5 0x00007f312187e3e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007f312299a293 __clone (libc.so.6 + 0x100293)