Tiny Core Extensions > Extension requests

Anydesk

<< < (13/16) > >>

Rabie:
Hi Rich,


--- Quote ---... this time i got the error "double free or corruption (fasttop)" without running it as root ...
I just realized, you're still running as root. The anydesk.trace file you posted on December 20 shows this:
--- End quote ---

you are very right with that, so i went back to find out what i did back then.
this is what i found out:

--- Quote ---Hi Rabie
Install  dbus.tcz  and start it like this:
Code:
sudo /usr/local/etc/ init.d/dbus start

See if that makes those  dbus  errors go away.

--- End quote ---

i wrote this line in /opt/bootlocal  "sudo /usr/local/etc/ init.d/dbus start"
so the warnings go away, but i didn't realize, that after dbus start, anydesk is defaulting to root.

so i stoped dbus and startet anydesk again and anydesk is defaulting to /home/tc but with those errors (See Attachments):

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

(process:18470): GLib-GObject-WARNING **: 16:41:21.333: invalid (NULL) pointer instance

(process:18470): GLib-GObject-CRITICAL **: 16:41:21.333: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:18470): GLib-GObject-WARNING **: 16:41:21.333: invalid (NULL) pointer instance

(process:18470): GLib-GObject-CRITICAL **: 16:41:21.333: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:18474): GLib-GObject-WARNING **: 16:41:21.352: invalid (NULL) pointer instance

(process:18474): GLib-GObject-CRITICAL **: 16:41:21.352: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:18474): GLib-GObject-WARNING **: 16:41:21.352: invalid (NULL) pointer instance

(process:18474): GLib-GObject-CRITICAL **: 16:41:21.352: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error
/home/tc/.gtkrc-2.0:16: error: scanner: unknown error

(anydesk:18470): GLib-GObject-CRITICAL **: 16:41:21.460: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(anydesk:18470): GLib-GObject-CRITICAL **: 16:41:21.462: g_object_set: assertion 'G_IS_OBJECT (object)' failed
sh: lsb_release: not found
double free or corruption (fasttop)

--- End code ---
maybe i should start dbus as a normal user

edit:



--- Code: ---tc@box:/opt/anydesk-6.0.1$ /usr/ local /etc/ init.d / dbus start
tc@box:/opt/anydesk-6.0.1$
tc@box:/opt/anydesk-6.0.1$ ./anydesk
(process:23146): GLib-GObject-WARNING **: 17:20:12.929: invalid (NULL) pointer instance
(process:23146): GLib-GObject-CRITICAL **: 17:20:12.929: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(process:23146): GLib-GObject-WARNING **: 17:20:12.929: invalid (NULL) pointer instance
(process:23146): GLib-GObject-CRITICAL **: 17:20:12.929: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

--- End code ---

Rabie:

--- Quote ---On your Ubuntu system, make a copy of the  .anydesk  directory:

#tar -czf anydeskDir.tar.gz .anydesk
and attach  anydeskDir.tar.gz  to your next post.

Also, what does this command return:
id

--- End quote ---

From the Ubuntu machine:

--- Code: ---user@ubuntu:~$ id
uid=1000(user) gid=1000(user) groups=1000(user),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),131(lxd),132(sambashare)

--- End code ---

Juanito:

--- Quote from: Rabie on December 24, 2021, 12:01:53 PM ---maybe i should start dbus as a normal user

--- End quote ---

When you start dbus as root, it will fallback to user tc once started.

Rich:
Hi Rabie
I decided to see If I could get anydesk to run on Tinycore version 10 x86.
I downloaded and unpacked  anydesk-6.0.1-i386.tar.gz  which is the latest 32 bit version.

I download these missing dependencies from the Ubuntu repository:

--- Code: ---tc@E310:~/AnyDesk$ ls -l *.deb
-rw-r--r-- 1 tc staff  75348 Dec 25 14:01 libgtkglext1_1.2.0-8_i386.deb
-rw-r--r-- 1 tc staff  43780 Dec 25 20:25 libpangox-1.0-0_0.0.2-5.1_i386.deb
-rw-r--r-- 1 tc staff  38452 Dec 25 14:35 libpolkit-gobject-1-0_0.105-20ubuntu0.18.04.5_i386.deb
-rw-r--r-- 1 tc staff 224260 Dec 25 19:26 libsystemd0_237-3ubuntu10.50_i386.deb
tc@E310:~/AnyDesk$
--- End code ---
I unpacked and copied the libraries to  /usr/local/lib  and ran  sudo ldconfig.

My system starts  dbus  from  bootlocal.sh, and as Juanito stated, ownership reverts to user tc:

--- Code: ---tc@E310:~/AnyDesk$ ps aux | grep system
tc        7715  0.0  0.0   1704   320 pts/9    S+   20:58   0:00 grep system
tc        8960  0.0  0.0   2376  1588 ?        Ss   Oct12   0:00 /usr/local/bin/dbus-daemon --system
tc@E310:~/AnyDesk$
--- End code ---

It spits out a few warnings/errors, but it starts:

--- Code: ---tc@E310:~/AnyDesk/anydesk-6.0.1-i386/anydesk-6.0.1$ ./anydesk
No UTF-8. Trying to change locale.
C.UTF-8: not available.
Locale sucessfully changed.
No UTF-8. Trying to change locale.
C.UTF-8: not available.
Locale sucessfully changed.
No UTF-8. Trying to change locale.
C.UTF-8: not available.
Locale sucessfully changed.

(anydesk:7478): Gtk-CRITICAL **: 19:53:29.190: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed

(anydesk:7478): Gtk-CRITICAL **: 19:53:29.207: IA__gtk_widget_set_tooltip_markup: assertion 'GTK_IS_WIDGET (widget)' failed

(anydesk:7478): Gtk-CRITICAL **: 19:53:29.229: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed

(anydesk:7478): Gtk-CRITICAL **: 19:53:29.229: IA__gtk_signal_connect_full: assertion 'GTK_IS_OBJECT (object)' failed
sh: lsb_release: not found
sh: lsb_release: not found
tc@E310:~/AnyDesk/anydesk-6.0.1-i386/anydesk-6.0.1$ double free or corruption (fasttop)
--- End code ---
After I exit the program, the command prompt returns. 10 seconds after that, the  double free  error appears.



I attached a copy of the  anydesk.trace  file it created if that's of interested.

Maybe some of what I did will help in some way.

Juanito:
If x86 starts, perhaps you need a symlink /lib64 -> /lib for x86_64?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version