WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Anydesk  (Read 5118 times)

Offline Rabie

  • Full Member
  • ***
  • Posts: 239
Re: Anydesk
« Reply #30 on: December 20, 2021, 11:33:09 AM »
Hi Rich,

Quote
Is the  gtkglext.tcz  you created still installed?
No no, i uninstalled the gtkglext.tcz i created before

Quote
Does the  gtkglext.tcz  you created have the libraries in  /usr/local/lib/?
yes they were in /usr/local/lib, but i double checked that the extension is uninstalled.
and just copied the pre-compiled binaries like that.
Code: [Select]
sudo cp -a /opt/libgtkg/usr/lib/x86_64-linux-gnu/libg* /usr/lib/
Quote
So you changed libraries and the version of Anydesk at the same time? You should not more than one thing at
a time when trying to diagnose a problem.

no i didn't do it at the same time, i copied the new binary and tried it with the same version and got the same error and then i tried the other version of anydesk

Quote
I see the  double free  error did not occur this time. Was that because you used a different version of Anydesk?
no this comes when i start anydesk as root, what i shouldn't do!



here exactly what i did:

Code: [Select]
tc@box:/opt$ sudo find / -name "libgdkglext-x11*"
/opt/libgtkg/usr/lib/x86_64-linux-gnu/libgdkglext-x11-1.0.so.0.0.0    #there is just the new libs in the system
/opt/libgtkg/usr/lib/x86_64-linux-gnu/libgdkglext-x11-1.0.so.0
tc@box:/opt$
tc@box:/opt$
tc@box:/opt$
tc@box:/opt$
tc@box:/opt$
tc@box:/opt$ sudo cp -a /opt/libgtkg/usr/lib/x86_64-linux-gnu/libg* /usr/lib/
tc@box:/opt$ cd anydesk-6.0.1/
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt/anydesk-6.0.1$ ./anydesk

(process:10066): GLib-GObject-WARNING **: 18:54:01.839: invalid (NULL) pointer instance

(process:10066): GLib-GObject-CRITICAL **: 18:54:01.839: g_signal_connect_data: assertion 'G_TYPE_CHECKNSTANCE (instance)' failed

(process:10066): GLib-GObject-WARNING **: 18:54:01.839: invalid (NULL) pointer instance

(process:10066): GLib-GObject-CRITICAL **: 18:54:01.839: g_signal_connect_data: assertion 'G_TYPE_CHECKNSTANCE (instance)' failed

(process:10070): GLib-GObject-WARNING **: 18:54:01.858: invalid (NULL) pointer instance

(process:10070): GLib-GObject-CRITICAL **: 18:54:01.858: g_signal_connect_data: assertion 'G_TYPE_CHECKNSTANCE (instance)' failed

(process:10070): GLib-GObject-WARNING **: 18:54:01.858: invalid (NULL) pointer instance

(process:10070): GLib-GObject-CRITICAL **: 18:54:01.858: g_signal_connect_data: assertion 'G_TYPE_CHECKNSTANCE (instance)' failed
sh: lsb_release: not found
free(): invalid next size (fast)
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt$ cd anydesk-5.0.0/
tc@box:/opt/anydesk-5.0.0$
tc@box:/opt/anydesk-5.0.0$
tc@box:/opt/anydesk-5.0.0$ ./anydesk

(process:9665): GLib-GObject-WARNING **: 18:53:24.824: invalid (NULL) pointer instance

(process:9665): GLib-GObject-CRITICAL **: 18:53:24.824: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9665): GLib-GObject-WARNING **: 18:53:24.824: invalid (NULL) pointer instance

(process:9665): GLib-GObject-CRITICAL **: 18:53:24.824: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9667): GLib-GObject-WARNING **: 18:53:24.834: invalid (NULL) pointer instance

(process:9667): GLib-GObject-CRITICAL **: 18:53:24.834: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9667): GLib-GObject-WARNING **: 18:53:24.834: invalid (NULL) pointer instance

