Duplicati on raspbian bullseye crashes when attemting to use S3 backend

I have Duplicati installed on an x86-64 machine running Debian and backing up to S3 with no issues. However, a basically identical configuration on a Raspberry Pi (ARMv7) running Raspbian Bullseye crashes even testing the connection to AWS.

Logs look like:

Jan 09 10:53:48 rodan duplicati-server[4174]: =================================================================
Jan 09 10:53:48 rodan duplicati-server[4174]: External Debugger Dump:
Jan 09 10:53:48 rodan duplicati-server[4174]: =================================================================
Jan 09 10:53:48 rodan duplicati-server[4174]: /usr/bin/gdb: warning: Couldn’t determine a path for the index cache directory.
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2610]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2611]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2620]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2621]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2622]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2623]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2624]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2625]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 15800]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 26003]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 27009]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 758]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2442]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2443]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2444]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2449]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2456]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2512]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2513]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 29575]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 29576]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 29577]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 30852]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 30853]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 30854]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 31062]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 31387]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 31388]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 31393]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 1277]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 1278]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2837]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 2854]
Jan 09 10:53:48 rodan duplicati-server[4174]: [New LWP 4169]
Jan 09 10:53:49 rodan duplicati-server[4174]: [Thread debugging using libthread_db enabled]
Jan 09 10:53:49 rodan duplicati-server[4174]: Using host libthread_db library “/lib/arm-linux-gnueabihf/libthread_db.so.1”.
Jan 09 10:53:50 rodan duplicati-server[4174]: futex_wait_cancelable (private=0, expected=0, futex_word=0xd83f18) at …/sysdeps/nptl/futex-internal.h:186
Jan 09 10:53:50 rodan duplicati-server[4174]: 186 …/sysdeps/nptl/futex-internal.h: No such file or directory.
Jan 09 10:53:50 rodan duplicati-server[4174]: Id Target Id Frame
Jan 09 10:53:50 rodan duplicati-server[4174]: * 1 Thread 0xb6d40440 (LWP 2609) “mono-sgen” futex_wait_cancelable (private=0, expected=0, futex_word=0xd83f18) at …/sysdeps/nptl/futex-internal.h:186
Jan 09 10:53:50 rodan duplicati-server[4174]: 2 Thread 0xb63ff440 (LWP 2610) “SGen worker” futex_wait_cancelable (private=0, expected=0, futex_word=0x447698) at …/sysdeps/nptl/futex-internal.h:186
Jan 09 10:53:50 rodan duplicati-server[4174]: 3 Thread 0xb4723440 (LWP 2611) “Finalizer” futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=1, futex_word=0x43f73c) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 4 Thread 0xb2cff440 (LWP 2620) “Timer-Scheduler” futex_abstimed_wait_cancelable (private=, abstime=0xb2cfe324, clockid=, expected=0, futex_word=0xd83ebc) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 5 Thread 0xb29ff440 (LWP 2621) “UpdatePollThrea” futex_abstimed_wait_cancelable (private=, abstime=0xb29fe02c, clockid=, expected=0, futex_word=0xd83f78) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 6 Thread 0xb26ff440 (LWP 2622) “WorkerThread<IR” 0xb6de5034 in __GI___wait4 (pid=4174, stat_loc=0xb26fc520, options=0, usage=0x0) at …/sysdeps/unix/sysv/linux/wait4.c:27
Jan 09 10:53:50 rodan duplicati-server[4174]: 7 Thread 0xb23ff440 (LWP 2623) “TaskScheduler” futex_abstimed_wait_cancelable (private=, abstime=0xb23fdedc, clockid=, expected=0, futex_word=0xd8403c) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 8 Thread 0xb1e95440 (LWP 2624) “mono-sgen” futex_wait_cancelable (private=0, expected=0, futex_word=0xd84098) at …/sysdeps/nptl/futex-internal.h:186
Jan 09 10:53:50 rodan duplicati-server[4174]: 9 Thread 0xb19ff440 (LWP 2625) “Thread Pool I/O” __GI___poll (timeout=-1, nfds=3, fds=0x13c38f8) at …/sysdeps/unix/sysv/linux/poll.c:29
Jan 09 10:53:50 rodan duplicati-server[4174]: 10 Thread 0xb13f9440 (LWP 15800) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xb13f8d74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 11 Thread 0xb10f6440 (LWP 26003) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xb10f5d74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 12 Thread 0xade7b440 (LWP 27009) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xade7ad74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 13 Thread 0xab78b440 (LWP 758) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xab78ad74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 14 Thread 0xb18fe440 (LWP 2442) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xb18fdd74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 15 Thread 0xac6fd440 (LWP 2443) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xac6fcd74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 16 Thread 0xac8ff440 (LWP 2444) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xac8fed74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 17 Thread 0xac7fe440 (LWP 2449) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xac7fdd74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 18 Thread 0xa8c5a440 (LWP 2456) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xa8c59d74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 19 Thread 0xa8e5c440 (LWP 2512) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xa8e5bd74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 20 Thread 0xa8a58440 (LWP 2513) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xa8a57d74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 21 Thread 0xa8d5b440 (LWP 29575) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xa8d5ad74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 22 Thread 0xaa1fd440 (LWP 29576) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xaa1fcd74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 23 Thread 0xad47b440 (LWP 29577) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xad47ad74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 24 Thread 0xb16fc440 (LWP 30852) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xb16fbd74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 25 Thread 0xadc0f440 (LWP 30853) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xadc0ed74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 26 Thread 0xabd0e440 (LWP 30854) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xabd0dd74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 27 Thread 0xa8b59440 (LWP 31062) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xa8b58d74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 28 Thread 0xaaf87440 (LWP 31387) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xaaf86d74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 29 Thread 0xac3ff440 (LWP 31388) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xac3fed74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 30 Thread 0xab088440 (LWP 31393) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xab087d74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 31 Thread 0xad67b440 (LWP 1277) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=, abstime=0xad6799b4, clockid=, expected=0, futex_word=0xd85d18) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 32 Thread 0xabbff440 (LWP 1278) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xabbfed74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 33 Thread 0xb11f7440 (LWP 2837) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xb11f6d74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 34 Thread 0xb12f8440 (LWP 2854) “Thread Pool Wor” futex_abstimed_wait_cancelable (private=0, abstime=0xb12f7d74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: 35 Thread 0xb15fb440 (LWP 4169) “Timer-Scheduler” futex_abstimed_wait_cancelable (private=, abstime=0xb15fad04, clockid=, expected=0, futex_word=0x447ab0) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: Thread 35 (Thread 0xb15fb440 (LWP 4169) “Timer-Scheduler”):
Jan 09 10:53:50 rodan duplicati-server[4174]: #0 futex_abstimed_wait_cancelable (private=, abstime=0xb15fad04, clockid=, expected=0, futex_word=0x447ab0) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: #1 __pthread_cond_wait_common (abstime=0xb15fad04, clockid=, mutex=0x0, cond=0x447a88) at pthread_cond_wait.c:520
Jan 09 10:53:50 rodan duplicati-server[4174]: #2 __pthread_cond_timedwait (cond=0x447a88, mutex=0x0, abstime=0xb15fad04) at pthread_cond_wait.c:656
Jan 09 10:53:50 rodan duplicati-server[4174]: #3 0x00337efc in ?? ()
Jan 09 10:53:50 rodan duplicati-server[4174]: Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Jan 09 10:53:50 rodan duplicati-server[4174]: Thread 34 (Thread 0xb12f8440 (LWP 2854) “Thread Pool Wor”):
Jan 09 10:53:50 rodan duplicati-server[4174]: #0 futex_abstimed_wait_cancelable (private=0, abstime=0xb12f7d74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: #1 do_futex_wait (sem=sem@entry=0x43fc88, abstime=abstime@entry=0xb12f7d74, clockid=0) at sem_waitcommon.c:117
Jan 09 10:53:50 rodan duplicati-server[4174]: #2 0xb6ed5078 in __new_sem_wait_slow (sem=0x43fc88, abstime=0xb12f7d74, clockid=0) at sem_waitcommon.c:285
Jan 09 10:53:50 rodan duplicati-server[4174]: #3 0x002d3e74 in ?? ()
Jan 09 10:53:50 rodan duplicati-server[4174]: Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Jan 09 10:53:50 rodan duplicati-server[4174]: Thread 33 (Thread 0xb11f7440 (LWP 2837) “Thread Pool Wor”):
Jan 09 10:53:50 rodan duplicati-server[4174]: #0 futex_abstimed_wait_cancelable (private=0, abstime=0xb11f6d74, clockid=0, expected=1, futex_word=0x43fc88) at …/sysdeps/nptl/futex-internal.h:323
Jan 09 10:53:50 rodan duplicati-server[4174]: #1 do_futex_wait (sem=sem@entry=0x43fc88, abstime=abstime@entry=0xb11f6d74, clockid=0) at sem_waitcommon.c:117
Jan 09 10:53:50 rodan duplicati-server[4174]: #2 0xb6ed5078 in new_sem_wait_slow (sem=0x43fc88, abstime=0xb11f6d74, clockid=0) at sem_waitcommon.c:285
Jan 09 10:53:50 rodan duplicati-server[4174]: #3 0x002d3e74 in ?? ()

Jan 09 10:53:50 rodan duplicati-server[2609]: =================================================================
Jan 09 10:53:50 rodan duplicati-server[2609]: Basic Fault Address Reporting
Jan 09 10:53:50 rodan duplicati-server[2609]: =================================================================
Jan 09 10:53:50 rodan duplicati-server[2609]: Memory around native instruction pointer (0xb6ed25c0):0xb6ed25b0 bc ff ff ea 98 70 00 00 f0 4f 2d e9 14 d0 4d e2 …p…O-…M.
Jan 09 10:53:50 rodan duplicati-server[2609]: 0xb6ed25c0 24 50 90 e5 a5 31 b0 e1 28 01 00 0a 00 c0 a0 e1 $P…1…(…
Jan 09 10:53:50 rodan duplicati-server[2609]: 0xb6ed25d0 01 50 15 e2 20 30 bc e5 00 e0 a0 e1 80 50 a0 13 .P… 0…P…
Jan 09 10:53:50 rodan duplicati-server[2609]: 0xb6ed25e0 0a 00 00 ea 01 10 83 e3 9f 2f 9c e1 03 00 52 e1 …/…R.
Jan 09 10:53:50 rodan duplicati-server[2609]: =================================================================
Jan 09 10:53:50 rodan duplicati-server[2609]: Managed Stacktrace:
Jan 09 10:53:50 rodan duplicati-server[2609]: =================================================================
Jan 09 10:53:50 rodan duplicati-server[2609]: at <0xffffffff>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Amazon.Runtime.AmazonServiceClient:BuildRuntimePipeline <0x00fe3>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Amazon.Runtime.AmazonServiceClient:.ctor <0x00253>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Amazon.Runtime.AmazonServiceClient:.ctor <0x00047>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Amazon.S3.AmazonS3Client:.ctor <0x0002b>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Duplicati.Library.Backend.S3AwsClient:.ctor <0x0077b>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Duplicati.Library.Backend.S3:.ctor <0x00cb3>
Jan 09 10:53:50 rodan duplicati-server[2609]: at :runtime_invoke_void__this___object_object <0x00103>
Jan 09 10:53:50 rodan duplicati-server[2609]: at <0xffffffff>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Reflection.RuntimeConstructorInfo:InternalInvoke <0x00047>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Reflection.RuntimeConstructorInfo:InternalInvoke <0x0004b>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Reflection.RuntimeConstructorInfo:DoInvoke <0x00103>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Reflection.RuntimeConstructorInfo:Invoke <0x00047>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.RuntimeType:CreateInstanceImpl <0x008c3>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Activator:CreateInstance <0x0024b>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Activator:CreateInstance <0x00037>
Jan 09 10:53:50 rodan duplicati-server[2609]: at BackendLoaderSub:GetBackend <0x00567>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Duplicati.Library.DynamicLoader.BackendLoader:GetBackend <0x00033>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Duplicati.Library.Main.BackendManager:.ctor <0x0023b>
Jan 09 10:53:50 rodan duplicati-server[2609]: at d__20:MoveNext <0x007b3>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start <0x000d7>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Duplicati.Library.Main.Operation.BackupHandler:RunAsync <0x0016f>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Duplicati.Library.Main.Operation.BackupHandler:Run <0x0002f>
Jan 09 10:53:50 rodan duplicati-server[2609]: at <>c__DisplayClass14_0:b__0 <0x0018b>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Duplicati.Library.Main.Controller:RunAction <0x00477>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Duplicati.Library.Main.Controller:Backup <0x002bf>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Duplicati.Server.Runner:Run <0x0111b>
Jan 09 10:53:50 rodan duplicati-server[2609]: at <>c:b__45_0 <0x0001b>
Jan 09 10:53:50 rodan duplicati-server[2609]: at Duplicati.Library.Utility.WorkerThread`1:Runner <0x00623>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Threading.ThreadHelper:ThreadStart_Context <0x000df>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Threading.ExecutionContext:RunInternal <0x00203>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Threading.ExecutionContext:Run <0x0002b>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Threading.ExecutionContext:Run <0x00067>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Threading.ThreadHelper:ThreadStart <0x00047>
Jan 09 10:53:50 rodan duplicati-server[2609]: at System.Object:runtime_invoke_void__this
<0x000eb>
Jan 09 10:53:50 rodan duplicati-server[2609]: =================================================================
Jan 09 10:53:51 rodan systemd[1]: duplicati.service: Main process exited, code=exited, status=134/n/a
Jan 09 10:53:51 rodan systemd[1]: duplicati.service: Failed with result ‘exit-code’.

Since there are no Duplicati builds for ARM processors on Github, I take it that you are using Docker. Maybe this post could be relevant then:

I’m not currently using the Docker build, I’m using the https://updates.duplicati.com/beta/duplicati_2.0.6.3-1_all.deb note that it’s marked as all architecture.

Maybe you need to update Mono manually ?

Output of mono --version on both the working and broken systems shows they are both running 6.8.0.105:

Working:

Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.3 Wed Dec 14 11:18:08 UTC 2022)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug 
	Interpreter:   yes
	LLVM:          supported, not enabled.
	Suspend:       hybrid
	GC:            sgen (concurrent by default)

Broken:

Mono JIT compiler version 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Mon Jul 12 07:04:24 UTC 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  armel,vfp+hard
        Disabled:      none
        Misc:          softdebug 
        Interpreter:   yes
        LLVM:          supported, not enabled.
        Suspend:       preemptive
        GC:            sgen (concurrent by default)

(mode grasping at straws)
well, there is a slight build difference, the working one is more recent.

(mode desperate)
try to set MONO_THREADS_SUSPEND=hybrid in the Duplicati systemd service configuration. It should be taken in account by adding it in the /etc/default/duplicati file I think.

Sure the working build is a more recent build of the same tag, changelog for that version looks like they just removed a desktop file:

mono (6.8.0.105+dfsg-3.3) unstable; urgency=medium

  * Non-maintainer upload.
  * Revert "Added desktop file for mono with and without a terminal window"
    (Closes: #972146)

 -- Salvatore Bonaccorso <carnil@debian.org>  Fri, 09 Dec 2022 14:33:03 +0100

Adding MONO_THREADS_SUSPEND=hybrid in /etc/default/duplicati and restarting duplicati still gives the same error. And I did verify that the systemd unit file includes EnvironmentFile=-/etc/default/duplicati

Oh well what remains ? is there enough memory to run Duplicati ? can you do a test using a different backend, the simplest one, the file backend for example ?

The rpi has 4GB of ram, which I believe should be enough. And yes, it’s been running the same config but with the file backend for about a week without issue.

agree about the RAM. Interesting that basically Duplicati works but not AWS. Is it a networked backend general problem, or specially AWS ? Could you do a quick setup of another networked backend, such as ftp, sftp or webdav ?

I should be able to try sftp tomorrow. I do think it’s specific to AWS though as that’s where the stack trace in the log points.

It occurred to me that maybe the issue is an architecture specific mono bug that could be fixed in a later version. I upgraded to mono 6.12.0.182 and it’s now working.

1 Like