Package: mono-runtime Version: 4.6.2.7+dfsg-1 Severity: important ncurses 6 introduced a new file format, which causes mono to become pretty unhappy when trying to parse those files. A current example is sparkleshare:
$ mono /usr/lib/x86_64-linux-gnu/sparkleshare/SparkleShare.exe exception inside UnhandledException handler: The type initializer for 'System.Console' threw an exception. [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542 at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0002b] in <8f2c484307284b51944a1a13a14c0266>:0 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x00065] in <8f2c484307284b51944a1a13a14c0266>:0 at System.TermInfoDriver..ctor (System.String term) [0x00058] in <8f2c484307284b51944a1a13a14c0266>:0 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at System.ConsoleDriver..cctor () [0x00062] in <8f2c484307284b51944a1a13a14c0266>:0 --- End of inner exception stack trace --- at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x0000a] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Console..cctor () [0x000a8] in <8f2c484307284b51944a1a13a14c0266>:0 --- End of inner exception stack trace --- at Sparkles.Logger.LogInfo (System.String type, System.String message, System.Exception exception) [0x0009d] in <1cfdbdb30dbc4aa3a274a50c6e3e3879>:0 at Sparkles.Logger.LogInfo (System.String type, System.String message) [0x00001] in <1cfdbdb30dbc4aa3a274a50c6e3e3879>:0 at Sparkles.Command.Start () [0x00097] in <1cfdbdb30dbc4aa3a274a50c6e3e3879>:0 at Sparkles.Command.StartAndReadStandardOutput () [0x00001] in <1cfdbdb30dbc4aa3a274a50c6e3e3879>:0 at (wrapper remoting-invoke-with-check) Sparkles.Command:StartAndReadStandardOutput () at Sparkles.InstallationInfo.get_OperatingSystem () [0x00049] in <1cfdbdb30dbc4aa3a274a50c6e3e3879>:0 at Sparkles.Logger.WriteCrashReport (System.Exception e) [0x00008] in <1cfdbdb30dbc4aa3a274a50c6e3e3879>:0 at SparkleShare.SparkleShare.OnUnhandledException (System.Object sender, System.UnhandledExceptionEventArgs exception_args) [0x0000d] in <6d9908bd36a64477b98c6146bd1b2e76>:0 https://github.com/mono/mono/commit/2c1f45f3791f274855e0f5fd2fb0af71c9a756f7 is an upstream commit that I've been told fixes this. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing'), (50, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8), LANGUAGE=nb_NO.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages mono-runtime depends on: ii libc6 2.27-3 ii mono-runtime-sgen 4.6.2.7+dfsg-1 mono-runtime recommends no packages. mono-runtime suggests no packages. -- no debconf information -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are