Server segmentation fault in freenas jail

We have an urbackup server 2.1.19 running in a freenas 9.x jail.
Until today it worked perfectly, but we had a power outage and after restarting the backupserver it doesn’t start up anymore.
I did a repair-database and remove-unknown but it still doesn’t start up it only shows following message:

/usr/local/bin/urbackupsrv run -v debug -g 104857600 -u root
2017-11-21 09:48:11: Starting HTTP-Server on port 55414
2017-11-21 09:48:11: HTTP: Server started up successfully!
Segmentation fault

I don’t have any Idea how to get more debug information out of it.

I don’t know if the backtrace helps:

root@urBackup:/ # gdb --args /usr/local/bin/urbackupsrv run -v debug -g 104857600 -u root
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
(gdb) run
Starting program: /usr/local/bin/urbackupsrv run -v debug -g 104857600 -u root
[New LWP 100720]
[New Thread 805006400 (LWP 100720/urbackupsrv)]
2017-11-21 09:59:43: Starting HTTP-Server on port 55414
2017-11-21 09:59:43: HTTP: Server started up successfully!

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 805006400 (LWP 100720/urbackupsrv)]
0x00000008015d92a0 in typeinfo for CryptoPP::AuthenticatedSymmetricCipherBase () from /usr/local/lib/libcryptopp.so
(gdb) bt
#0  0x00000008015d92a0 in typeinfo for CryptoPP::AuthenticatedSymmetricCipherBase () from /usr/local/lib/libcryptopp.so
#1  0x0000000000786a01 in CryptoFactory::signData (this=0x7fffffff9c90, pubkey=<value optimized out>, data=@0x7fffffffa898, signature=@0x7fffffffa8e0)
    at cryptoplugin/CryptoFactory.cpp:239
#2  0x00000000005ac462 in LoadActions_urbackupserver (pServer=<value optimized out>) at urbackupserver/dllmain.cpp:552
#3  0x0000000000442e27 in CServer::LoadStaticPlugins (this=0x80504d400) at Server.cpp:2024
#4  0x0000000000455200 in main_fkt (argc=<value optimized out>, argv=<value optimized out>) at main.cpp:528
#5  0x0000000000730dae in action_run (args=<value optimized out>) at urbackupserver/cmdline_preprocessor.cpp:93
#6  0x000000000073b369 in main (argc=<value optimized out>, argv=<value optimized out>) at urbackupserver/cmdline_preprocessor.cpp:1128

You’ll probably have to recompile it. My guess is, the cryptopp-library it was compiled with doesn’t match the current library because somehow it was updated.

thanks a lot. that was exactly the problem. :slight_smile:
(no idea how that happened)