Segmentation fault on QNAP 2.4.13/2.4.15 (Entware)

$ ./scripts/remote-gdb 10.0.1.100:9999 ./build_dir/target-x86_64_glibc-2.27/urbackup-server-2.4.13/urbackupsrv
Using target x86_64 (glibc, -2.27)
GNU gdb (GDB) 11.1
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=x86_64-pc-linux-gnu --target=x86_64-openwrt-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./build_dir/target-x86_64_glibc-2.27/urbackup-server-2.4.13/urbackupsrv...
0x00007ffff7fd8090 in _start ()
   from /root/Entware/scripts/../staging_dir/target-x86_64_glibc-2.27/root-x64-3.2/opt/lib/ld-linux-x86-64.so.2
(gdb) set remote exec-file /opt/bin/urbackupsrv
(gdb) set args run -u admin -v debug
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /root/Entware/build_dir/target-x86_64_glibc-2.27/urbackup-server-2.4.13/urbackupsrv run -u admin -v debug
[New Thread 9407.9409]
[New Thread 9407.9410]

Thread 1 "urbackupsrv" received signal SIGSEGV, Segmentation fault.
0x000000000055dece in sqlite3WalFindFrame (pWal=0xbdb948, pgno=1, piRead=piRead@entry=0x7fffffffb394) at sqlite/sqlite3.c:60697
60697       for(iKey=walHash(pgno); sLoc.aHash[iKey]; iKey=walNextHash(iKey)){
(gdb) bt
#0  0x000000000055dece in sqlite3WalFindFrame (pWal=0xbdb948, pgno=1, piRead=piRead@entry=0x7fffffffb394)
    at sqlite/sqlite3.c:60697
#1  0x000000000055e002 in readDbPage (pPg=pPg@entry=0xbf0f88) at sqlite/sqlite3.c:53112
#2  0x000000000056608f in getPageNormal (pPager=0xbbc758, pgno=1, ppPage=0x7fffffffb400, flags=<optimized out>)
    at sqlite/sqlite3.c:55607
#3  0x0000000000525fdd in sqlite3PagerGet (flags=0, ppPage=0x7fffffffb400, pgno=1, pPager=<optimized out>)
    at sqlite/sqlite3.c:55722
#4  btreeGetPage (pBt=pBt@entry=0xbba518, pgno=pgno@entry=1, ppPage=ppPage@entry=0x7fffffffb460, flags=flags@entry=0)
    at sqlite/sqlite3.c:64699
#5  0x0000000000567291 in lockBtree (pBt=0xbba518) at sqlite/sqlite3.c:65657
#6  sqlite3BtreeBeginTrans (p=0xbba448, wrflag=wrflag@entry=0, pSchemaVersion=pSchemaVersion@entry=0x0)
    at sqlite/sqlite3.c:493
#7  0x0000000000595211 in sqlite3InitOne (db=0xbbbe08, iDb=iDb@entry=0, pzErrMsg=pzErrMsg@entry=0x7fffffffc248,
    mFlags=mFlags@entry=0) at sqlite/sqlite3.c:122405
#8  0x00000000005953cc in sqlite3Init (db=db@entry=0xbbbe08, pzErrMsg=pzErrMsg@entry=0x7fffffffc248)
    at sqlite/sqlite3.c:122590
#9  0x000000000059540f in sqlite3ReadSchema (pParse=pParse@entry=0x7fffffffc240) at sqlite/sqlite3.c:122616
#10 0x00000000005a1a50 in sqlite3Pragma (pParse=pParse@entry=0x7fffffffc240, pId1=pId1@entry=0x7fffffffb888,
    pId2=pId2@entry=0x7fffffffb8a0, pValue=pValue@entry=0x7fffffffb8d0, minusFlag=minusFlag@entry=0)
    at sqlite/sqlite3.c:120139
#11 0x00000000005a4567 in yy_reduce (yyLookahead=<optimized out>, pParse=0x7fffffffc240, yyruleno=232,
    yypParser=0x7fffffffb840, yyLookaheadToken=...) at sqlite/sqlite3.c:149648
#12 sqlite3Parser (yyminor=..., yymajor=<optimized out>, yyp=0x7fffffffb840) at sqlite/sqlite3.c:19102
#13 sqlite3RunParser (pParse=0x7fffffffc240, zSql=0xbdb371 "", pzErrMsg=0x7fffffffc238) at sqlite/sqlite3.c:20225
#14 0x00000000005a97d4 in sqlite3Prepare (db=db@entry=0xbbbe08, zSql=zSql@entry=0xbbc308 "PRAGMA synchronous=NORMAL",
    nBytes=nBytes@entry=25, prepFlags=prepFlags@entry=128, pReprepare=pReprepare@entry=0x0,
    ppStmt=ppStmt@entry=0x7fffffffc4e8, pzTail=0x7fffffffc4f0) at sqlite/sqlite3.c:122806
#15 0x00000000005a9c0f in sqlite3LockAndPrepare (db=0xbbbe08, zSql=0xbbc308 "PRAGMA synchronous=NORMAL", nBytes=25,
    prepFlags=prepFlags@entry=128, pOld=pOld@entry=0x0, ppStmt=ppStmt@entry=0x7fffffffc4e8, pzTail=0x7fffffffc4f0)
    at sqlite/sqlite3.c:122906
--Type <RET> for more, q to quit, c to continue without paging--
#16 0x00000000005a9f46 in sqlite3_prepare_v2 (db=<optimized out>, zSql=<optimized out>, nBytes=<optimized out>,
    ppStmt=ppStmt@entry=0x7fffffffc4e8, pzTail=pzTail@entry=0x7fffffffc4f0) at sqlite/sqlite3.c:122989
#17 0x00000000004c8c76 in CDatabase::Prepare (this=this@entry=0xbbbc90, pQuery=..., autodestroy=autodestroy@entry=false)
    at Database.cpp:341
#18 0x00000000004c6d78 in CDatabase::Write (this=0xbbbc90, pQuery=...) at Database.cpp:232
#19 0x00000000004ca84b in CDatabase::Open (this=this@entry=0xbbbc90, pFile=..., attach=...,
    allocation_chunk_size=allocation_chunk_size@entry=52428800, p_single_user_mutex=p_single_user_mutex@entry=0xbbb990,
    p_lock_mutex=p_lock_mutex@entry=0xbb7da0, p_lock_count=0xbbb860, p_unlock_cond=0xbb8e70, p_params=...)
    at /root/Entware/staging_dir/toolchain-x86_64_gcc-8.4.0_glibc-2.27/x86_64-openwrt-linux-gnu/include/c++/8.4.0/ext/new_allocator.h:79
#20 0x00000000004d715f in CServer::getDatabase (this=this@entry=0xb76dc0, tid=<optimized out>,
    pIdentifier=pIdentifier@entry=23) at Server.cpp:917
#21 0x00000000006270b6 in open_server_database (init_db=<optimized out>) at urbackupserver/dllmain.cpp:239
#22 0x0000000000631ae0 in LoadActions_urbackupserver (pServer=<optimized out>) at urbackupserver/dllmain.cpp:644
#23 0x00000000004daaae in CServer::LoadStaticPlugins (this=this@entry=0xb76dc0) at Server.cpp:2246
#24 0x00000000004f0748 in main_fkt (argc=<optimized out>, argv=<optimized out>) at main.cpp:554
#25 0x00000000004f2d7d in main_fkt_catch (argc=<optimized out>, argv=<optimized out>) at main.cpp:130
#26 0x000000000082db01 in run_real_main (args=...) at urbackupserver/cmdline_preprocessor.cpp:98
#27 0x00000000008396e7 in action_run (args=...) at urbackupserver/cmdline_preprocessor.cpp:531
#28 0x00000000004bfd3d in main (argc=<optimized out>, argv=0x7fffffffe898) at urbackupserver/cmdline_preprocessor.cpp:1270
(gdb)

A lot more context in the original Entware issue.

I think this part reads from a memory mapped file (the .wal-shm file index). Might be something there is broken on your system.

It uses an embedded copy of SQLite. If you want to use a different one you need to compile with a non-default configure flag.

Hey @uroni,

thanks for looking into this. Is there a way to further debug what’s broken on the NAS?
As explained in the Entware Github issue in the OP, I seem to be the only user having this type of issue with UrBackup. I’ve used UrBackup on x86_64 but on Debian for years without any issues before.

In this particular instance, UrBackup runs without problem for weeks as long as no clients are added (this kind of defeats the point of backups though :smiley: ) As soon as a client is added, independant of it’s OS or the amount of files to backup, the segfault rears it’s ugly head.

I tried compiling without embedded SQLite but that failed. I can try that again and share the stacktrace if you think that might help.

EDIT: I just had a look and what weird is that my system doesn’t contain a .wal-shm file. Here’s what I have in /var/urbackup:

[/share/ZFS530_DATA/.qpkg/Entware/var/urbackup] # ls -la
total 276422
drwxr-xr-x 3 admin administrators        35 2022-02-01 07:42 ./
drwxr-xr-x 8 admin administrators         8 2021-12-26 07:21 ../
-rw-r--r-- 1 admin administrators    135168 2022-02-01 03:06 backup_server.db
-rw-r--r-- 1 admin administrators     32768 2022-02-01 07:42 backup_server.db-shm
-rw-r--r-- 1 admin administrators         0 2022-02-01 07:42 backup_server.db-wal
-rwxr-x--- 1 admin administrators 262144000 2022-01-29 00:37 backup_server_files.db*
-rwxr-x--- 1 admin administrators     32768 2022-02-01 07:42 backup_server_files.db-shm*
-rwxr-x--- 1 admin administrators 970692632 2022-01-29 00:38 backup_server_files.db-wal*
-rw-r--r-- 1 admin administrators      8192 2021-11-03 13:55 backup_server_link_journal.db
-rw-r--r-- 1 admin administrators     32768 2022-02-01 03:06 backup_server_link_journal.db-shm
-rw-r--r-- 1 admin administrators     37112 2022-01-28 18:02 backup_server_link_journal.db-wal
-rw-r--r-- 1 admin administrators     16384 2021-11-03 13:55 backup_server_links.db
-rw-r--r-- 1 admin administrators     32768 2022-02-01 03:06 backup_server_links.db-shm
-rw-r--r-- 1 admin administrators         0 2021-11-19 03:55 backup_server_links.db-wal
-rw-r--r-- 1 admin administrators     61440 2021-11-03 13:55 backup_server_settings.db
-rw-r--r-- 1 admin administrators     32768 2022-02-01 03:06 backup_server_settings.db-shm
-rw-r--r-- 1 admin administrators    655112 2022-01-29 00:42 backup_server_settings.db-wal
-rwxr-x--- 1 admin administrators  32597552 2022-01-29 00:38 clientlist_b_1.ub*
-rwxr-x--- 1 admin administrators       162 2022-01-28 18:02 dataplan_db.txt*
-rw-r--r-- 1 admin administrators     17439 2022-01-31 21:14 export.sql
drwxr-x--- 2 admin administrators         4 2021-11-03 13:55 fileindex/
-rw-r--r-- 1 admin administrators        83 2021-11-03 13:55 server_ident_ecdsa409k1.priv
-rw-r--r-- 1 admin administrators       128 2021-11-03 13:55 server_ident_ecdsa409k1.pub
-rw-r--r-- 1 admin administrators        23 2021-11-03 13:55 server_ident.key
-rw-r--r-- 1 admin administrators       336 2021-11-03 13:55 server_ident.priv
-rw-r--r-- 1 admin administrators       443 2021-11-03 13:55 server_ident.pub
-rw-r--r-- 1 admin administrators        20 2021-11-03 13:55 server_token.key
-rwxr-x--- 1 admin administrators        52 2022-01-28 18:02 server_version_info.properties*
-rwxr-x--- 1 admin administrators  35044777 2021-11-03 13:55 UrBackupUpdate.exe*
-rwxr-x--- 1 admin administrators  22724321 2021-11-03 13:55 UrBackupUpdateLinux.sh*
-rwxr-x--- 1 admin administrators       102 2021-11-03 13:55 UrBackupUpdateLinux.sig2*
-rwxr-x--- 1 admin administrators        40 2021-11-03 13:55 UrBackupUpdate.sig*
-rwxr-x--- 1 admin administrators       102 2021-11-03 13:55 UrBackupUpdate.sig2*
-rw-r--r-- 1 admin administrators         3 2021-11-03 13:55 version_linux.txt
-rw-r--r-- 1 admin administrators         3 2021-11-03 13:55 version.txt

Meant files such as this one.

Some of those have weird permissions. I’d fix those up. Could be those cause the issue in combination wtih W^X security measures (you made the files executable).

I see. I’ve now fixed permissions as follows:

