Tiny Core Extensions > Extension requests

Anydesk

<< < (6/16) > >>

Rich:
Hi Rabie
No, that won't work. It's a 32 bit package and you're working with 64 bit.

The error is due to a name collision with  glibc_base-dev.tcz.

Try fixing  gdkglshapes.c:

--- Code: ---sed -i 's/static int index/static int GLindex/' /opt/gtkglext-1.2.0/gdk/gdkglshapes.c
sed -i 's/idata, index, shadeType/idata, GLindex, shadeType/' /opt/gtkglext-1.2.0/gdk/gdkglshapes.c
--- End code ---

and see what pops up next.

Rabie:
Hi Rich,
thank you very much that fixed the Problem and then were some *.la files missing but i downloaded them manually.

So i tried to start anydesk after i made the extension "gtkglext.tcz"

and i get some warnings and an error:


--- Code: ---root@box:/opt/anydesk-6.0.1# ./anydesk

(process:20460): GLib-GObject-WARNING **: 11:05:36.961: invalid (NULL) pointer instance

(process:20460): GLib-GObject-CRITICAL **: 11:05:36.961: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:20460): GLib-GObject-WARNING **: 11:05:36.961: invalid (NULL) pointer instance

(process:20460): GLib-GObject-CRITICAL **: 11:05:36.961: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:20464): GLib-GObject-WARNING **: 11:05:36.980: invalid (NULL) pointer instance

(process:20464): GLib-GObject-CRITICAL **: 11:05:36.980: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:20464): GLib-GObject-WARNING **: 11:05:36.980: invalid (NULL) pointer instance

(process:20464): GLib-GObject-CRITICAL **: 11:05:36.980: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
root@box:/opt/anydesk-6.0.1#
(process:20468): GLib-GObject-WARNING **: 11:05:37.073: invalid (NULL) pointer instance

(process:20468): GLib-GObject-CRITICAL **: 11:05:37.073: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:20468): GLib-GObject-WARNING **: 11:05:37.073: invalid (NULL) pointer instance

(process:20468): GLib-GObject-CRITICAL **: 11:05:37.073: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
sh: lsb_release: not found
double free or corruption (fasttop)

--- End code ---

Rich:
Hi Rabie
I don't know if that's a bug in  Anydesk  or an issue with  gtkglext.

You could see if you have better results with a pre-compiled binary. Goto:
http://archive.ubuntu.com/ubuntu/pool/universe/g/gtkglext/

Download the  libgtkglext1_1.2.0-11_amd64.deb  file.

Unpack it:

--- Code: ---ar -x libgtkglext1_1.2.0-11_amd64.deb
--- End code ---

You will find the libraries in the  data.tar.xz  file.

Rabie:
Hi Rich,
after unpacking i just copied the *.so files into /usr/lib:

--- Code: ---sudo cp -a /opt/libgtkg/usr/lib/x86_64-linux-gnu/libg* /usr/lib/
--- End code ---

And tried with other version of anydesk but still getting the error

--- Code: ---/opt/anydesk-5.0.0$ ./anydesk

(process:9724): GLib-GObject-WARNING **: 18:10:01.448: invalid (NULL) pointer instance

(process:9724): GLib-GObject-CRITICAL **: 18:10:01.448: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9724): GLib-GObject-WARNING **: 18:10:01.448: invalid (NULL) pointer instance

(process:9724): GLib-GObject-CRITICAL **: 18:10:01.448: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9726): GLib-GObject-WARNING **: 18:10:01.458: invalid (NULL) pointer instance

(process:9726): GLib-GObject-CRITICAL **: 18:10:01.458: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9726): GLib-GObject-WARNING **: 18:10:01.458: invalid (NULL) pointer instance

(process:9726): GLib-GObject-CRITICAL **: 18:10:01.458: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
tc@box:/opt/anydesk-5.0.0$
(process:9732): GLib-GObject-WARNING **: 18:10:01.467: invalid (NULL) pointer instance

(process:9732): GLib-GObject-CRITICAL **: 18:10:01.467: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9732): GLib-GObject-WARNING **: 18:10:01.467: invalid (NULL) pointer instance

(process:9732): GLib-GObject-CRITICAL **: 18:10:01.467: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9730): GLib-GObject-WARNING **: 18:10:01.468: invalid (NULL) pointer instance

(process:9730): GLib-GObject-CRITICAL **: 18:10:01.468: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9730): GLib-GObject-WARNING **: 18:10:01.468: invalid (NULL) pointer instance

(process:9730): GLib-GObject-CRITICAL **: 18:10:01.468: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9753): GLib-GObject-WARNING **: 18:10:03.493: invalid (NULL) pointer instance

(process:9753): GLib-GObject-CRITICAL **: 18:10:03.493: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(process:9753): GLib-GObject-WARNING **: 18:10:03.493: invalid (NULL) pointer instance

(process:9753): GLib-GObject-CRITICAL **: 18:10:03.493: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
sh: lsb_release: not found


--- End code ---

I don't think that this is a bug  :-\

Rich:
Hi Rabie

--- Quote from: Rabie on December 20, 2021, 01:19:57 PM ---after unpacking i just copied the *.so files into /usr/lib: ...
--- End quote ---
Is the  gtkglext.tcz  you created still installed?
Does the  gtkglext.tcz  you created have the libraries in  /usr/local/lib/?
If the answers to those questions is yes, your extension is overriding the libraries you just copied.


--- Quote ---And tried with other version of anydesk but still getting the error
--- End 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.

I see the  double free  error did not occur this time. Was that because you used a different version of Anydesk?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version