Bug#928687: remmina: Segfaults when recommends is missing on connection
Package: remmina
Version: 1.3.3+dfsg-2
Severity: normal
Dear Maintainer,
I recently upgraded to buster, and during the process remmina-plugin-rdp
was removed, but not the main remmina package (I was removing orphan
packages, and I recall seeing it being removed).
I tried to use remmina
to connect to a remote RDP system (windows), as I normally do, and the
program immediately segfaults with the following backtrace.
5558e735 in remmina_protocol_widget_query_feature_by_type ()
(gdb) bt
#0 0x000055555558e735 in remmina_protocol_widget_query_feature_by_type ()
#1 0x000055555559d9d3 in ?? ()
#2 0x00005555555a2142 in rch_update_toolbar ()
#3 0x00005555555a3f09 in rch_create_overlay_ftb_overlay ()
#4 0x00005555555a4554 in rch_create_fullscreen ()
#5 0x00005555555a5532 in rcw_open_from_file_full ()
#6 0x00005555555a5566 in rcw_open_from_filename ()
#7 0x0000555555581f84 in remmina_main_on_action_connection_connect ()
...
By manually reinstalling remmina-plugin-rdp, the problem goes away, so I
suspect that remmina_protocol_widget_query_feature_by_type is implicitly
assuming the plugin is present - I've not checked the code itself.
Perhaps one solution is that reminna could require remmina-plugin-rdp,
rather than recommends? Or alternately, there should be a check that
the protocol is available before trying to use it, to avoid the segfault
(maybe with a message to detail the issue)?
Thanks!
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8), LANGUAGE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages remmina depends on:
ii dbus-x11 [dbus-session-bus] 1.12.12-1
ii libatk1.0-0 2.22.0-1
ii libavahi-client3 0.7-4+b1
ii libavahi-common3 0.7-4+b1
ii libavahi-ui-gtk3-0 0.7-4+b1
ii libayatana-appindicator3-1 0.5.3-4
ii libc6 2.28-10
ii libcairo2 1.16.0-4
ii libgcrypt20 1.8.4-5
ii libgdk-pixbuf2.0-0 2.38.1+dfsg-1
ii libglib2.0-0 2.58.3-1
ii libgtk-3-0 3.22.11-1
ii libice6 2:1.0.9-2
ii libjson-glib-1.0-0 1.4.4-2
ii libpango-1.0-0 1.42.4-6
ii libsm6 2:1.2.3-1
ii libsoup2.4-1 2.64.2-2
ii libssh-4 0.8.6-3+b1
ii libssl1.1 1.1.1b-2
ii libvte-2.91-0 0.54.2-2
ii libx11-6 2:1.6.7-1
ii libxext6 2:1.3.3-1+b2
ii remmina-common 1.3.3+dfsg-2
Versions of packages remmina recommends:
ii remmina-plugin-rdp 1.3.3+dfsg-2
pn remmina-plugin-secret <none>
pn remmina-plugin-vnc <none>
Versions of packages remmina suggests:
pn remmina-plugin-exec <none>
pn remmina-plugin-nx <none>
pn remmina-plugin-spice <none>
pn remmina-plugin-telepathy <none>
pn remmina-plugin-xdmcp <none>
-- no debconf information
Reply to: