I am running into this as well. I use UrBackup to backup my file server to an offsite backup server and recently switched to using TrueNAS.
I built the UrBackup client from source and am running into the exact same segfault. Not sure if it is any help, but this is the end of the ‘truss’ output when I attempt to run the backend after configuring it:
2024-02-18 22:28:08: Trying to connect to internet server urbackup://backup.example.com:55415
write(1,"2024-02-18 22:28:08: Trying to c"...,92) = 92 (0x5c)
write(3,"2024-02-18 22:28:08: Trying to c"...,92) = 92 (0x5c)
lseek(3,0x0,SEEK_CUR) = 3611 (0xe1b)
lseek(3,0xe1b,SEEK_SET) = 3611 (0xe1b)
fstatat(AT_FDCWD,"/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=1108,size=272,blksize=4096 },0x0) = 0 (0x0)
fstatat(AT_FDCWD,"/etc/nsswitch.conf",{ mode=-rw-r--r-- ,inode=1108,size=272,blksize=4096 },0x0) = 0 (0x0)
open("/etc/nsswitch.conf",O_RDONLY|O_CLOEXEC,0666) = 13 (0xd)
fstat(13,{ mode=-rw-r--r-- ,inode=1108,size=272,blksize=4096 }) = 0 (0x0)
read(13,"#\n# nsswitch.conf(5) - name ser"...,4096) = 272 (0x110)
read(13,0x803020000,4096) = 0 (0x0)
close(13) = 0 (0x0)
open("/etc/hosts",O_RDONLY|O_CLOEXEC,0666) = 13 (0xd)
fstat(13,{ mode=-rw-r--r-- ,inode=32768,size=1046,blksize=4096 }) = 0 (0x0)
read(13,"# $FreeBSD$\n#\n# Host Database"...,4096) = 1046 (0x416)
read(13,0x803020000,4096) = 0 (0x0)
close(13) = 0 (0x0)
getpid() = 23565 (0x5c0d)
issetugid() = 0 (0x0)
open("/etc/resolv.conf",O_RDONLY|O_CLOEXEC,0666) = 13 (0xd)
fstat(13,{ mode=-rw-r--r-- ,inode=32896,size=57,blksize=4096 }) = 0 (0x0)
fstat(13,{ mode=-rw-r--r-- ,inode=32896,size=57,blksize=4096 }) = 0 (0x0)
read(13,"domain example.com\nsearch example."...,4096) = 57 (0x39)
read(13,0x803020000,4096) = 0 (0x0)
close(13) = 0 (0x0)
issetugid() = 0 (0x0)
socket(PF_INET,SOCK_DGRAM|SOCK_CLOEXEC,0) = 13 (0xd)
connect(13,{ AF_INET 192.168.1.1:53 },16) = 0 (0x0)
sendto(13,"\M-A\M-N\^A\0\0\^A\0\0\0\0\0\0"...,34,0,NULL,0) = 34 (0x22)
poll({ 13/POLLRDNORM },1,5000) = 1 (0x1)
recvfrom(13,"\M-A\M-N\M^A\M^@\0\^A\0\^A\0\0\0"...,65536,0,{ AF_INET 192.168.1.1:53 },0x7fffdf3f60dc) = 50 (0x32)
close(13) = 0 (0x0)
socket(PF_INET,SOCK_DGRAM|SOCK_CLOEXEC,0) = 13 (0xd)
connect(13,{ AF_INET 192.168.1.1:53 },16) = 0 (0x0)
sendto(13,"7\M^T\^A\0\0\^A\0\0\0\0\0\0\^Fba"...,34,0,NULL,0) = 34 (0x22)
poll({ 13/POLLRDNORM },1,5000) = 1 (0x1)
recvfrom(13,"7\M^T\M^A\M^@\0\^A\0\0\0\0\0\0"...,65536,0,{ AF_INET 192.168.1.1:53 },0x7fffdf3f60dc) = 34 (0x22)
close(13) = 0 (0x0)
socket(PF_INET,SOCK_STREAM|SOCK_CLOEXEC,0) = 13 (0xd)
fcntl(13,F_GETFL,) = 2 (0x2)
fcntl(13,F_SETFL,O_RDWR|O_NONBLOCK) = 0 (0x0)
connect(13,{ AF_INET _redacted_:55415 },16) ERR#36 'Operation now in progress'
poll({ 13/POLLOUT },1,10000) = 1 (0x1)
getsockopt(13,SOL_SOCKET,SO_ERROR,0x7fffdf3f75c4,0x7fffdf3f75c0) = 0 (0x0)
2024-02-18 22:28:08: Successfully connected.
write(1,"2024-02-18 22:28:08: Successfull"...,45) = 45 (0x2d)
write(3,"2024-02-18 22:28:08: Successfull"...,45) = 45 (0x2d)
lseek(3,0x0,SEEK_CUR) = 3656 (0xe48)
lseek(3,0xe48,SEEK_SET) = 3656 (0xe48)
mmap(0x7fffdedf5000,2101248,PROT_READ|PROT_WRITE,MAP_STACK,-1,0x0) = 140736932564992 (0x7fffdedf5000)
mprotect(0x7fffdedf5000,4096,PROT_NONE) = 0 (0x0)
thr_new(0x7fffdf3f7b90,0x68) = 0 (0x0)
<new thread 107360>
sigfastblock(0x1,0x803014738) = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) = 34416361472 (0x803600000)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) = 34418458624 (0x803800000)
thr_set_name(107360,"internet client") = 0 (0x0)
SIGNAL 11 (SIGSEGV) code=SEGV_MAPERR trapno=12 addr=0x10
_umtx_op(0x800670068,UMTX_OP_WAIT_UINT_PRIVATE,0x0,0x0,0x0) ERR#4 'Interrupted system call'
<thread 107237 exited>
<thread 107359 exited>
<thread 107352 exited>
<thread 107355 exited>
<thread 107353 exited>
<thread 107354 exited>
<thread 107357 exited>
<thread 107356 exited>
<thread 107358 exited>
process killed, signal = 11