Urbackup server 2.4.10 crash on linux

Hello, I’m setting up a new server running Slackware Linux 14.2 x64 with urbackup 2.4.10.
I’ve installed cryptopp 7.0.0 from the slackbuilds repository and then installed urbackup 2.4.10 using the usual

./configure --with-mountvhd
make -j3
make install

When i try to run the server, it just crashes after a few seconds:

root@srv01:~# /usr/local/bin/urbackupsrv run
2019-10-30 15:41:07: Starting HTTP-Server on port 55414
2019-10-30 15:41:07: HTTP: Server started up successfully!
2019-10-30 15:41:07: Generating Server private/public ECDSA key…
Segmentation fault

When running it under gdb, it looks like there something’s wrong with cryptopp: https://pastebin.com/ngzrZdRH

I’ll now try to upgrade/downgrade cryptopp to see if it works with a different version.
Thank you

Similar crash using cryptopp 5.6.5: https://pastebin.com/RGemT1Jx

I’ll now try to downgrade urbackup

Urbackup server 2.3.8 works fine with both cryptopp 5.6.5 and cryptopp 7.0.0.
Do you want to me to make other tests?

Could you check wether or not it compiles with -DCRYPTOPP_DISABLE_ASM and wether your distribution crypto++ was compiled with -DCRYPTOPP_DISABLE_ASM ?

If this doesn’t match the detection in configure does not work. Could you upload config.log in this case? (Also it should start working if you edit configure and delete/edit -DCRYPTOPP_DISABLE_ASM )

I can confirm that urbackup is compiled with -DCRYPTOPP_DISABLE_ASM.
The script used to build cryptopp is here: http://slackbuilds.org/slackbuilds/14.2/libraries/cryptopp/cryptopp.SlackBuild, and i see no mention of DCRYPTOPP_DISABLE_ASM.

The config log is here: https:// pastebin . com/eiBkFp45

Looks like the CryptoPP::AlignedAllocate test program fails because of missing -lpthread

I see my post are being hidden as spam, i guess that’s because of the pastebin links… if you prefer me to post these on another place, just tell me

Ok, thanks. So adding $PTHREAD_LIBS to LDFLAGS for that test should fix it.

Adding -lpthread to the line https://github.com/uroni/urbackup_backend/blob/dev/configure.ac_server#L165 (and running autoconf) did the trick.
I’ve tried adding $PTHREAD_LIBS instead, but that variable seems to be empty at that point of the script: it didn’t show up in the commandline of the gcc call

Thanks. Seems $PTHREAD_CFLAGS needs to be added to CPPFLAGS

Would there be a similar issue with the ubuntu package? After an update to 2.4.10 the server refuses to connect to clients.