Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Mono 6 builds work on Windows #3218

Merged
merged 1 commit into from
Dec 1, 2020

Conversation

HebaruSan
Copy link
Member

@HebaruSan HebaruSan commented Dec 1, 2020

Background

Before #2964, we built releases on Mono 5.16, then that PR changed it to Mono 6.6. This broke things (see below), so as
a workaround, #2976 changed it back to Mono 5.20 in a panic. Here we attempt to address the root cause.

Problem

When we build on Mono 6, running the GUI on Windows throws an exception at startup:

Unhandled Exception: System.ArgumentException: Object of type 'System.Globalization.CalendarId[]' cannot be converted to type 'System.Int32[]'.
   at System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast)
   at System.RuntimeType.CheckValue(Object value, Binder binder, CultureInfo culture, BindingFlags invokeAttr)
   at System.Reflection.RtFieldInfo.UnsafeSetValue(Object obj, Object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
   at System.Runtime.Serialization.FormatterServices.SerializationSetValue(MemberInfo fi, Object target, Object value)
   at System.Runtime.Serialization.ObjectManager.CompleteObject(ObjectHolder holder, Boolean bObjectFullyComplete)
   at System.Runtime.Serialization.ObjectManager.DoNewlyRegisteredObjectFixups(ObjectHolder holder)
   at System.Runtime.Serialization.ObjectManager.RegisterObject(Object obj, Int64 objectID, SerializationInfo info, Int64 idOfContainingObj, MemberInfo member, Int32[] arrayIndex)
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.RegisterObject(Object obj, ParseRecord pr, ParseRecord objectPr, Boolean bIsString)
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObjectEnd(ParseRecord pr)
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Parse(ParseRecord pr)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
   at System.Resources.ResourceReader._LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
   at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
   at System.Resources.ResourceReader.LoadObject(Int32 pos)
   at System.Resources.ResourceReader.ResourceEnumerator.get_Entry()
   at System.Resources.ResourceReader.ResourceEnumerator.get_Current()
   at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
   at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
   at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
   at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName, CultureInfo culture)
   at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName)
   at CKAN.Main.InitializeComponent()
   at CKAN.Main..ctor(String[] cmdlineArgs, KSPManager mgr, Boolean showConsole)
   at CKAN.GUI.Main_(String[] args, KSPManager manager, Boolean showConsole)
   at CKAN.CmdLine.MainClass.RunSimpleAction(Options cmdline, CommonOptions options, String[] args, IUser user, KSPManager manager)
   at CKAN.CmdLine.MainClass.Execute(KSPManager manager, CommonOptions opts, String[] args)
   at CKAN.CmdLine.MainClass.Main(String[] args)

Mono 5 also freaks out, in a similar but slightly different way. It seems the same problem causes a null reference exception instead of the above.

Cause

Clearly there's something involving CalendarId that Windows doesn't like. The .resx files are compiled to .resources files in _build/out/CKAN-GUI/Debug, and if we inspect one of these files in a Mono 6 build, we indeed see instances of CalendarId:

image

Looking above, these seem to be within an instance of a System.Globalization.CultureInfo object, and our .resx file contains exactly one of those, in the $this.Language property. The same file built on Windows shows no references to CalendarId at all; so Mono and .NET disagree on precisely how CultureInfo should be (de)serialized, which causes problems trying to use data from one platform on the other.

$this.Language sets the Control.Language or Form.Language property, which is used by Visual Studio to control what locale is being edited in its form designer. This property has no role at run-time 🤦.

Changes

Now our .resx files no longer contain $this.Language, which makes our Mono 6 builds run on Windows and Mono 5.
To celebrate, we now build releases on mono:latest.

@HebaruSan HebaruSan added Bug Something is not working as intended GUI Issues affecting the interactive GUI Pull request In progress We're still working on this Build Issues affecting the build system Windows Issues specific for Windows Mono Issues specific for Mono labels Dec 1, 2020
@HebaruSan HebaruSan requested a review from DasSkelett December 1, 2020 18:24
@DasSkelett
Copy link
Member

DasSkelett commented Dec 1, 2020

Got a graphical docker:5.20 container running with this:

xhost +si:localuser:root
docker run -e DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v `pwd`:/build -it mono:5.20 /usr/bin/mono /build/ckan.exe

Trying with a master ckan.exe it throws the Mono5 error from #2976 as expected, a build from your branch does indeed start successfully! 🎉

@DasSkelett
Copy link
Member