(process:9667): GLib-GObject-CRITICAL **: 18:53:24.834: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9671): GLib-GObject-WARNING **: 18:53:24.846: invalid (NULL) pointer instance

(process:9671): GLib-GObject-CRITICAL **: 18:53:24.847: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9671): GLib-GObject-WARNING **: 18:53:24.847: invalid (NULL) pointer instance

(process:9671): GLib-GObject-CRITICAL **: 18:53:24.847: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed
tc@box:/opt/anydesk-5.0.0$
(process:9677): GLib-GObject-WARNING **: 18:53:24.861: invalid (NULL) pointer instance

(process:9677): GLib-GObject-CRITICAL **: 18:53:24.861: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9677): GLib-GObject-WARNING **: 18:53:24.861: invalid (NULL) pointer instance

(process:9677): GLib-GObject-CRITICAL **: 18:53:24.861: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9679): GLib-GObject-WARNING **: 18:53:24.870: invalid (NULL) pointer instance

(process:9679): GLib-GObject-CRITICAL **: 18:53:24.870: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

(process:9679): GLib-GObject-WARNING **: 18:53:24.870: invalid (NULL) pointer instance

(process:9679): GLib-GObject-CRITICAL **: 18:53:24.870: g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed
sh: lsb_release: not found







Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10150
Re: Anydesk
« Reply #31 on: December 20, 2021, 02:26:20 PM »
Hi Rabie
It's a long shot, but try this anyway:
Code: [Select]
sudo cp -a /opt/libgtkg/usr/lib/x86_64-linux-gnu/libg* /usr/local/lib/
sudo ldconfig

Then try the 2 versions of  Anydesk  again.

I did notice a difference in the error messages between the 2 versions.
anydesk-6.0.1:
Code: [Select]
g_signal_connect_data: assertion 'G_TYPE_CHECKNSTANCE (instance)' failedanydesk-5.0.0:
Code: [Select]
g_signal_connect_data: assertion 'G_TYPE_CHECK_STANCE (instance)' failed

Offline Rabie

  • Full Member
  • ***
  • Posts: 239
Re: Anydesk
« Reply #32 on: December 20, 2021, 02:48:44 PM »
Hi Rich,
it didn't work
Code: [Select]
tc@box:/opt/anydesk-5.0.0$ ./anydesk

(process:14259): GLib-GObject-WARNING **: 22:36:39.888: invalid (NULL) pointer instance

(process:14259): GLib-GObject-CRITICAL **: 22:36:39.888: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14259): GLib-GObject-WARNING **: 22:36:39.888: invalid (NULL) pointer instance

(process:14259): GLib-GObject-CRITICAL **: 22:36:39.888: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14261): GLib-GObject-WARNING **: 22:36:39.897: invalid (NULL) pointer instance

(process:14261): GLib-GObject-CRITICAL **: 22:36:39.897: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14261): GLib-GObject-WARNING **: 22:36:39.897: invalid (NULL) pointer instance

(process:14261): GLib-GObject-CRITICAL **: 22:36:39.897: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14265): GLib-GObject-WARNING **: 22:36:39.913: invalid (NULL) pointer instance

(process:14265): GLib-GObject-CRITICAL **: 22:36:39.913: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14265): GLib-GObject-WARNING **: 22:36:39.913: invalid (NULL) pointer instance

(process:14265): GLib-GObject-CRITICAL **: 22:36:39.914: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
tc@box:/opt/anydesk-5.0.0$
(process:14270): GLib-GObject-WARNING **: 22:36:39.923: invalid (NULL) pointer instance

(process:14270): GLib-GObject-CRITICAL **: 22:36:39.923: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14270): GLib-GObject-WARNING **: 22:36:39.923: invalid (NULL) pointer instance

