Tellicast Issue with Ubuntu 22.04


prmrz60@...
 

Hello,

We installed Tellicast (2.14.7) using UBUNTU “server” 22.04

and received segfault from tc-cast-client -k.


We used safenetauthenticationclient 9.0.43-0 and 10.7.77 drivers

but with the same results.


Then, we have tried to debug the segmentation fault by GDB and STRACE.
In attached the outputs of these commands.

In summary, our analysis indicates that:

1. The segmentation fault occurs on the line 996 of the file: etok_apdu_backend.c

2. The segmentation fault occurs after opening the libpcsclite.so library

3. The output of strace indicate that the libSACTokenSimulator.so is NOT found on our server



Any suggestion is welcome !

Regards,

Maurizio


Ernst Lobsiger
 

Maurizio,

Have you installed libgtk2.0.0 ? This is necessary for that SACSrv BS (even on a CLI only system). On my two receivers:

DEVUAN 3.0
root@kallisto:~# d dpkg -l | grep libgtk2
ii  libgtk2.0-0:amd64                   2.24.32-3                          amd64        GTK+ graphical user interface library
ii  libgtk2.0-bin                       2.24.32-3                          amd64        programs for the GTK+ graphical user interface library
ii  libgtk2.0-common                    2.24.32-3                          all          common files for the GTK+ graphical user interface library
root@kallisto:~#

DEVUAN 4.0
root@luna:~# dpkg -l | grep libgtk2
ii  libgtk2.0-0:amd64                   2.24.33-2                          amd64        GTK graphical user interface library - old version
ii  libgtk2.0-bin                       2.24.33-2                          amd64        programs for the GTK graphical user interface library
ii  libgtk2.0-cil                       2.12.40-3                          amd64        CLI binding for the GTK+ toolkit 2.12
ii  libgtk2.0-cil-dev                   2.12.40-3                          amd64        CLI binding for the GTK+ toolkit 2.12
ii  libgtk2.0-common                    2.24.33-2                          all          common files for the GTK graphical user interface library
ii  libgtk2.0-dev:amd64                 2.24.33-2                          amd64        development files for the GTK library
ii  libgtk2.0-doc                       2.24.33-2                          all          documentation for the GTK graphical user interface library
root@luna:~#


Ernst


prmrz60@...
 

 

 

Ernst,

 

Yes, the LIBGTK2 library have been installed:

 

$ dpkg -l | grep libgtk2
ii  libgtk2.0-0:amd64           2.24.33-2ubuntu2                        amd64        GTK graphical user interface library - old version
ii  libgtk2.0-bin                    2.24.33-2ubuntu2                        amd64        programs for the GTK graphical user interface library

ii  libgtk2.0-cil                     2.12.40-3ubuntu1                        amd64        CLI binding for the GTK+ toolkit 2.12
ii  libgtk2.0-cil-dev              2.12.40-3ubuntu1                        amd64        CLI binding for the GTK+ toolkit 2.12

ii  libgtk2.0-common           2.24.33-2ubuntu2                        all          common files for the GTK graphical user interface library

ii  libgtk2.0-dev:amd64       2.24.33-2ubuntu2                        amd64        development files for the GTK library
ii  libgtk2.0-doc

 


If you have UBUNTU 22.04 on your pc it might be useful to understand the differences with our station.

One way would be to compare the output of the following strace command to run on your pc:

 


$ strace /usr/local/bin/tc-cast-client -k 2> strace.txt

 


I don't know if you can do this for us !



 

Regards,

Mau


George Sz
 

Hi,

I had the same issue before. My solution was as follows:

1. copy these files below from existing libgtk2 installation to these locations
/usr/lib/pcsc/drivers/aks-ifdh.bundle/Contents/Linux/libgdk-x11-2.0.so.0
/usr/lib/pcsc/drivers/aks-ifdh.bundle/Contents/Linux/libgtk-x11-2.0.so.0

2. uninstall libgtk2

This way Tellicast should start normally, with no segfault.

Also see this thread about others' ideas:
https://groups.io/g/MSG-1/topic/93055785

Regards,
George


prmrz60@...
 

George,

 

We tried to follow your suggestions but in the end
we still didn't solve the TELLICAST segmentation fault

on our UBUNTU 22.04 server.

 

After an analysis of the segmentation fault we think that there is

an error in the libc6 libraries of the operating system.

 

Therefore to solve the problem we reinstalled

Tellicast on a UBUNTU 20.04 system

and finally the installation is successful !!!


 

Regards,

Maurizio