[/share/ZFS530_DATA/.qpkg/Entware/var/urbackup] # ls -la
total 276418
drwxr-xr-x 3 admin administrators        35 2021-12-08 18:56 ./
drwxr-xr-x 8 admin administrators         8 2021-12-08 18:56 ../
-rw-r--r-- 1 admin administrators    135168 2022-02-01 03:06 backup_server.db
-rw-r--r-- 1 admin administrators     32768 2022-02-19 10:30 backup_server.db-shm
-rw-r--r-- 1 admin administrators         0 2022-02-01 07:42 backup_server.db-wal
-rw-r--r-- 1 admin administrators 262144000 2022-01-29 00:37 backup_server_files.db
-rw-r--r-- 1 admin administrators     32768 2022-02-19 10:30 backup_server_files.db-shm
-rw-r--r-- 1 admin administrators 970692632 2022-01-29 00:38 backup_server_files.db-wal
-rw-r--r-- 1 admin administrators      8192 2021-11-03 13:55 backup_server_link_journal.db
-rw-r--r-- 1 admin administrators     32768 2022-02-19 10:23 backup_server_link_journal.db-shm
-rw-r--r-- 1 admin administrators     37112 2022-01-28 18:02 backup_server_link_journal.db-wal
-rw-r--r-- 1 admin administrators     16384 2021-11-03 13:55 backup_server_links.db
-rw-r--r-- 1 admin administrators     32768 2022-02-19 10:23 backup_server_links.db-shm
-rw-r--r-- 1 admin administrators         0 2021-11-19 03:55 backup_server_links.db-wal
-rw-r--r-- 1 admin administrators     61440 2021-11-03 13:55 backup_server_settings.db
-rw-r--r-- 1 admin administrators     32768 2022-02-19 10:23 backup_server_settings.db-shm
-rw-r--r-- 1 admin administrators    655112 2022-01-29 00:42 backup_server_settings.db-wal
-rw-r--r-- 1 admin administrators  32597552 2022-01-29 00:38 clientlist_b_1.ub
-rw-r--r-- 1 admin administrators       162 2022-01-28 18:02 dataplan_db.txt
-rw-r--r-- 1 admin administrators     17439 2022-01-31 21:14 export.sql
drwxr-x--- 2 admin administrators         4 2021-11-03 13:55 fileindex/
-rw-r--r-- 1 admin administrators        83 2021-11-03 13:55 server_ident_ecdsa409k1.priv
-rw-r--r-- 1 admin administrators       128 2021-11-03 13:55 server_ident_ecdsa409k1.pub
-rw-r--r-- 1 admin administrators        23 2021-11-03 13:55 server_ident.key
-rw-r--r-- 1 admin administrators       336 2021-11-03 13:55 server_ident.priv
-rw-r--r-- 1 admin administrators       443 2021-11-03 13:55 server_ident.pub
-rw-r--r-- 1 admin administrators        20 2021-11-03 13:55 server_token.key
-rw-r--r-- 1 admin administrators        52 2022-01-28 18:02 server_version_info.properties
-rwxr--r-- 1 admin administrators  35044777 2021-11-03 13:55 UrBackupUpdate.exe*
-rwxr--r-- 1 admin administrators  22724321 2021-11-03 13:55 UrBackupUpdateLinux.sh*
-rw-r--r-- 1 admin administrators       102 2021-11-03 13:55 UrBackupUpdateLinux.sig2
-rw-r--r-- 1 admin administrators        40 2021-11-03 13:55 UrBackupUpdate.sig
-rw-r--r-- 1 admin administrators       102 2021-11-03 13:55 UrBackupUpdate.sig2
-rw-r--r-- 1 admin administrators         3 2021-11-03 13:55 version_linux.txt
-rw-r--r-- 1 admin administrators         3 2021-11-03 13:55 version.txt

Unfortunately same result, UrBackup segfaults.

@uroni any other ideas? Permissions should be all fixed.
This has been driving me nuts for months now.

Tried again, this time doing a clean install of Urbackup (urbackup-server 2.4.13 from Entware).
Managed to do a full backup, then an incremental backup of a Debian Unstable host in succession.
Urbackup then segfaults again.

