Removing source folder results in inaccessible UI and endless backup-loop

Quoting from attachment to make it findable by search (which found five previous, mostly fixed by mono upgrade, and some with unclear end, but none said they upgraded mono and the issue was NOT fixed):

Backup started at 6/16/2020 11:08:38 AM
* Assertion at local-propagation.c:562, condition `ins->opcode > MONO_CEE_LAST' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at System.Collections.Generic.Dictionary`2<string, int>.TryInsert (string,int,System.Collections.Generic.InsertionBehavior) [0x00022] in <62f5937022004555807e6c57c33f6684>:0
  at System.Collections.Generic.Dictionary`2<string, int>.Add (string,int) [0x00000] in <62f5937022004555807e6c57c33f6684>:0
  at MimeKit.Utils.CharsetUtils.AddAliases (System.Collections.Generic.Dictionary`2<string, int>,int,int,string[]) [0x00011] in <e31da2413fc64d90b7499cd437f8d01a>:0
  at MimeKit.Utils.CharsetUtils..cctor () [0x0005f] in <e31da2413fc64d90b7499cd437f8d01a>:0
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001e] in <62f5937022004555807e6c57c33f6684>:0
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_generic_class_init (intptr) [0x00000] in <62f5937022004555807e6c57c33f6684>:0
  at MimeKit.ParserOptions..ctor () [0x0002b] in <e31da2413fc64d90b7499cd437f8d01a>:0
  at MimeKit.ParserOptions..cctor () [0x00018] in <e31da2413fc64d90b7499cd437f8d01a>:0
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001e] in <62f5937022004555807e6c57c33f6684>:0
  at <unknown> <0xffffffff>
  at Duplicati.Library.Modules.Builtin.SendMail.SendMessage (string,string) [0x00000] in <8062ce82a1f64108903ebe990014a0d1>:0
  at Duplicati.Library.Modules.Builtin.ReportHelper.OnFinish (object) [0x00135] in <8062ce82a1f64108903ebe990014a0d1>:0
  at Duplicati.Library.Main.Controller.OnOperationComplete (object) [0x0004f] in <80402d19122441e2bd57fbfcc5267c40>:0
  at Duplicati.Library.Main.Controller.RunAction<T_REF> (T_REF,string[]&,Duplicati.Library.Utility.IFilter&,System.Action`1<T_REF>) [0x0023a] in <80402d19122441e2bd57fbfcc5267c40>:0
  at Duplicati.Library.Main.Controller.Backup (string[],Duplicati.Library.Utility.IFilter) [0x00074] in <80402d19122441e2bd57fbfcc5267c40>:0
  at Duplicati.CommandLine.Commands.Backup 

so possibly the setting --send-mail-level=Warning,Error,Fatal would have steered into fatal email attempt on anything making a warning or higher (and it’s not specifically related to missing source folder). Other reports that ended this way (and had enough of a stack trace) were also crashing in email sending.

Bug 60625 Summary: local-propagation.c:562, condition `ins->opcode > MONO_CEE_LAST’ not met
was seemingly not fixed before 11/16/2017, and was the closest to this I found during previous research.

Mono Releases suggests you may need a version released at least Feb 2018 to pick up the Nov 2017 fix, however I’m not an expert on mono release plans, just kind of looking at the Oct 2017 to Feb 2018 gap…

1 Like