com.anydesk.Anydesk icon indicating copy to clipboard operation
com.anydesk.Anydesk copied to clipboard

Connection crashes after seconds on Mint 20.1

Open Mershl opened this issue 3 years ago • 4 comments

Issue description

Connection confirmation is shown. Once the connection is established it fails after 1-2 seconds.

Observation

I was able to reproduce the issue on two seperate systems with a fresh installed Mint 20.1. The issue is not reproduciable on Fedora.

Test environment

Mint 20.1: Flatpak 1.6.5 Fedora 33/34: Flatpak 1.10.2

Tested with:

      Commit: 6d1f451e1714a68b67e08328ac6d06a2e252ea0b07aa16535e893affb4058980
      Parent: 1e8ba75cd1e2e85a35308f26a2f606accfeef4d2ef58e06fb8a417cefe07da65
     Subject: only build minizip (ffaea919)
        Date: 2021-04-21 17:17:12 +0000

Logs

Difference in the two logs show that "atk-bridge" is continuously reported as error to load only on Mint.

Log Mint for a single connection:

$ flatpak run com.anydesk.Anydesk 
(process:2): GLib-GObject-WARNING **: 20:10:39.412: invalid (NULL) pointer instance
(process:2): GLib-GObject-CRITICAL **: 20:10:39.412: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:2): GLib-GObject-WARNING **: 20:10:39.412: invalid (NULL) pointer instance
(process:2): GLib-GObject-CRITICAL **: 20:10:39.412: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:6): GLib-GObject-WARNING **: 20:10:39.464: invalid (NULL) pointer instance
(process:6): GLib-GObject-CRITICAL **: 20:10:39.464: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:6): GLib-GObject-WARNING **: 20:10:39.464: invalid (NULL) pointer instance
(process:6): GLib-GObject-CRITICAL **: 20:10:39.464: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Gtk-Message: 20:10:39.489: Failed to load module "atk-bridge"
sh: line 1: lsb_release: command not found
Gtk-Message: 20:10:39.551: Failed to load module "atk-bridge"
(anydesk:2): Gtk-CRITICAL **: 20:10:39.579: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed
(anydesk:2): Gtk-CRITICAL **: 20:10:39.582: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed
(anydesk:2): Gtk-CRITICAL **: 20:10:39.588: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed
(anydesk:2): Gtk-CRITICAL **: 20:10:39.588: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed
sh: line 1: lsb_release: command not found
(process:47): GLib-GObject-WARNING **: 20:15:15.930: invalid (NULL) pointer instance
(process:47): GLib-GObject-CRITICAL **: 20:15:15.930: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:47): GLib-GObject-WARNING **: 20:15:15.930: invalid (NULL) pointer instance
(process:47): GLib-GObject-CRITICAL **: 20:15:15.930: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Gtk-Message: 20:15:15.994: Failed to load module "atk-bridge"
(anydesk:47): GLib-GIO-ERROR **: 20:15:23.002: Settings schema 'org.cinnamon.desktop.background' is not installed
(process:81): GLib-GObject-WARNING **: 20:15:24.289: invalid (NULL) pointer instance
(process:81): GLib-GObject-CRITICAL **: 20:15:24.289: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:81): GLib-GObject-WARNING **: 20:15:24.289: invalid (NULL) pointer instance
(process:81): GLib-GObject-CRITICAL **: 20:15:24.289: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Gtk-Message: 20:15:24.351: Failed to load module "atk-bridge"

Log Fedora for a single connection:

$ flatpak run com.anydesk.Anydesk
(process:2): GLib-GObject-WARNING **: 20:11:46.617: invalid (NULL) pointer instance
(process:2): GLib-GObject-CRITICAL **: 20:11:46.618: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:2): GLib-GObject-WARNING **: 20:11:46.618: invalid (NULL) pointer instance
(process:2): GLib-GObject-CRITICAL **: 20:11:46.618: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:6): GLib-GObject-WARNING **: 20:11:46.650: invalid (NULL) pointer instance
(process:6): GLib-GObject-CRITICAL **: 20:11:46.650: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:6): GLib-GObject-WARNING **: 20:11:46.650: invalid (NULL) pointer instance
(process:6): GLib-GObject-CRITICAL **: 20:11:46.650: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Gtk-Message: 20:11:46.674: Failed to load module "canberra-gtk-module"
Gtk-Message: 20:11:46.778: Failed to load module "canberra-gtk-module"
sh: line 1: lsb_release: command not found
(anydesk:2): Gtk-CRITICAL **: 20:11:46.818: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed
(anydesk:2): Gtk-CRITICAL **: 20:11:46.820: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed
(anydesk:2): Gtk-CRITICAL **: 20:11:46.825: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed
(anydesk:2): Gtk-CRITICAL **: 20:11:46.825: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed
sh: line 1: lsb_release: command not found

Mershl avatar May 02 '21 18:05 Mershl

Confirmation: It's a Cinnamon issue. Just tried it with Fedora Cinnamon and the exact same issue shows for Cinnamon on Fedora with Flatpak 1.10.2. The connection crashes with the following log. The issue is not reproduciable with the deb version of AnyDesk on Cinnamon.

(anydesk:47): GLib-GIO-ERROR **: 20:15:23.002: Settings schema 'org.cinnamon.desktop.background' is not installed
(process:81): GLib-GObject-WARNING **: 20:15:24.289: invalid (NULL) pointer instance
(process:81): GLib-GObject-CRITICAL **: 20:15:24.289: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:81): GLib-GObject-WARNING **: 20:15:24.289: invalid (NULL) pointer instance
(process:81): GLib-GObject-CRITICAL **: 20:15:24.289: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Gtk-Message: 20:15:24.351: Failed to load module "atk-bridge"

Mershl avatar May 02 '21 19:05 Mershl

Hi, thanks for the explanation! I'm lost with this. Any update of what can we do so far?

juanm-roa avatar Jun 28 '22 17:06 juanm-roa

Fedora with Gnome, starting today I can't even start Anydesk. When I try opening from terminal, it shows the same error message

stojshic avatar Jul 12 '22 18:07 stojshic

AnyDesk does not work on Fedora 36

flatpak info com.anydesk.Anydesk
AnyDesk - Connect to a computer remotely
          ID: com.anydesk.Anydesk
         Ref: app/com.anydesk.Anydesk/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 6.2.0
     License: LicenseRef-proprietary
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 33,3 MB
     Runtime: org.freedesktop.Platform/x86_64/21.08
         Sdk: org.freedesktop.Sdk/x86_64/21.08

      Commit: a5022dac2a99c0df85b2c4a07da39a3845d67e4ad82e7988cc5b577c51fc5e2a
      Parent: 03212bbeb5b523c0aeacf16fc35cf07f7531a08b14944e7e77d77f7e616d95f1
     Subject: Revert back polkit to v120 (9b087fc7)
        Date: 2022-07-11 17:16:27 +0000

Logs:

(process:2): GLib-GObject-WARNING **: 17:34:34.042: invalid (NULL) pointer instance
(process:2): GLib-GObject-CRITICAL **: 17:34:34.042: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:2): GLib-GObject-WARNING **: 17:34:34.042: invalid (NULL) pointer instance
(process:2): GLib-GObject-CRITICAL **: 17:34:34.042: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:6): GLib-GObject-WARNING **: 17:34:34.076: invalid (NULL) pointer instance
(process:6): GLib-GObject-CRITICAL **: 17:34:34.076: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:6): GLib-GObject-WARNING **: 17:34:34.076: invalid (NULL) pointer instance
(process:6): GLib-GObject-CRITICAL **: 17:34:34.076: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Gtk-Message: 17:34:34.112: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:34:34.112: Failed to load module "pk-gtk-module"
Gtk-Message: 17:34:34.182: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:34:34.183: Failed to load module "pk-gtk-module"
sh: line 1: lsb_release: command not found

zhoro avatar Jul 17 '22 14:07 zhoro