[/share/ZFS530_DATA/.qpkg/Entware/var/urbackup] # ls -la
total 56583
drwxr-xr-x 3 admin administrators       29 2022-03-22 13:18 ./
drwxr-xr-x 8 admin administrators        8 2022-03-16 13:00 ../
-rw-r--r-- 1 admin administrators 52428800 2022-03-22 13:18 backup_server.db
-rw-r--r-- 1 admin administrators    32768 2022-03-22 13:18 backup_server.db-shm
-rw-r--r-- 1 admin administrators        0 2022-03-22 13:18 backup_server.db-wal
-rw-r--r-- 1 admin administrators 52428800 2022-03-22 13:18 backup_server_files.db
-rw-r--r-- 1 admin administrators 52428800 2022-03-22 13:18 backup_server_link_journal.db
-rw-r--r-- 1 admin administrators    32768 2022-03-22 13:18 backup_server_link_journal.db-shm
-rw-r--r-- 1 admin administrators     4152 2022-03-22 13:18 backup_server_link_journal.db-wal
-rw-r--r-- 1 admin administrators 52428800 2022-03-22 13:18 backup_server_links.db
-rw-r--r-- 1 admin administrators 52428800 2022-03-22 13:18 backup_server_settings.db
-rw-r--r-- 1 admin administrators    32768 2022-03-22 13:21 backup_server_settings.db-shm
-rw-r--r-- 1 admin administrators    24752 2022-03-22 13:21 backup_server_settings.db-wal
-rwxr-x--- 1 admin administrators      162 2022-03-22 13:18 dataplan_db.txt*
drwxr-x--- 2 admin administrators        4 2022-03-16 13:01 fileindex/
-rw-r--r-- 1 admin administrators       83 2022-03-16 13:01 server_ident_ecdsa409k1.priv
-rw-r--r-- 1 admin administrators      128 2022-03-16 13:01 server_ident_ecdsa409k1.pub
-rw-r--r-- 1 admin administrators       23 2022-03-16 13:01 server_ident.key
-rw-r--r-- 1 admin administrators      334 2022-03-16 13:01 server_ident.priv
-rw-r--r-- 1 admin administrators      442 2022-03-16 13:01 server_ident.pub
-rw-r--r-- 1 admin administrators       20 2022-03-16 13:01 server_token.key
-rwxr-x--- 1 admin administrators       52 2022-03-22 13:18 server_version_info.properties*
-rwxr--r-- 1 admin administrators 35044777 2022-03-16 13:01 UrBackupUpdate.exe*
-rwxr--r-- 1 admin administrators 22724321 2022-03-16 13:01 UrBackupUpdateLinux.sh*
-rw-r--r-- 1 admin administrators      102 2022-03-16 13:01 UrBackupUpdateLinux.sig2
-rw-r--r-- 1 admin administrators       40 2022-03-16 13:01 UrBackupUpdate.sig
-rw-r--r-- 1 admin administrators      102 2022-03-16 13:01 UrBackupUpdate.sig2
-rw-r--r-- 1 admin administrators        3 2022-03-16 13:01 version_linux.txt
-rw-r--r-- 1 admin administrators        3 2022-03-16 13:01 version.txt
[/share/ZFS530_DATA/.qpkg/Entware/var/urbackup] # urbackupsrv run -u admin
2022-03-22 13:32:45: Starting HTTP-Server on port 55414
2022-03-22 13:32:45: HTTP: Server started up successfully!
2022-03-22 13:32:45: Started UrBackup...
2022-03-22 13:32:45: Removing temporary files...
2022-03-22 13:32:45: Recreating temporary folder...
TEST FAILED: Please compile with mountvhd (./configure --with-mountvhd)
2022-03-22 13:32:45: Image mounting disabled: TEST FAILED: Please compile with mountvhd (./configure --with-mountvhd)
Testing for btrfs...
TEST FAILED: Creating test btrfs subvolume failed
Testing for zfs...
TEST FAILED: Dataset is not set via /etc/urbackup/dataset
2022-03-22 13:32:45: Backup destination cannot handle subvolumes and snapshots. Snapshots disabled.
2022-03-22 13:32:45: Reflink ioctl failed. errno=95
2022-03-22 13:32:45: UrBackup Server start up complete.
2022-03-22 13:32:45: Looking for old Sessions... 0 sessions
2022-03-22 13:32:45: Server started up successfully!
2022-03-22 13:32:46: Broadcasting on ipv4 interface bond0 addr 10.0.1.100
2022-03-22 13:32:46: Broadcasting on ipv4 interface vethgw01 addr 253.253.253.253
2022-03-22 13:32:46: Downloading version file...
2022-03-22 13:32:46: Downloading version file...
2022-03-22 13:32:46: Downloading server version info...
2022-03-22 13:32:46: Downloading dataplan database...
2022-03-22 13:34:57: New Backupclient: helium
2022-03-22 13:34:58: Starting scheduled full file backup...
2022-03-22 13:34:58: ERROR: Constructing of filelist of "helium" failed: no backup dirs. Please add paths to backup on the client (via tray icon) or configure default paths to backup.
2022-03-22 13:35:08: ERROR: Backup had an early error. Deleting partial backup.
2022-03-22 13:35:09: WARNING: Exponential backoff: Waiting at least 40m before next file backup
2022-03-22 13:35:09: server_prepare_hash Thread finished (exit)
2022-03-22 13:35:09: server_hash Thread finished - normal
^C2022-03-22 13:37:07: WARNING: Shutting down (Signal 2)
2022-03-22 13:37:07: Exited Loop
2022-03-22 13:37:07: Deleting at..
2022-03-22 13:37:07: Deleting SelectThreads..
2022-03-22 13:37:07: Deleting lbs...
2022-03-22 13:37:07: Shutting down plugins...
2022-03-22 13:37:07: Deleting server...
[/share/ZFS530_DATA/.qpkg/Entware/var/urbackup] # urbackupsrv run -u admin
2022-03-22 13:37:08: Starting HTTP-Server on port 55414
2022-03-22 13:37:08: HTTP: Server started up successfully!
2022-03-22 13:37:08: Started UrBackup...
2022-03-22 13:37:08: Removing temporary files...
2022-03-22 13:37:08: Recreating temporary folder...
TEST FAILED: Please compile with mountvhd (./configure --with-mountvhd)
2022-03-22 13:37:08: Image mounting disabled: TEST FAILED: Please compile with mountvhd (./configure --with-mountvhd)
Testing for btrfs...
TEST FAILED: Creating test btrfs subvolume failed
Testing for zfs...
TEST FAILED: Dataset is not set via /etc/urbackup/dataset
2022-03-22 13:37:08: Backup destination cannot handle subvolumes and snapshots. Snapshots disabled.
2022-03-22 13:37:08: Reflink ioctl failed. errno=95
2022-03-22 13:37:08: UrBackup Server start up complete.
2022-03-22 13:37:08: Looking for old Sessions... 0 sessions
2022-03-22 13:37:08: Server started up successfully!
2022-03-22 13:37:09: Broadcasting on ipv4 interface bond0 addr 10.0.1.100
2022-03-22 13:37:09: Broadcasting on ipv4 interface vethgw01 addr 253.253.253.253
2022-03-22 13:37:09: Downloading version file...
2022-03-22 13:37:09: Downloading version file...
2022-03-22 13:37:09: Downloading server version info...
2022-03-22 13:37:09: Downloading dataplan database...
2022-03-22 13:37:40: New Backupclient: helium
2022-03-22 13:37:41: Starting scheduled full file backup...
2022-03-22 13:37:41: ERROR: Constructing of filelist of "helium" failed: no backup dirs. Please add paths to backup on the client (via tray icon) or configure default paths to backup.
2022-03-22 13:37:51: ERROR: Backup had an early error. Deleting partial backup.
2022-03-22 13:37:52: WARNING: Exponential backoff: Waiting at least 40m before next file backup
2022-03-22 13:37:52: server_prepare_hash Thread finished (exit)
2022-03-22 13:37:52: server_hash Thread finished - normal
^C2022-03-22 13:40:13: WARNING: Shutting down (Signal 2)
2022-03-22 13:40:13: Exited Loop
2022-03-22 13:40:13: Deleting at..
2022-03-22 13:40:13: Deleting SelectThreads..
2022-03-22 13:40:13: Deleting lbs...
2022-03-22 13:40:13: Shutting down plugins...
2022-03-22 13:40:13: Deleting server...
[/share/ZFS530_DATA/.qpkg/Entware/var/urbackup] # urbackupsrv run -u admin
2022-03-22 13:40:14: Starting HTTP-Server on port 55414
2022-03-22 13:40:14: HTTP: Server started up successfully!
2022-03-22 13:40:14: Started UrBackup...
2022-03-22 13:40:14: Removing temporary files...
2022-03-22 13:40:14: Recreating temporary folder...
TEST FAILED: Please compile with mountvhd (./configure --with-mountvhd)
2022-03-22 13:40:14: Image mounting disabled: TEST FAILED: Please compile with mountvhd (./configure --with-mountvhd)
Testing for btrfs...
TEST FAILED: Creating test btrfs subvolume failed
Testing for zfs...
TEST FAILED: Dataset is not set via /etc/urbackup/dataset
2022-03-22 13:40:14: Backup destination cannot handle subvolumes and snapshots. Snapshots disabled.
2022-03-22 13:40:14: Reflink ioctl failed. errno=95
2022-03-22 13:40:15: UrBackup Server start up complete.
2022-03-22 13:40:15: Looking for old Sessions... 0 sessions
2022-03-22 13:40:15: Server started up successfully!
2022-03-22 13:40:15: Broadcasting on ipv4 interface bond0 addr 10.0.1.100
2022-03-22 13:40:15: Broadcasting on ipv4 interface vethgw01 addr 253.253.253.253
2022-03-22 13:40:16: Downloading version file...
2022-03-22 13:40:16: Downloading version file...
2022-03-22 13:40:16: Downloading server version info...
2022-03-22 13:40:16: Downloading dataplan database...
2022-03-22 13:40:46: New Backupclient: helium
2022-03-22 13:40:47: Starting scheduled full file backup...
2022-03-22 13:40:53: Last virtual full index unfinished. Performing incremental (virtual full) indexing...
2022-03-22 13:40:53: Backing up "root" without snapshot.
2022-03-22 13:40:53: Indexing of "root" done. 20731 filesystem lookups 0 db lookups and 0 db updates
2022-03-22 13:40:53: helium: Loading file list...
2022-03-22 13:40:53: helium: Started loading files...
2022-03-22 13:40:54: Referencing snapshot on "helium" for path "root" failed: FAILED
2022-03-22 13:41:16: WARNING: Error getting complete file "sIDEpW6Z8Osyw8PwUPSP|root/home/martin/.cache/mozilla/firefox/w539j35c.default-release/cache2/entries/49137560585C291A7908658473934F19EAAC0AF2" from helium. Errorcode: CANNOT_OPEN_FILE (3)
2022-03-22 13:41:49: WARNING: Error getting complete file "sIDEpW6Z8Osyw8PwUPSP|root/home/martin/.mozilla/firefox/w539j35c.default-release/storage/default/moz-extension+++6affd3fd-c825-4875-985e-20660dc65e57/idb/1671402671ueBglaorcokt0SCeahc.files/122" from helium. Errorcode: CANNOT_OPEN_FILE (3)
2022-03-22 13:41:50: WARNING: Error getting complete file "sIDEpW6Z8Osyw8PwUPSP|root/home/martin/.mozilla/firefox/w539j35c.default-release/storage/default/moz-extension+++6affd3fd-c825-4875-985e-20660dc65e57/idb/1671402671ueBglaorcokt0SCeahc.files/143" from helium. Errorcode: CANNOT_OPEN_FILE (3)
2022-03-22 13:46:12: WARNING: Error getting complete file "sIDEpW6Z8Osyw8PwUPSP|root/usr/local/var/urbackup/data/filelist_new_0.ub" from helium. Errorcode: CANNOT_OPEN_FILE (3)
2022-03-22 13:46:50: Files WAL file urbackup/backup_server_files.db-wal greater than 1000 MB. Doing full WAL checkpoint...
2022-03-22 13:46:50: Full checkpoint of urbackup/backup_server_files.db-wal done.
2022-03-22 13:51:16: Files WAL file urbackup/backup_server_files.db-wal greater than 1000 MB. Doing full WAL checkpoint...
2022-03-22 13:51:16: Full checkpoint of urbackup/backup_server_files.db-wal done.
2022-03-22 13:55:11: Files WAL file urbackup/backup_server_files.db-wal greater than 1000 MB. Doing full WAL checkpoint...
2022-03-22 13:55:11: Full checkpoint of urbackup/backup_server_files.db-wal done.
2022-03-22 13:58:19: Waiting for file transfers...
2022-03-22 13:58:25: Waiting for file hashing and copying threads...
2022-03-22 13:58:44: WARNING: Not all folder metadata could be applied. Metadata was inconsistent.
2022-03-22 13:58:44: Writing new file list...
2022-03-22 13:58:49: All metadata was present
2022-03-22 13:58:52: Transferred 18.938 GB - Average speed: 154.639 MBit/s
2022-03-22 13:59:00: Time taken for backing up client helium: 18m 12s
2022-03-22 13:59:00: Backup succeeded
2022-03-22 13:59:00: Updating statistics...
2022-03-22 13:59:00: Updating image stats...
2022-03-22 13:59:00: Updating file statistics...
2022-03-22 13:59:00: Updating file statistics: 1%
2022-03-22 13:59:00: File processing speed: 1.0002e+06 files/s
2022-03-22 13:59:00: Updating file statistics: 2%
2022-03-22 13:59:00: File processing speed: 666667 files/s
2022-03-22 13:59:00: Updating file statistics: 3%
2022-03-22 13:59:00: File processing speed: 42253.5 files/s
2022-03-22 13:59:00: Updating file statistics: 4%
2022-03-22 13:59:00: File processing speed: 600000 files/s
2022-03-22 13:59:00: Updating file statistics: 5%
2022-03-22 13:59:00: File processing speed: 666667 files/s
2022-03-22 13:59:00: Updating file statistics: 6%
2022-03-22 13:59:00: File processing speed: 750000 files/s
2022-03-22 13:59:00: Updating file statistics: 7%
2022-03-22 13:59:00: File processing speed: 41095.9 files/s
2022-03-22 13:59:00: Updating file statistics: 8%
2022-03-22 13:59:00: File processing speed: 600000 files/s
2022-03-22 13:59:00: Updating file statistics: 9%
2022-03-22 13:59:00: File processing speed: 666667 files/s
2022-03-22 13:59:00: Updating file statistics: 10%
2022-03-22 13:59:00: File processing speed: 600000 files/s
2022-03-22 13:59:00: Updating file statistics: 11%
2022-03-22 13:59:00: File processing speed: 42857.1 files/s
2022-03-22 13:59:00: Updating file statistics: 12%
2022-03-22 13:59:00: File processing speed: 500000 files/s
2022-03-22 13:59:00: Updating file statistics: 13%
2022-03-22 13:59:00: File processing speed: 750000 files/s
2022-03-22 13:59:00: Updating file statistics: 14%
2022-03-22 13:59:00: File processing speed: 43478.3 files/s
2022-03-22 13:59:00: Updating file statistics: 15%
2022-03-22 13:59:00: File processing speed: 600000 files/s
2022-03-22 13:59:00: Updating file statistics: 16%
2022-03-22 13:59:00: File processing speed: 666667 files/s
2022-03-22 13:59:00: Updating file statistics: 17%
2022-03-22 13:59:00: File processing speed: 600000 files/s
2022-03-22 13:59:00: Updating file statistics: 18%
2022-03-22 13:59:00: File processing speed: 43478.3 files/s
2022-03-22 13:59:00: Updating file statistics: 19%
2022-03-22 13:59:00: File processing speed: 666667 files/s
2022-03-22 13:59:00: Updating file statistics: 20%
2022-03-22 13:59:00: File processing speed: 600000 files/s
2022-03-22 13:59:00: Updating file statistics: 21%
2022-03-22 13:59:00: File processing speed: 600000 files/s
2022-03-22 13:59:00: Updating file statistics: 22%
2022-03-22 13:59:00: File processing speed: 44117.6 files/s
2022-03-22 13:59:00: Updating file statistics: 23%
2022-03-22 13:59:00: File processing speed: 666667 files/s
2022-03-22 13:59:00: Updating file statistics: 24%
2022-03-22 13:59:00: File processing speed: 600000 files/s
2022-03-22 13:59:00: Updating file statistics: 25%
2022-03-22 13:59:00: File processing speed: 42857.1 files/s
2022-03-22 13:59:00: Updating file statistics: 26%
2022-03-22 13:59:00: File processing speed: 666667 files/s
2022-03-22 13:59:00: Updating file statistics: 27%
2022-03-22 13:59:00: File processing speed: 600000 files/s
2022-03-22 13:59:00: Updating file statistics: 28%
2022-03-22 13:59:00: File processing speed: 750000 files/s
2022-03-22 13:59:00: Updating file statistics: 29%
2022-03-22 13:59:01: File processing speed: 42253.5 files/s
2022-03-22 13:59:01: Updating file statistics: 30%
2022-03-22 13:59:01: File processing speed: 666667 files/s
2022-03-22 13:59:01: Updating file statistics: 31%
2022-03-22 13:59:01: File processing speed: 750000 files/s
2022-03-22 13:59:01: Updating file statistics: 32%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 33%
2022-03-22 13:59:01: File processing speed: 29411.8 files/s
2022-03-22 13:59:01: Updating file statistics: 34%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 35%
2022-03-22 13:59:01: File processing speed: 750000 files/s
2022-03-22 13:59:01: Updating file statistics: 36%
2022-03-22 13:59:01: server_prepare_hash Thread finished (exit)
2022-03-22 13:59:01: server_hash Thread finished - normal
2022-03-22 13:59:01: File processing speed: 42857.1 files/s
2022-03-22 13:59:01: Updating file statistics: 37%
2022-03-22 13:59:01: File processing speed: 666667 files/s
2022-03-22 13:59:01: Updating file statistics: 38%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 39%
2022-03-22 13:59:01: File processing speed: 750000 files/s
2022-03-22 13:59:01: Updating file statistics: 40%
2022-03-22 13:59:01: File processing speed: 29411.8 files/s
2022-03-22 13:59:01: Updating file statistics: 41%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 42%
2022-03-22 13:59:01: File processing speed: 750000 files/s
2022-03-22 13:59:01: Updating file statistics: 43%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 44%
2022-03-22 13:59:01: File processing speed: 28571.4 files/s
2022-03-22 13:59:01: Updating file statistics: 45%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 46%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 47%
2022-03-22 13:59:01: File processing speed: 666667 files/s
2022-03-22 13:59:01: Updating file statistics: 48%
2022-03-22 13:59:01: File processing speed: 42857.1 files/s
2022-03-22 13:59:01: Updating file statistics: 49%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 50%
2022-03-22 13:59:01: File processing speed: 750000 files/s
2022-03-22 13:59:01: Updating file statistics: 51%
2022-03-22 13:59:01: File processing speed: 29411.8 files/s
2022-03-22 13:59:01: Updating file statistics: 52%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 53%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 54%
2022-03-22 13:59:01: File processing speed: 666667 files/s
2022-03-22 13:59:01: Updating file statistics: 55%
2022-03-22 13:59:01: File processing speed: 42857.1 files/s
2022-03-22 13:59:01: Updating file statistics: 56%
2022-03-22 13:59:01: File processing speed: 750000 files/s
2022-03-22 13:59:01: Updating file statistics: 57%
2022-03-22 13:59:01: File processing speed: 666667 files/s
2022-03-22 13:59:01: Updating file statistics: 58%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 59%
2022-03-22 13:59:01: File processing speed: 43478.3 files/s
2022-03-22 13:59:01: Updating file statistics: 60%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 61%
2022-03-22 13:59:01: File processing speed: 666667 files/s
2022-03-22 13:59:01: Updating file statistics: 62%
2022-03-22 13:59:01: File processing speed: 43478.3 files/s
2022-03-22 13:59:01: Updating file statistics: 63%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 64%
2022-03-22 13:59:01: File processing speed: 666667 files/s
2022-03-22 13:59:01: Updating file statistics: 65%
2022-03-22 13:59:01: File processing speed: 750000 files/s
2022-03-22 13:59:01: Updating file statistics: 66%
2022-03-22 13:59:01: File processing speed: 42857.1 files/s
2022-03-22 13:59:01: Updating file statistics: 67%
2022-03-22 13:59:01: File processing speed: 600000 files/s
2022-03-22 13:59:01: Updating file statistics: 68%
2022-03-22 13:59:01: File processing speed: 666667 files/s
2022-03-22 13:59:01: Updating file statistics: 69%
2022-03-22 13:59:01: File processing speed: 750000 files/s
2022-03-22 13:59:01: Updating file statistics: 70%
2022-03-22 13:59:01: File processing speed: 42253.5 files/s
2022-03-22 13:59:01: Updating file statistics: 71%
2022-03-22 13:59:01: File processing speed: 666667 files/s
2022-03-22 13:59:01: Updating file statistics: 72%
2022-03-22 13:59:01: File processing speed: 750000 files/s
2022-03-22 13:59:01: Updating file statistics: 73%
2022-03-22 13:59:02: File processing speed: 42857.1 files/s
2022-03-22 13:59:02: Updating file statistics: 74%
2022-03-22 13:59:02: File processing speed: 600000 files/s
2022-03-22 13:59:02: Updating file statistics: 75%
2022-03-22 13:59:02: File processing speed: 500000 files/s
2022-03-22 13:59:02: Updating file statistics: 76%
2022-03-22 13:59:02: File processing speed: 750000 files/s
2022-03-22 13:59:02: Updating file statistics: 77%
2022-03-22 13:59:02: File processing speed: 40000 files/s
2022-03-22 13:59:02: Updating file statistics: 78%
2022-03-22 13:59:02: File processing speed: 666667 files/s
2022-03-22 13:59:02: Updating file statistics: 79%
2022-03-22 13:59:02: File processing speed: 750000 files/s
2022-03-22 13:59:02: Updating file statistics: 80%
2022-03-22 13:59:02: File processing speed: 600000 files/s
2022-03-22 13:59:02: Updating file statistics: 81%
2022-03-22 13:59:02: File processing speed: 42857.1 files/s
2022-03-22 13:59:02: Updating file statistics: 82%
2022-03-22 13:59:02: File processing speed: 500000 files/s
2022-03-22 13:59:02: Updating file statistics: 83%
2022-03-22 13:59:02: File processing speed: 750000 files/s
2022-03-22 13:59:02: Updating file statistics: 84%
2022-03-22 13:59:02: File processing speed: 43478.3 files/s
2022-03-22 13:59:02: Updating file statistics: 85%
2022-03-22 13:59:02: File processing speed: 500000 files/s
2022-03-22 13:59:02: Updating file statistics: 86%
2022-03-22 13:59:02: File processing speed: 750000 files/s
2022-03-22 13:59:02: Updating file statistics: 87%
2022-03-22 13:59:02: File processing speed: 600000 files/s
2022-03-22 13:59:02: Updating file statistics: 88%
2022-03-22 13:59:02: File processing speed: 42857.1 files/s
2022-03-22 13:59:02: Updating file statistics: 89%
2022-03-22 13:59:02: File processing speed: 666667 files/s
2022-03-22 13:59:02: Updating file statistics: 90%
2022-03-22 13:59:02: File processing speed: 600000 files/s
2022-03-22 13:59:02: Updating file statistics: 91%
2022-03-22 13:59:02: File processing speed: 750000 files/s
2022-03-22 13:59:02: Updating file statistics: 92%
2022-03-22 13:59:02: File processing speed: 29411.8 files/s
2022-03-22 13:59:02: Updating file statistics: 93%
2022-03-22 13:59:02: File processing speed: 600000 files/s
2022-03-22 13:59:02: Updating file statistics: 94%
2022-03-22 13:59:02: File processing speed: 750000 files/s
2022-03-22 13:59:02: Updating file statistics: 95%
2022-03-22 13:59:02: File processing speed: 42253.5 files/s
2022-03-22 13:59:02: Updating file statistics: 96%
2022-03-22 13:59:02: File processing speed: 666667 files/s
2022-03-22 13:59:02: Updating file statistics: 97%
2022-03-22 13:59:02: File processing speed: 600000 files/s
2022-03-22 13:59:02: Updating file statistics: 98%
2022-03-22 13:59:02: File processing speed: 750000 files/s
2022-03-22 13:59:02: Updating file statistics: 99%
2022-03-22 13:59:02: File processing speed: 181818 files/s
2022-03-22 13:59:02: Updating file statistics: 100%
2022-03-22 13:59:02: Done updating statistics.
^C2022-03-22 13:59:43: WARNING: Shutting down (Signal 2)
2022-03-22 13:59:43: Exited Loop
2022-03-22 13:59:43: Deleting at..
2022-03-22 13:59:43: Deleting SelectThreads..
2022-03-22 13:59:43: Deleting lbs...
2022-03-22 13:59:43: Shutting down plugins...
2022-03-22 13:59:43: Deleting server...
[/share/ZFS530_DATA/.qpkg/Entware/var/urbackup] # urbackupsrv run -u admin
2022-03-22 13:59:46: Starting HTTP-Server on port 55414
2022-03-22 13:59:46: HTTP: Server started up successfully!
2022-03-22 13:59:46: Started UrBackup...
2022-03-22 13:59:46: Removing temporary files...
2022-03-22 13:59:46: Recreating temporary folder...
TEST FAILED: Please compile with mountvhd (./configure --with-mountvhd)
2022-03-22 13:59:46: Image mounting disabled: TEST FAILED: Please compile with mountvhd (./configure --with-mountvhd)
Testing for btrfs...
TEST FAILED: Creating test btrfs subvolume failed
Testing for zfs...
TEST FAILED: Dataset is not set via /etc/urbackup/dataset
2022-03-22 13:59:46: Backup destination cannot handle subvolumes and snapshots. Snapshots disabled.
2022-03-22 13:59:46: Reflink ioctl failed. errno=95
2022-03-22 13:59:47: UrBackup Server start up complete.
2022-03-22 13:59:47: Looking for old Sessions... 0 sessions
2022-03-22 13:59:47: Server started up successfully!
2022-03-22 13:59:48: Broadcasting on ipv4 interface bond0 addr 10.0.1.100
2022-03-22 13:59:48: Broadcasting on ipv4 interface vethgw01 addr 253.253.253.253
2022-03-22 13:59:48: Downloading version file...
2022-03-22 13:59:48: Downloading version file...
2022-03-22 13:59:48: Downloading server version info...
2022-03-22 13:59:48: Downloading dataplan database...
2022-03-22 14:00:19: New Backupclient: helium
2022-03-22 14:02:46: Starting unscheduled incremental file backup...
2022-03-22 14:02:48: Backing up "root" without snapshot.
2022-03-22 14:02:48: Indexing of "root" done. 20731 filesystem lookups 0 db lookups and 0 db updates
2022-03-22 14:02:48: helium: Loading file list...
2022-03-22 14:02:48: helium: Calculating file tree differences...
2022-03-22 14:02:49: helium: Calculating tree difference size...
2022-03-22 14:02:50: helium: Linking unchanged and loading new files...
2022-03-22 14:02:50: Referencing snapshot on "helium" for path "root" failed: FAILED
2022-03-22 14:03:27: WARNING: Error getting complete file "sIDEpW6Z8Osyw8PwUPSP|root/usr/local/var/urbackup/data/filelist_new_0.ub" from helium. Errorcode: CANNOT_OPEN_FILE (3)
2022-03-22 14:04:33: Waiting for file transfers...
2022-03-22 14:04:34: Waiting for file hashing and copying threads...
2022-03-22 14:04:47: WARNING: Not all folder metadata could be applied. Metadata was inconsistent.
2022-03-22 14:04:47: Writing new file list...
2022-03-22 14:04:52: All metadata was present
2022-03-22 14:04:56: Transferred 122.133 MB - Average speed: 9.6786 MBit/s
2022-03-22 14:04:56: Time taken for backing up client helium: 2m 10s
2022-03-22 14:04:56: Backup succeeded
2022-03-22 14:04:56: Updating statistics...
2022-03-22 14:04:56: Updating image stats...
2022-03-22 14:04:56: Updating file statistics...
2022-03-22 14:04:56: Done updating statistics.
2022-03-22 14:04:57: server_prepare_hash Thread finished (exit)
2022-03-22 14:04:57: server_hash Thread finished - normal
^C2022-03-22 14:22:42: WARNING: Shutting down (Signal 2)
2022-03-22 14:22:42: Exited Loop
2022-03-22 14:22:42: Deleting at..
2022-03-22 14:22:42: Deleting SelectThreads..
2022-03-22 14:22:42: Deleting lbs...
2022-03-22 14:22:42: Shutting down plugins...
2022-03-22 14:22:42: Deleting server...
[/share/ZFS530_DATA/.qpkg/Entware/var/urbackup] # urbackupsrv run -u admin -v debug
2022-03-22 14:27:14: Starting HTTP-Server on port 55414
2022-03-22 14:27:14: HTTP: Server started up successfully!
Segmentation fault
[/share/ZFS530_DATA/.qpkg/Entware/var/urbackup] # ls -la
total 178933
drwxr-xr-x 3 admin administrators        34 2022-03-22 14:04 ./
drwxr-xr-x 8 admin administrators         8 2022-03-16 13:00 ../
-rw-r--r-- 1 admin administrators  52428800 2022-03-22 13:18 backup_server.db
-rw-r--r-- 1 admin administrators     32768 2022-03-22 14:27 backup_server.db-shm
-rw-r--r-- 1 admin administrators    935272 2022-03-22 14:19 backup_server.db-wal
-rw-r--r-- 1 admin administrators 104857600 2022-03-22 13:58 backup_server_files.db
-rw-r--r-- 1 admin administrators     32768 2022-03-22 14:27 backup_server_files.db-shm
-rw-r--r-- 1 admin administrators 522205912 2022-03-22 14:04 backup_server_files.db-wal
-rw-r--r-- 1 admin administrators  52428800 2022-03-22 14:04 backup_server_link_journal.db
-rw-r--r-- 1 admin administrators     32768 2022-03-22 14:27 backup_server_link_journal.db-shm
-rw-r--r-- 1 admin administrators  10736752 2022-03-22 14:04 backup_server_link_journal.db-wal
-rw-r--r-- 1 admin administrators  52428800 2022-03-22 13:18 backup_server_links.db
-rw-r--r-- 1 admin administrators     32768 2022-03-22 14:27 backup_server_links.db-shm
-rw-r--r-- 1 admin administrators  42670872 2022-03-22 14:04 backup_server_links.db-wal
-rw-r--r-- 1 admin administrators  52428800 2022-03-22 13:18 backup_server_settings.db
-rw-r--r-- 1 admin administrators     32768 2022-03-22 14:19 backup_server_settings.db-shm
-rw-r--r-- 1 admin administrators    197792 2022-03-22 14:19 backup_server_settings.db-wal
-rwxr-x--- 1 admin administrators  14389197 2022-03-22 14:04 clientlist_b_2.ub*
-rwxr-x--- 1 admin administrators       162 2022-03-22 13:59 dataplan_db.txt*
drwxr-x--- 2 admin administrators         4 2022-03-16 13:01 fileindex/
-rw-r--r-- 1 admin administrators        83 2022-03-16 13:01 server_ident_ecdsa409k1.priv
-rw-r--r-- 1 admin administrators       128 2022-03-16 13:01 server_ident_ecdsa409k1.pub
-rw-r--r-- 1 admin administrators        23 2022-03-16 13:01 server_ident.key
-rw-r--r-- 1 admin administrators       334 2022-03-16 13:01 server_ident.priv
-rw-r--r-- 1 admin administrators       442 2022-03-16 13:01 server_ident.pub
-rw-r--r-- 1 admin administrators        20 2022-03-16 13:01 server_token.key
-rwxr-x--- 1 admin administrators        52 2022-03-22 13:59 server_version_info.properties*
-rwxr--r-- 1 admin administrators  35044777 2022-03-16 13:01 UrBackupUpdate.exe*
-rwxr--r-- 1 admin administrators  22724321 2022-03-16 13:01 UrBackupUpdateLinux.sh*
-rw-r--r-- 1 admin administrators       102 2022-03-16 13:01 UrBackupUpdateLinux.sig2
-rw-r--r-- 1 admin administrators        40 2022-03-16 13:01 UrBackupUpdate.sig
-rw-r--r-- 1 admin administrators       102 2022-03-16 13:01 UrBackupUpdate.sig2
-rw-r--r-- 1 admin administrators         3 2022-03-16 13:01 version_linux.txt
-rw-r--r-- 1 admin administrators         3 2022-03-16 13:01 version.txt
[/share/ZFS530_DATA/.qpkg/Entware/var/urbackup] #