(process:14270): GLib-GObject-CRITICAL **: 22:36:39.923: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14272): GLib-GObject-WARNING **: 22:36:39.932: invalid (NULL) pointer instance

(process:14272): GLib-GObject-CRITICAL **: 22:36:39.932: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:14272): GLib-GObject-WARNING **: 22:36:39.932: invalid (NULL) pointer instance

(process:14272): GLib-GObject-CRITICAL **: 22:36:39.932: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
sh: lsb_release: not found

Code: [Select]
tc@box:/opt/anydesk-6.0.1$ ./anydesk

(process:15878): GLib-GObject-WARNING **: 22:38:20.415: invalid (NULL) pointer instance

(process:15878): GLib-GObject-CRITICAL **: 22:38:20.415: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:15878): GLib-GObject-WARNING **: 22:38:20.415: invalid (NULL) pointer instance

(process:15878): GLib-GObject-CRITICAL **: 22:38:20.415: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:15882): GLib-GObject-WARNING **: 22:38:20.433: invalid (NULL) pointer instance

(process:15882): GLib-GObject-CRITICAL **: 22:38:20.433: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:15882): GLib-GObject-WARNING **: 22:38:20.433: invalid (NULL) pointer instance

(process:15882): GLib-GObject-CRITICAL **: 22:38:20.433: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
tc@box:/opt/anydesk-6.0.1$
(process:15886): GLib-GObject-WARNING **: 22:38:20.526: invalid (NULL) pointer instance

(process:15886): GLib-GObject-CRITICAL **: 22:38:20.526: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:15886): GLib-GObject-WARNING **: 22:38:20.526: invalid (NULL) pointer instance

(process:15886): GLib-GObject-CRITICAL **: 22:38:20.526: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
sh: lsb_release: not found
double free or corruption (fasttop)

this time i got the error "double free or corruption (fasttop)" without running it as root


although i noticed two things:
- when running anydesk 6.0.1, there are less warnings but same error "sh: lsb_release: not found"
- everytime i run anydesk it makes this diractory in /home/tc/.anydesk (See Attachments)

Edit:
i think those two lines from the log might be our start:
Code: [Select]
error 2021-12-20 22:55:45.001         ad  32682  32682          unix_app.dbus.logind_manager - Error instanciating Logind Manager: Could not connect: Datei oder Verzeichnis nicht gefunden
  error 2021-12-20 22:55:45.001         ad  32682  32682              unix_app.dbus.consolekit - Error instanciating ConsoleKit Manager: Could not connect: Datei oder Verzeichnis nicht gefunden
« Last Edit: December 20, 2021, 02:59:38 PM by Rabie »

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10150
Re: Anydesk
« Reply #33 on: December 20, 2021, 05:03:48 PM »
Hi Rabie
Install  dbus.tcz  and start it like this:
Code: [Select]
sudo /usr/local/etc/init.d/dbus start
See if that makes those  dbus  errors go away.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13812
Re: Anydesk
« Reply #34 on: December 21, 2021, 01:42:46 AM »
Those dbus messages indicate that it's looking for systemd - not present in tinycore.

Offline Rabie

  • Full Member
  • ***
  • Posts: 239
Re: Anydesk
« Reply #35 on: December 21, 2021, 04:39:46 AM »
Hi Rabie
Install  dbus.tcz  and start it like this:
Code: [Select]
sudo /usr /local/ etc/ init.d/ dbus start
See if that makes those  dbus  errors go away.


that solved all warning and old errors

now i start anydesk and gives a new error
Code: [Select]
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                         impl_selector - using sse2
 * * * * * * * * * * * * * * * * * *
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - * AnyDesk Linux Startup *
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - * Version 6.0.1 (linux_release_6.0.1 ce4f5badb2839d0e36a167da46f34596f2e89093)
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - * Build 20200824175011
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - * Prefix ad
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - * Copyright (C) 2017 philandro Software GmbH *
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main -
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - Distribution Info: TinyCoreLinux 10.1
   info 2021-12-21 14:39:05.574         ad   main  15665  15665                                  main - Found GLib Version: 2.60.
