New 2.0.6.1 is crashing during Backup

Hello, Good Day,

the latest Version of Duplicati is crashing in the middle of an Backup Job:

May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: * Assertion at local-propagation.c:330, condition ins->opcode > MONO_CEE_LAST' not met May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: Stacktrace: May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at <unknown> <0xffffffff> May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at System.Collections.Generic.Dictionary2<string, int>.Insert (string,int,bool) <0x0006b>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at System.Collections.Generic.Dictionary2<string, int>.Add (string,int) <0x0001b> May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at MimeKit.Utils.CharsetUtils.AddAliases (System.Collections.Generic.Dictionary2<string, int>,int,int,string) <0x0006c>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at MimeKit.Utils.CharsetUtils…cctor () <0x002b3>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x00062>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at <0xffffffff>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at (wrapper managed-to-native) object.icall_wrapper_mono_generic_class_init (intptr) <0x00059>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at MimeKit.ParserOptions…ctor () <0x000cf>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at MimeKit.ParserOptions…cctor () <0x0007b>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0x00062>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at <0xffffffff>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at Duplicati.Library.Modules.Builtin.SendMail.SendMessage (string,string) <0x00157>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at Duplicati.Library.Modules.Builtin.ReportHelper.OnFinish (object) <0x00772>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at Duplicati.Library.Main.Controller.OnOperationComplete (object) <0x002a1>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at Duplicati.Library.Main.Controller.RunAction<T_REF> (T_REF,string[]&,Duplicati.Library.Utility.IFilter&,System.Action1<T_REF>) <0x00aab> May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at Duplicati.Library.Main.Controller.Backup (string[],Duplicati.Library.Utility.IFilter) <0x002fb> May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at Duplicati.Server.Runner.Run (Duplicati.Server.Runner/IRunnerData,bool) <0x01193> May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at Duplicati.Server.Program/<>c.<SetWorkerThread>b__45_0 (Duplicati.Server.Runner/IRunnerData) <0x00017> May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at Duplicati.Library.Utility.WorkerThread1<Tx_REF>.Runner () <0x005da>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at System.Threading.ThreadHelper.ThreadStart_Context (object) <0x00099>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00178>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) <0x00020>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object) <0x00059>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at System.Threading.ThreadHelper.ThreadStart () <0x0002e>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: at (wrapper runtime-invoke) object.runtime_invoke_void__this
(object,intptr,intptr,intptr) <0x000d1>
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: Native stacktrace:
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/usr/bin/mono-sgen(+0xc8514) [0x55951d198514]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/lib/x86_64-linux-gnu/libpthread.so.0(+0x12980) [0x7f0bad243980]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/lib/x86_64-linux-gnu/libc.so.6(gsignal+0xc7) [0x7f0bacc66fb7]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/lib/x86_64-linux-gnu/libc.so.6(abort+0x141) [0x7f0bacc68921]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/usr/bin/mono-sgen(+0x289769) [0x55951d359769]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/usr/bin/mono-sgen(+0x2899fc) [0x55951d3599fc]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/usr/bin/mono-sgen(+0x289b93) [0x55951d359b93]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/usr/bin/mono-sgen(+0x962ab) [0x55951d1662ab]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/usr/bin/mono-sgen(+0x12d5da) [0x55951d1fd5da]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/usr/bin/mono-sgen(+0x12df39) [0x55951d1fdf39]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/usr/bin/mono-sgen(+0x3c170) [0x55951d10c170]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/usr/bin/mono-sgen(+0xc9ef6) [0x55951d199ef6]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011/usr/bin/mono-sgen(+0xcaaa5) [0x55951d19aaa5]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: #011[0x41d11698]
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: Debug info from gdb:
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: =================================================================
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: Got a SIGABRT while executing native code. This usually indicates
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: a fatal error in the mono runtime or one of the native libraries
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: used by your application.
May 26 17:39:02 ERGSTAT01 duplicati-server[11737]: =================================================================
May 26 17:39:02 ERGSTAT01 systemd[1]: duplicati.service: Main process exited, code=exited, status=134/n/a
May 26 17:39:02 ERGSTAT01 systemd[1]: duplicati.service: Failed with result ‘exit-code’.
May 26 17:39:03 ERGSTAT01 systemd[1]: duplicati.service: Service hold-off time over, scheduling restart.
May 26 17:39:03 ERGSTAT01 systemd[1]: duplicati.service: Scheduled restart job, restart counter is at 2.
May 26 17:39:03 ERGSTAT01 systemd[1]: Stopped Duplicati web-server.
May 26 17:39:03 ERGSTAT01 systemd[1]: Started Duplicati web-server.

Can someone with Programming Skills please have an Look, or just give me an Tipp where the Issue could be ?
I changed nothing, Duplicati just gets updated.

Best Regards from Germany
Mark

It looks like the backup has finished, but you have settings to email a report:

What does running mono --version say? It should be at least 5.10 for 2.0.6.1, but I think mono was fixed far earlier. What OS is this? Some ship with very old mono versions. If needed, download the latest mono.

Hello,

thanks for your Answer, that was the right Tipp.

It is running under Ubuntu 18.04, and yes the Mono Version was 4.x I think. I had to update it directly from the repositorys.

Didn’t noticed during the Upgrade of Duplicati that the Mono Version must be an specific one.

Best Regards
Markus

probably 4.6.2.7+dfsg-1ubuntu1 from 2016. The LTS goal is not on staying current.

AFAIK the Duplicati autoupdater is not aware of these things, and also can’t ask the user to look.
There are other problems with it, and someday updates might be done using a different method.

Meanwhile, the release notes cover known mono needs.

Release: 2.0.5.1 (beta) 2020-01-18 (at least mono version 5.0)
Release: 2.0.6.1 (beta) 2021-05-03 (at least mono version 5.10)

The issue here, though, seems like just an old bug, and version requirements are not bug-based.