Had the time to run gdb, stacktrace is the same as previously posted.

(gdb) bt
#0  0x000000000055dece in sqlite3WalFindFrame (pWal=0xc47838, pgno=1, piRead=piRead@entry=0x7fffffffb364)
    at sqlite/sqlite3.c:60697
#1  0x000000000055e002 in readDbPage (pPg=pPg@entry=0xc5ce78) at sqlite/sqlite3.c:53112
#2  0x000000000056608f in getPageNormal (pPager=0xc28578, pgno=1, ppPage=0x7fffffffb3d0, flags=<optimized out>)
    at sqlite/sqlite3.c:55607
#3  0x0000000000525fdd in sqlite3PagerGet (flags=0, ppPage=0x7fffffffb3d0, pgno=1, pPager=<optimized out>)
    at sqlite/sqlite3.c:55722
#4  btreeGetPage (pBt=pBt@entry=0xc280b8, pgno=pgno@entry=1, ppPage=ppPage@entry=0x7fffffffb430, flags=flags@entry=0)
    at sqlite/sqlite3.c:64699
#5  0x0000000000567291 in lockBtree (pBt=0xc280b8) at sqlite/sqlite3.c:65657
#6  sqlite3BtreeBeginTrans (p=0xc28058, wrflag=wrflag@entry=0, pSchemaVersion=pSchemaVersion@entry=0x0)
    at sqlite/sqlite3.c:493