Wonder whether Visual Studio will automatically add them back in when somebody edits the localizations with it. I guess we'll find out when somebody does that, just have to pay attention that it doesn't sneak in.

@DasSkelett
Copy link
Member

X11 Error encountered: 
Error: BadValue (integer parameter out of range for operation)
Request:     130 (3)
Resource ID: 0x70000
Serial:      12846
Hwnd:        <null>
Control:     <null>  at System.Environment.get_StackTrace () [0x00000] in <254335e8c4aa42e3923a8ba0d5ce8650>:0 
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux (System.IntPtr , System.IntPtr , System.IntPtr& ) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0 
at System.Drawing.Graphics.FromXDrawable (System.IntPtr drawable, System.IntPtr display) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0
at System.Drawing.Graphics.FromHwnd (System.IntPtr hwnd) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0 
at System.Windows.Forms.XplatUIX11.PaintEventStart (System.Windows.Forms.Message& msg, System.IntPtr handle, System.Boolean client) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.PaintEventStart (System.Windows.Forms.Message& msg, System.IntPtr handle, System.Boolean client) [0x00000]in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolBar.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.CommonDialog.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.CommonDialog.ShowDialog () [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at CKAN.ManageKspInstancesDialog.AddToCKANMenuItem_Click (System.Object sender, System.EventArgs e) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripMenuItem.OnClick (System.EventArgs e) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripMenuItem.HandleClick (System.Int32 mouse_clicks, System.EventArgs e) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, System.Windows.Forms.ToolStripItemEventType met) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStrip.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripDropDown.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripDropDown.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Form.ShowDialog () [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at CKAN.Main..ctor (System.String[] cmdlineArgs, CKAN.KSPManager mgr, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.GUI.Main_ (System.String[] args, CKAN.KSPManager manager, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Gui (CKAN.KSPManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.KSPManager manager) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Execute (CKAN.KSPManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 

X11 Error encountered: 
Error: BadValue (integer parameter out of range for operation)
Request:     130 (3)
Resource ID: 0x70000
Serial:      14658
Hwnd:        <null>
Control:     <null>  at System.Environment.get_StackTrace () [0x00000] in <254335e8c4aa42e3923a8ba0d5ce8650>:0 
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux (System.IntPtr , System.IntPtr , System.IntPtr& ) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0 
at System.Drawing.Graphics.FromXDrawable (System.IntPtr drawable, System.IntPtr display) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0
at System.Drawing.Graphics.FromHwnd (System.IntPtr hwnd) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0 
at System.Windows.Forms.XplatUIX11.PaintEventStart (System.Windows.Forms.Message& msg, System.IntPtr handle, System.Boolean client) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.PaintEventStart (System.Windows.Forms.Message& msg, System.IntPtr handle, System.Boolean client) [0x00000]in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ListView.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.CommonDialog.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.CommonDialog.ShowDialog () [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at CKAN.ManageKspInstancesDialog.AddToCKANMenuItem_Click (System.Object sender, System.EventArgs e) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripMenuItem.OnClick (System.EventArgs e) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripMenuItem.HandleClick (System.Int32 mouse_clicks, System.EventArgs e) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, System.Windows.Forms.ToolStripItemEventType met) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStrip.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripDropDown.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripDropDown.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Form.ShowDialog (System.Windows.Forms.IWin32Window owner) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Form.ShowDialog () [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at CKAN.Main..ctor (System.String[] cmdlineArgs, CKAN.KSPManager mgr, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.GUI.Main_ (System.String[] args, CKAN.KSPManager manager, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Gui (CKAN.KSPManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.KSPManager manager) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Execute (CKAN.KSPManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 

X11 Error encountered: 
Error: BadValue (integer parameter out of range for operation)
Request:     130 (3)
Resource ID: 0x70000
Serial:      35596
Hwnd:        <null>
Control:     <null>  at System.Environment.get_StackTrace () [0x00000] in <254335e8c4aa42e3923a8ba0d5ce8650>:0 
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux (System.IntPtr , System.IntPtr , System.IntPtr& ) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0 
at System.Drawing.Graphics.FromXDrawable (System.IntPtr drawable, System.IntPtr display) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0
at System.Drawing.Graphics.FromHwnd (System.IntPtr hwnd) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0 
at System.Windows.Forms.XplatUIX11.PaintEventStart (System.Windows.Forms.Message& msg, System.IntPtr handle, System.Boolean client) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.PaintEventStart (System.Windows.Forms.Message& msg, System.IntPtr handle, System.Boolean client) [0x00000]in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripDropDown.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at CKAN.Main..ctor (System.String[] cmdlineArgs, CKAN.KSPManager mgr, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.GUI.Main_ (System.String[] args, CKAN.KSPManager manager, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Gui (CKAN.KSPManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.KSPManager manager) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Execute (CKAN.KSPManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 

X11 Error encountered: 
Error: BadValue (integer parameter out of range for operation)
Request:     130 (3)
Resource ID: 0x70000
Serial:      35640
Hwnd:        <null>
Control:     <null>  at System.Environment.get_StackTrace () [0x00000] in <254335e8c4aa42e3923a8ba0d5ce8650>:0 
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.XPending (System.IntPtr ) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue, System.Boolean allowIdle) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, System.IntPtr handle, System.Int32 wFilterMin, System.Int32 wFilterMax) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, System.IntPtr hWnd, System.Int32 wFilterMin, System.Int32 wFilterMax) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at CKAN.Main..ctor (System.String[] cmdlineArgs, CKAN.KSPManager mgr, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.GUI.Main_ (System.String[] args, CKAN.KSPManager manager, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Gui (CKAN.KSPManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.KSPManager manager) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Execute (CKAN.KSPManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 

X11 Error encountered: 
Error: BadValue (integer parameter out of range for operation)
Request:     130 (3)
Resource ID: 0x70000
Serial:      35913
Hwnd:        <null>
Control:     <null>  at System.Environment.get_StackTrace () [0x00000] in <254335e8c4aa42e3923a8ba0d5ce8650>:0 
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux (System.IntPtr , System.IntPtr , System.IntPtr& ) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0 
at System.Drawing.Graphics.FromXDrawable (System.IntPtr drawable, System.IntPtr display) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0
at System.Drawing.Graphics.FromHwnd (System.IntPtr hwnd) [0x00000] in <28acd72f175c471fb61f6959352c0e9f>:0 
at System.Windows.Forms.XplatUIX11.PaintEventStart (System.Windows.Forms.Message& msg, System.IntPtr handle, System.Boolean client) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.PaintEventStart (System.Windows.Forms.Message& msg, System.IntPtr handle, System.Boolean client) [0x00000]in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ToolStripDropDown.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at CKAN.Main..ctor (System.String[] cmdlineArgs, CKAN.KSPManager mgr, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.GUI.Main_ (System.String[] args, CKAN.KSPManager manager, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Gui (CKAN.KSPManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.KSPManager manager) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Execute (CKAN.KSPManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 

X11 Error encountered: 
Error: BadValue (integer parameter out of range for operation)
Request:     130 (3)
Resource ID: 0x70000
Serial:      35975
Hwnd:        <null>
Control:     <null>  at System.Environment.get_StackTrace () [0x00000] in <254335e8c4aa42e3923a8ba0d5ce8650>:0 
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.XQueryPointer (System.IntPtr , System.IntPtr , System.IntPtr& , System.IntPtr& , System.Int32& , System.Int32& , System.Int32& , System.Int32& , System.Int32& ) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, System.IntPtr handle, System.Int32 wFilterMin, System.Int32 wFilterMax) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, System.IntPtr hWnd, System.Int32 wFilterMin, System.Int32 wFilterMax) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at CKAN.Main..ctor (System.String[] cmdlineArgs, CKAN.KSPManager mgr, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.GUI.Main_ (System.String[] args, CKAN.KSPManager manager, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Gui (CKAN.KSPManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.KSPManager manager) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Execute (CKAN.KSPManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 

X11 Error encountered: 
Error: BadValue (integer parameter out of range for operation)
Request:     130 (3)
Resource ID: 0x70000
Serial:      36088
Hwnd:        <null>
Control:     <null>  at System.Environment.get_StackTrace () [0x00000] in <254335e8c4aa42e3923a8ba0d5ce8650>:0 
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.XQueryPointer (System.IntPtr , System.IntPtr , System.IntPtr& , System.IntPtr& , System.Int32& , System.Int32& , System.Int32& , System.Int32& , System.Int32& ) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, System.IntPtr handle, System.Int32 wFilterMin, System.Int32 wFilterMax) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, System.IntPtr hWnd, System.Int32 wFilterMin, System.Int32 wFilterMax) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at CKAN.Main..ctor (System.String[] cmdlineArgs, CKAN.KSPManager mgr, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.GUI.Main_ (System.String[] args, CKAN.KSPManager manager, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Gui (CKAN.KSPManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.KSPManager manager) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Execute (CKAN.KSPManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 

X11 Error encountered: 
Error: BadValue (integer parameter out of range for operation)
Request:     130 (3)
Resource ID: 0x70000
Serial:      36541
Hwnd:        <null>
Control:     <null>  at System.Environment.get_StackTrace () [0x00000] in <254335e8c4aa42e3923a8ba0d5ce8650>:0 
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.XTranslateCoordinates (System.IntPtr , System.IntPtr , System.IntPtr , System.Int32 , System.Int32 , System.Int32& , System.Int32& , System.IntPtr& ) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.GetTopLevelWindowLocation (System.Windows.Forms.Hwnd hwnd) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.AddConfigureNotify (System.Windows.Forms.XEvent xevent) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue, System.Boolean allowIdle) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, System.IntPtr handle, System.Int32 wFilterMin, System.Int32 wFilterMax) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, System.IntPtr hWnd, System.Int32 wFilterMin, System.Int32 wFilterMax) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at CKAN.Main..ctor (System.String[] cmdlineArgs, CKAN.KSPManager mgr, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.GUI.Main_ (System.String[] args, CKAN.KSPManager manager, System.Boolean showConsole) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Gui (CKAN.KSPManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.KSPManager manager) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Execute (CKAN.KSPManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <fd7d9a72568c47b18475fc1b097e6568>:0 

System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'CKAN.TransparentTextBox'.
at System.Windows.Forms.Control.CreateHandle () [0x00013] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.TextBoxBase.CreateHandle () [0x00006] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.CreateGraphics () [0x00008] in <446d39cdea2740d599758d536e1069ad>:0 
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.CreateGraphics()
at System.Windows.Forms.Document.owner_VisibleChanged (System.Object sender, System.EventArgs e) [0x0000d] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x0002f] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnParentVisibleChanged (System.EventArgs e) [0x00008] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x00053] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ScrollableControl.OnVisibleChanged (System.EventArgs e) [0x0001a] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnParentVisibleChanged (System.EventArgs e) [0x00008] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x00053] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ScrollableControl.OnVisibleChanged (System.EventArgs e) [0x0001a] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnParentVisibleChanged (System.EventArgs e) [0x00008] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x00053] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnParentVisibleChanged (System.EventArgs e) [0x00008] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x00053] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ScrollableControl.OnVisibleChanged (System.EventArgs e) [0x0001a] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnParentVisibleChanged (System.EventArgs e) [0x00008] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x00053] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ScrollableControl.OnVisibleChanged (System.EventArgs e) [0x0001a] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnParentVisibleChanged (System.EventArgs e) [0x00008] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x00053] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ScrollableControl.OnVisibleChanged (System.EventArgs e) [0x0001a] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnParentVisibleChanged (System.EventArgs e) [0x00008] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x00053] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ScrollableControl.OnVisibleChanged (System.EventArgs e) [0x0001a] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00176] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00009] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.SplitterPanel.set_Visible (System.Boolean value) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0 
at (wrapper remoting-invoke-with-check) System.Windows.Forms.SplitterPanel.set_Visible(bool)
at System.Windows.Forms.SplitContainer.set_Panel2Collapsed (System.Boolean value) [0x00010] in <446d39cdea2740d599758d536e1069ad>:0 
at (wrapper remoting-invoke-with-check) System.Windows.Forms.SplitContainer.set_Panel2Collapsed(bool)
at CKAN.Main.set_ActiveModInfo (CKAN.GUIMod value) [0x0000a] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.Main.ManageMods_OnSelectedModuleChanged (CKAN.GUIMod m) [0x00001] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at CKAN.ManageMods.ModList_SelectedIndexChanged (System.Object sender, System.EventArgs e) [0x00023] in <fd7d9a72568c47b18475fc1b097e6568>:0 
at System.Windows.Forms.DataGridView.OnSelectionChanged (System.EventArgs e) [0x00019] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.DataGridView.SetSelectedRowCore (System.Int32 rowIndex, System.Boolean selected) [0x0006d] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.DataGridView.SetSelectedRowCoreInternal (System.Int32 rowIndex, System.Boolean selected) [0x00012] in <446d39cdea2740d599758d536e1069ad>:0 
at (wrapper remoting-invoke-with-check) System.Windows.Forms.DataGridView.SetSelectedRowCoreInternal(int,bool)
at System.Windows.Forms.DataGridViewBand.set_Selected (System.Boolean value) [0x00027] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.DataGridViewRow.set_Selected (System.Boolean value) [0x00027] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.DataGridView.ClearSelection () [0x0004e] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.DataGridView.Dispose (System.Boolean disposing) [0x00006] in <446d39cdea2740d599758d536e1069ad>:0 
at System.ComponentModel.Component.Dispose () [0x00000] in <91935ad653254a93b9d73a9f8f2f7a2d>:0 
at (wrapper remoting-invoke-with-check) System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose (System.Boolean disposing) [0x00090] in <446d39cdea2740d599758d536e1069ad>:0 
at System.Windows.Forms.ContainerControl.Dispose (System.Boolean disposing) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0
at CKAN.ManageMods.Dispose (System.Boolean disposing) [0x00022] in <fd7d9a72568c47b18475fc1b097e6568>:0
at System.ComponentModel.Component.Dispose () [0x00000] in <91935ad653254a93b9d73a9f8f2f7a2d>:0
at (wrapper remoting-invoke-with-check) System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose (System.Boolean disposing) [0x00090] in <446d39cdea2740d599758d536e1069ad>:0
at System.ComponentModel.Component.Dispose () [0x00000] in <91935ad653254a93b9d73a9f8f2f7a2d>:0
at (wrapper remoting-invoke-with-check) System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose (System.Boolean disposing) [0x00090] in <446d39cdea2740d599758d536e1069ad>:0
at System.Windows.Forms.TabControl.Dispose (System.Boolean disposing) [0x00006] in <446d39cdea2740d599758d536e1069ad>:0
at System.ComponentModel.Component.Dispose () [0x00000] in <91935ad653254a93b9d73a9f8f2f7a2d>:0
at (wrapper remoting-invoke-with-check) System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose (System.Boolean disposing) [0x00090] in <446d39cdea2740d599758d536e1069ad>:0
at System.ComponentModel.Component.Dispose () [0x00000] in <91935ad653254a93b9d73a9f8f2f7a2d>:0
at (wrapper remoting-invoke-with-check) System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose (System.Boolean disposing) [0x00090] in <446d39cdea2740d599758d536e1069ad>:0
at System.Windows.Forms.ContainerControl.Dispose (System.Boolean disposing) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0
at System.ComponentModel.Component.Dispose () [0x00000] in <91935ad653254a93b9d73a9f8f2f7a2d>:0
at (wrapper remoting-invoke-with-check) System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose (System.Boolean disposing) [0x00090] in <446d39cdea2740d599758d536e1069ad>:0
at System.Windows.Forms.ContainerControl.Dispose (System.Boolean disposing) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0
at System.Windows.Forms.Form.Dispose (System.Boolean disposing) [0x00047] in <446d39cdea2740d599758d536e1069ad>:0
at CKAN.Main.Dispose (System.Boolean disposing) [0x00022] in <fd7d9a72568c47b18475fc1b097e6568>:0
at System.ComponentModel.Component.Dispose () [0x00000] in <91935ad653254a93b9d73a9f8f2f7a2d>:0
at (wrapper remoting-invoke-with-check) System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Form.WmClose (System.Windows.Forms.Message& m) [0x000b1] in <446d39cdea2740d599758d536e1069ad>:0
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x000de] in <446d39cdea2740d599758d536e1069ad>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <446d39cdea2740d599758d536e1069ad>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <446d39cdea2740d599758d536e1069ad>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <446d39cdea2740d599758d536e1069ad>:0

Mono 5 throws a bunch of other errors in the background, but they're all non-fatal and might be due to running in a Docker container.

Copy link
Member

@DasSkelett DasSkelett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also confirmed to work on Windows. Thanks a lot for digging into this. We can finally leave Mono 5 behind ⏲️

@HebaruSan HebaruSan merged commit 9b6d283 into KSP-CKAN:master Dec 1, 2020
@HebaruSan HebaruSan deleted the fix/mono-6-builds branch December 1, 2020 20:09
@HebaruSan
Copy link
Member Author

Wonder whether Visual Studio will automatically add them back in when somebody edits the localizations with it. I guess we'll find out when somebody does that, just have to pay attention that it doesn't sneak in.

It would be great to make a Test for this somehow. Any ideas?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is not working as intended Build Issues affecting the build system GUI Issues affecting the interactive GUI In progress We're still working on this Mono Issues specific for Mono Windows Issues specific for Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants