VirtualHere keeps crashing on Linux

I love your software. It is light, straightforward and to the point. It was working flawlessly for me until recently. The process keeps crashing after some time.

Here is a readout from systemctl:

hakim@volkanite:~$ systemctl status virtualhereclient.service
● virtualhereclient.service - VirtualHere Client
Loaded: loaded (/etc/systemd/system/virtualhereclient.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Mon 2022-09-05 13:41:58 AST; 3h 47min ago
Process: 1058 ExecStart=/usr/sbin/vhclientx86_64 -n (code=exited, status=0/SUCCESS)
Main PID: 1118 (code=killed, signal=SEGV)

Sep 05 13:30:04 volkanite vhclientx86_64[1118]: VirtualHere Client: Connection 2 remotely disconnected gracefully (rx)
Sep 05 13:31:56 volkanite vhclientx86_64[1118]: VirtualHere Client: Server ping timeout, shutting down connection 3...
Sep 05 13:31:56 volkanite vhclientx86_64[1118]: VirtualHere Client: Connection 3 remotely disconnected gracefully (rx)
Sep 05 13:34:25 volkanite vhclientx86_64[1118]: VirtualHere Client: Server ping timeout, shutting down connection 4...
Sep 05 13:34:25 volkanite vhclientx86_64[1118]: VirtualHere Client: Connection 4 remotely disconnected gracefully (rx)
Sep 05 13:35:46 volkanite vhclientx86_64[1118]: VirtualHere Client: Server ping timeout, shutting down connection 5...
Sep 05 13:35:46 volkanite vhclientx86_64[1118]: VirtualHere Client: Connection 5 remotely disconnected gracefully (rx)
Sep 05 13:41:55 volkanite vhclientx86_64[1118]: VirtualHere Client: (Server Mode) Connection to EasyFind peer xxxxxxxxxxxxxx timed out
Sep 05 13:41:58 volkanite systemd[1]: virtualhereclient.service: Main process exited, code=killed, status=11/SEGV
Sep 05 13:41:58 volkanite systemd[1]: virtualhereclient.service: Failed with result 'signal'.

#2

Can you run

uname -a

on that system so i can see the kernel version.

#3

Thanks for the fast response Michael.

Linux volkanite 5.4.0-122-generic #138-Ubuntu SMP Wed Jun 22 15:00:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

#4

I have created a debug build of the client https://www.virtualhere.com/sites/default/files/usbclient/test/vhclient…

could you replace /usr/sbin/vhclientx86_64 with this debug build

You need to turn on core dumps for that process. Turn on core dumps for everything like this https://www.akadia.com/services/ora_enable_core.html

then reboot and see if it generates a core file in /usr/sbin when it crashes, if so can you email me that file. Thanks

#5

I replaced the production VH with the debug version using these steps:

sudo systemctl stop virtualhereclient.service
wget https://www.virtualhere.com/sites/default/files/usbclient/test/vhclient…
chmod +x ./vhclientx86_64
sudo mv ./vhclientx86_64 /usr/sbin

Then enabled core dumps using:
ulimit -S -c unlimited

Then restarted the service:
sudo systemctl start virtualhereclient.service

I didn't reboot as I felt just restarting the service should be good enough. Let me know if a reboot is a must. Also, VH doesn't crash instantly; it does so after several hours it seems. I'll just have to wait until it crashes again and see if it generates a core dump file.

#6

OK i think that should be ok too,

#7

Just an update. Michael was able to fix the problem via email. Hopefully the bugfix should show up in the production build fairly soon for anyone who was experiencing any crashes using the Linux VirtualHere client. Thanks again Michael, your software and even support is above the rest.