#7  0x0000000000595211 in sqlite3InitOne (db=0xc27b28, iDb=iDb@entry=0, pzErrMsg=pzErrMsg@entry=0x7fffffffc218,
    mFlags=mFlags@entry=0) at sqlite/sqlite3.c:122405
#8  0x00000000005953cc in sqlite3Init (db=db@entry=0xc27b28, pzErrMsg=pzErrMsg@entry=0x7fffffffc218)
    at sqlite/sqlite3.c:122590
#9  0x000000000059540f in sqlite3ReadSchema (pParse=pParse@entry=0x7fffffffc210) at sqlite/sqlite3.c:122616
#10 0x00000000005a1a50 in sqlite3Pragma (pParse=pParse@entry=0x7fffffffc210, pId1=pId1@entry=0x7fffffffb858,
    pId2=pId2@entry=0x7fffffffb870, pValue=pValue@entry=0x7fffffffb8a0, minusFlag=minusFlag@entry=0)
    at sqlite/sqlite3.c:120139
#11 0x00000000005a4567 in yy_reduce (yyLookahead=<optimized out>, pParse=0x7fffffffc210, yyruleno=232,
    yypParser=0x7fffffffb810, yyLookaheadToken=...) at sqlite/sqlite3.c:149648
#12 sqlite3Parser (yyminor=..., yymajor=<optimized out>, yyp=0x7fffffffb810) at sqlite/sqlite3.c:19102
#13 sqlite3RunParser (pParse=0x7fffffffc210, zSql=0xc47191 "", pzErrMsg=0x7fffffffc208) at sqlite/sqlite3.c:20225
#14 0x00000000005a97d4 in sqlite3Prepare (db=db@entry=0xc27b28, zSql=zSql@entry=0xc28028 "PRAGMA synchronous=NORMAL",
    nBytes=nBytes@entry=25, prepFlags=prepFlags@entry=128, pReprepare=pReprepare@entry=0x0,
    ppStmt=ppStmt@entry=0x7fffffffc4b8, pzTail=0x7fffffffc4c0) at sqlite/sqlite3.c:122806