warning 2021-12-21 14:39:05.584         ad   main  15665  15665                   fiber.ipc_namespace - Local namespace without service.
   info 2021-12-21 14:39:05.584         ad   main  15665  15665                   fiber.ipc_namespace - Global: no
   info 2021-12-21 14:39:05.584         ad   main  15665  15665                       app.common_path - user_data_dir = /root/.anydesk, logged_in_user_data_dir = /root/.anydesk, current_home = /root

  error 2021-12-21 14:39:05.584         ad   main  15665  15665                       app.common_path - Could not access AnyDesk user config directory (13) (/root/.anydesk)

it says: it cant access the dir /root/.anydesk, but i looked and it does not exist.

so when i start anydesk as root, it makes the dir /root/.anydesk and i get the GUI error "DO not start anydesk as root, this might lead to unexpected behavior" and "double free or corruption (fasttop)"
and then i start anydesk as a normal user cause the diractory /root/.anydesk exist now and i get a new error:

Code: [Select]
info 2021-12-21 14:47:05.388         ad   main  23421  23421                         impl_selector - using sse2
 * * * * * * * * * * * * * * * * * *
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - * AnyDesk Linux Startup *
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - * Version 6.0.1 (linux_release_6.0.1 ce4f5badb2839d0e36a167da46f34596f2e89093)
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - * Build 20200824175011
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - * Prefix ad
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - * Copyright (C) 2017 philandro Software GmbH *
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main -
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - Distribution Info: TinyCoreLinux 10.1
   info 2021-12-21 14:47:05.388         ad   main  23421  23421                                  main - Found GLib Version: 2.60.
   info 2021-12-21 14:47:05.398         ad   main  23421  23421                   fiber.ipc_namespace - Global: no
   info 2021-12-21 14:47:05.398         ad   main  23421  23421                       app.common_path - user_data_dir = /root/.anydesk, logged_in_user_data_dir = /root/.anydesk, current_home = /root

  error 2021-12-21 14:47:05.398         ad   main  23421  23421                       app.common_path - Found no place for system data.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 13812
Re: Anydesk
« Reply #36 on: December 21, 2021, 04:51:26 AM »
What happens if you create /home/tc/.anydesk and run anydesk as a normal user?

Offline Rabie

  • Full Member
  • ***
  • Posts: 239
Re: Anydesk
« Reply #37 on: December 21, 2021, 06:00:56 AM »
What happens if you create /home/tc/.anydesk and run anydesk as a normal user?

I Don't need to create it, it creat its self, when i run anydesk as normal user and the log file is in there, that i already shared

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10150
Re: Anydesk
« Reply #38 on: December 21, 2021, 06:12:12 AM »
Hi Juanito
Those dbus messages indicate that it's looking for systemd - not present in tinycore.
The Anydesk tarball provides both systemd and init.d startup files.

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10150
Re: Anydesk
« Reply #39 on: December 21, 2021, 06:16:58 AM »
Hi Rabie
Delete the   /home/tc/.anydesk  and  /root/.anydesk  files. If there's one somewhere under your  /opt  directory, delete
that too. Then try starting as a regular user.

Offline Rabie

  • Full Member
  • ***
  • Posts: 239
Re: Anydesk
« Reply #40 on: December 21, 2021, 07:09:55 AM »
Hi Rabie
Delete the   /home/tc/.anydesk  and  /root/.anydesk  files. If there's one somewhere under your  /opt  directory, delete
that too. Then try starting as a regular user.

