Debian: Segmentation fault - urbackup server 2.0.36

Hi there.

I’m running urbackup server 2.0.36 on a Debian 9 (Stretch testing) VM. The server was rebooted, but urbackupsrv was not stopped before hand. When the server came back up, it was not able to start urbackupsrv and the information given is quite limited.
When I checked the log fil /var/log/urbackupsrv.log it does not state anything. So I tried debugging with the -v flag, very limited info there as well.
host:~> /usr/sbin/urbackupsrv run -v warn
Segmentation fault
host:~> /usr/sbin/urbackupsrv run -v error
Segmentation fault
host:~> /usr/sbin/urbackupsrv run -v info
2016-10-31 17:39:37: Starting HTTP-Server on port 55414
2016-10-31 17:39:37: HTTP: Server started up successfully!
Segmentation fault

When checking dmesg I see the following:
[ 8986.537116] urbackupsrv[5521]: segfault at 10 ip 0000000000000010 sp 00007fffb9ba0dd8 error 14 in urbackupsrv[400000+455000]

which does not really tell me much.

Info:
host:~> lsb_release -irc
Distributor ID: Debian
Release: testing
Codename: stretch

host:~> uname -a
Linux mimer 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux

host:~> /usr/sbin/urbackupsrv --version
UrBackup Server v2.0.36.1628
Copyright © 2011-2016 Martin Raiber
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Filsystem is: ext4 and storage is on NFSv4

How should I proceed from here, any advice on how to troubleshoot further?

If you use this package https://hndl.urbackup.org/Server/2.0.36/urbackup-server_2.0.36_amd64.deb you could install the debug symbols at https://hndl.urbackup.org/Server/2.0.36/urbackup-server-dbgsym_2.0.36_amd64.deb and then run it in gdb and post the output here:

gdb --args urbackupsrv run -v debug
run
bt

Hi uroni

Thanks, I used the one from this link: https://hndl.urbackup.org/Server/2.0.36/debian/testing/ it’s not compatible with:
https://hndl.urbackup.org/Server/2.0.36/urbackup-server-dbgsym_2.0.36_amd64.deb

host:/tmp> dpkg -i urbackup-server-dbgsym_2.0.36_amd64.deb
Selecting previously unselected package urbackup-server-dbgsym.
(Reading database … 106296 files and directories currently installed.)
Preparing to unpack urbackup-server-dbgsym_2.0.36_amd64.deb …
Unpacking urbackup-server-dbgsym (2.0.36.0) …
dpkg: dependency problems prevent configuration of urbackup-server-dbgsym:
urbackup-server-dbgsym depends on urbackup-server (= 2.0.36.0); however:
Version of urbackup-server on system is 2.0.36.1628-1.

dpkg: error processing package urbackup-server-dbgsym (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
urbackup-server-dbgsym

I just installed the version you linked to: hndl.urbackup.org/Server/2.0.36/urbackup-server_2.0.36_amd64.deb on top and the server could start afterwards for unknown reason. So we can just consider this closed.