#15 0x00000000005a9c0f in sqlite3LockAndPrepare (db=0xc27b28, zSql=0xc28028 "PRAGMA synchronous=NORMAL", nBytes=25,
    prepFlags=prepFlags@entry=128, pOld=pOld@entry=0x0, ppStmt=ppStmt@entry=0x7fffffffc4b8, pzTail=0x7fffffffc4c0)
    at sqlite/sqlite3.c:122906
#16 0x00000000005a9f46 in sqlite3_prepare_v2 (db=<optimized out>, zSql=<optimized out>, nBytes=<optimized out>,
    ppStmt=ppStmt@entry=0x7fffffffc4b8, pzTail=pzTail@entry=0x7fffffffc4c0) at sqlite/sqlite3.c:122989
#17 0x00000000004c8c76 in CDatabase::Prepare (this=this@entry=0xc279b0, pQuery=..., autodestroy=autodestroy@entry=false)
    at Database.cpp:341
#18 0x00000000004c6d78 in CDatabase::Write (this=0xc279b0, pQuery=...) at Database.cpp:232
#19 0x00000000004ca84b in CDatabase::Open (this=this@entry=0xc279b0, pFile=..., attach=...,
    allocation_chunk_size=allocation_chunk_size@entry=52428800, p_single_user_mutex=p_single_user_mutex@entry=0xc278a0,
    p_lock_mutex=p_lock_mutex@entry=0xc27750, p_lock_count=0xc27790, p_unlock_cond=0xc278f0, p_params=...)
    at /root/Entware/staging_dir/toolchain-x86_64_gcc-8.4.0_glibc-2.27/x86_64-openwrt-linux-gnu/include/c++/8.4.0/ext/new_allocator.h:79