i did all that, keep getting this, no matter if i delete the diractory or kept it, with every start it create itself and the same error in there "anydesk.trace"
Code: [Select]
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                         impl_selector - using avx2
 * * * * * * * * * * * * * * * * * *
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - * AnyDesk Linux Startup *
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - * Version 6.0.1 (linux_release_6.0.1 ce4f5badb2839d0e36a167da46f34596f2e89093)
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - * Build 20200824175011
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - * Prefix ad
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - * Copyright (C) 2017 philandro Software GmbH *
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main -
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - Distribution Info: TinyCoreLinux 10.1
   info 2021-12-21 15:06:14.102         ad   main  11461  11461                                  main - Found GLib Version: 2.60.
warning 2021-12-21 15:06:14.106         ad   main  11461  11461                   fiber.ipc_namespace - Local namespace without service.
   info 2021-12-21 15:06:14.106         ad   main  11461  11461                   fiber.ipc_namespace - Global: no
   info 2021-12-21 15:06:14.106         ad   main  11461  11461                       app.common_path - user_data_dir = /root/.anydesk, logged_in_user_data_dir = /root/.anydesk, current_home = /root

  error 2021-12-21 15:06:14.106         ad   main  11461  11461                       app.common_path - Could not access AnyDesk user config directory (13) (/root/.anydesk)

Offline Rabie

  • Full Member
  • ***
  • Posts: 239
Re: Anydesk
« Reply #41 on: December 21, 2021, 07:25:59 AM »
i tried to copy the directory /home/tc/.anydesk to /root/.anydesk so it can access it and then i got just that:
Code: [Select]
tc@box:/opt/anydesk-6.0.1$ ./anydesk
tc@box:/opt/anydesk-6.0.1$ sh: lsb_release: not found

that what it loged: (See Attachment)



Offline Rabie

  • Full Member
  • ***
  • Posts: 239
Re: Anydesk
« Reply #42 on: December 21, 2021, 07:39:06 AM »
i tried to copy the directory /home/tc/.anydesk to /root/.anydesk so it can access it and then i got just that:
Code: [Select]
tc@box:/opt/anydesk-6.0.1$ ./anydesk
tc@box:/opt/anydesk-6.0.1$ sh: lsb_release: not found

that what it loged: (See Attachment)

edit:

i saw that it couldn't open Display so i did the export:
Code: [Select]
export DISPLAY=:0
and then i got :

Code: [Select]
tc@box:/opt/anydesk-6.0.1$ ./anydesk
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
sh: lsb_release: not found
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error

(anydesk:28782): GLib-GObject-CRITICAL **: 15:34:46.633: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(anydesk:28782): GLib-GObject-CRITICAL **: 15:34:46.635: g_object_set: assertion 'G_IS_OBJECT (object)' failed
double free or corruption (fasttop)

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 10150
Re: Anydesk
« Reply #43 on: December 21, 2021, 07:48:30 AM »
Hi Rabie
Please post the contents of  /home/tc/.gtkrc-2.0  and  /home/tc/.anydesk.

Offline Rabie

  • Full Member
  • ***
  • Posts: 239
Re: Anydesk
« Reply #44 on: December 21, 2021, 08:06:38 AM »
Hi Rabie
Please post the contents of  /home/tc/.gtkrc-2.0  and  /home/tc/.anydesk.

i just wanted to do it ;D

Code: [Select]
tc@box:~$ nano ~/.gtkrc-2.0
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
gtk-theme-name="Raleigh"
gtk-icon-theme-name="nuoveXT2"
gtk-font-name="Sans 10"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"
include .gtkrc-2.0.mine

Code: [Select]
ls -al /home/tc/.anydesk/
total 100
drwxr-sr-x    2 tc       staff           80 Dec 21 18:03 ./
drwxr-s---   12 tc       staff          520 Dec 21 18:03 ../
-rw-r--r--    1 tc       staff            0 Dec 21 18:03 .anydesk.trace
-rw-rw-rw-    1 tc       staff        99387 Dec 21 18:04 anydesk.trace

« Last Edit: December 21, 2021, 08:08:47 AM by Rabie »