ncurses 6.1 introduces a new format for terminfo database. Current versions of .NET Core can not parse it. .NET Core fails to run with this exception:
Unhandled Exception: System.InvalidOperationException: The terminfo database is invalid. at System.TermInfo.Database..ctor(String term, Byte[] data) at System.TermInfo.Database.ReadDatabase(String term, String directoryPath) at System.TermInfo.Database.ReadDatabase(String term) at System.TermInfo.Database.ReadActiveDatabase() at System.ConsolePal.TerminalFormatStrings.<>c.<.cctor>b__27_0() at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy`1.CreateValue() at System.ConsolePal.WriteResetColorString() at System.ConsolePal.RefreshColors(ConsoleColor& toChange, ConsoleColor value) at Microsoft.DotNet.Execute.Setup.ExecuteCommand(String commandSelectedByUser, List`1 parametersSelectedByUser) at Microsoft.DotNet.Execute.Executor.Main(String[] args)
Upstream fix: https://github.com/dotnet/corefx/pull/27109
Metadata Update from @rhea: - Issue tagged with: bug, f28, upstream
Fixed in .NET Core 2.1.301 (the latest package in copr)
Metadata Update from @omajid: - Issue assigned to omajid
Metadata Update from @omajid: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.