#20 0x00000000004d715f in CServer::getDatabase (this=this@entry=0xb76e00, tid=<optimized out>,
    pIdentifier=pIdentifier@entry=24) at Server.cpp:917
#21 0x00000000006272b2 in open_server_database (init_db=<optimized out>) at urbackupserver/dllmain.cpp:291
#22 0x0000000000631ae0 in LoadActions_urbackupserver (pServer=<optimized out>) at urbackupserver/dllmain.cpp:644
#23 0x00000000004daaae in CServer::LoadStaticPlugins (this=this@entry=0xb76e00) at Server.cpp:2246
#24 0x00000000004f0748 in main_fkt (argc=<optimized out>, argv=<optimized out>) at main.cpp:554
#25 0x00000000004f2d7d in main_fkt_catch (argc=<optimized out>, argv=<optimized out>) at main.cpp:130
#26 0x000000000082db01 in run_real_main (args=...) at urbackupserver/cmdline_preprocessor.cpp:98
#27 0x00000000008396e7 in action_run (args=...) at urbackupserver/cmdline_preprocessor.cpp:531
#28 0x00000000004bfd3d in main (argc=<optimized out>, argv=0x7fffffffe868) at urbackupserver/cmdline_preprocessor.cpp:1270

Might this issue be related to the NAS running QuTS and therefor ZFS? As specified in the original Github thread linked above, UrBackup runs fine for weeks as long as no backup data is added.