You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have checked the existing issues for an existing issue. I even actually looked at the ones that are pinned to the top!
Operating System
Linux 6.12.8-arch1-1
CKAN Version
1.35.2-1
Games
KSP 1
Game Version
1.12.5.3190
Did you make any manual changes to your game folder (i.e., not via CKAN)?
No
Describe the bug
CKAN crashes on start up with X11 Error BadAlloc & BadDrawable
This happens when running it through Xwayland or a X11 desktop.
mono:8047): Gtk-WARNING **: 11:11:28.824: Unable to locate theme engine in module_path: "adwaita",
X11 Error encountered:
Error: BadAlloc (insufficient resources for operation)
Request: 53 (0)
Resource ID: 0x1E000C1
Serial: 3923
Hwnd: Hwnd, Mapped:True ClientWindow:0x1E000C1, WholeWindow:0x1E000C0, Zombie=False, Parent:[Hwnd, Mapped:True ClientWindow:0x1E000BF, WholeWindow:0x1E000BE, Zombie=False, Parent:[<null>]]
Control: System.Windows.Forms.SplitContainer at System.Environment.get_StackTrace () [0x00000] in <296872a6734f443990477e3abd954b57>:0
X11 Error encountered:
Error: BadDrawable (invalid Pixmap or Window parameter)
Request: 14 (0)
Resource ID: 0x1E000DA
Serial: 3924
Hwnd: <null>
Control: <null> at System.Environment.get_StackTrace () [0x00000] in <296872a6734f443990477e3abd954b57>:0
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
System resources are no where near being overcommeted (1TiB of Storage free and 56GB of RAM free)
No errors in XWayland logs as far as I can see
Steps to reproduce
Not sure but this happened after install RP-1 and some additional mods ontop.
Game runs fine
Relevant log output
(mono:8047): Gtk-WARNING **: 11:11:28.824: Unable to locate theme engine in module_path: "adwaita",
X11 Error encountered:
Error: BadAlloc (insufficient resources for operation)
Request: 53 (0)
Resource ID: 0x1E000C1
Serial: 3923
Hwnd: Hwnd, Mapped:True ClientWindow:0x1E000C1, WholeWindow:0x1E000C0, Zombie=False, Parent:[Hwnd, Mapped:True ClientWindow:0x1E000BF, WholeWindow:0x1E000BE, Zombie=False, Parent:[<null>]]
Control: System.Windows.Forms.SplitContainer at System.Environment.get_StackTrace () [0x00000] in <296872a6734f443990477e3abd954b57>:0
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux (System.IntPtr , System.IntPtr , System.IntPtr& ) [0x00000] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FromXDrawable (System.IntPtr drawable, System.IntPtr display) [0x00000] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FromHwnd (System.IntPtr hwnd) [0x00000] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Windows.Forms.XplatUIX11.GetOffscreenGraphics (System.Object offscreen_drawable) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUI.GetOffscreenGraphics (System.Object offscreen_drawable) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+DoubleBuffer.Start (System.Windows.Forms.PaintEventArgs pe) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.SplitContainer.WndProc (System.Windows.Forms.Message& msg) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUI.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Update () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Hide () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUI.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Update () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Hide () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUI.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Update () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Refresh () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.TabControl.Redraw () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.TabControl+ControlCollection.Add (System.Windows.Forms.Control value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.TabControl.InsertTab (System.Int32 index, System.Windows.Forms.TabPage value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.TabControl+TabPageCollection.Insert (System.Int32 index, System.Windows.Forms.TabPage tabPage) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at CKAN.GUI.TabController+<>c__DisplayClass1_0.<ShowTab>b__0 () [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Util.Invoke[T] (T obj, System.Action action) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.TabController.ShowTab (System.String name, System.Int32 index, System.Boolean setActive) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.<ShowWaitDialog>b__238_0 () [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Util.Invoke[T] (T obj, System.Action action) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.ShowWaitDialog () [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.OnShown (System.EventArgs e) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at CKAN.GUI.GUI.Main_ (System.String[] args, System.String userAgent, CKAN.GameInstanceManager manager, System.Boolean showConsole) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Gui (CKAN.GameInstanceManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.GameInstanceManager manager) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Execute (CKAN.GameInstanceManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
X11 Error encountered:
Error: BadDrawable (invalid Pixmap or Window parameter)
Request: 14 (0)
Resource ID: 0x1E000DA
Serial: 3924
Hwnd: <null>
Control: <null> at System.Environment.get_StackTrace () [0x00000] in <296872a6734f443990477e3abd954b57>:0
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux (System.IntPtr , System.IntPtr , System.IntPtr& ) [0x00000] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FromXDrawable (System.IntPtr drawable, System.IntPtr display) [0x00000] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FromHwnd (System.IntPtr hwnd) [0x00000] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Windows.Forms.XplatUIX11.GetOffscreenGraphics (System.Object offscreen_drawable) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUI.GetOffscreenGraphics (System.Object offscreen_drawable) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+DoubleBuffer.Start (System.Windows.Forms.PaintEventArgs pe) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.SplitContainer.WndProc (System.Windows.Forms.Message& msg) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUI.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Update () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Hide () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUI.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Update () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Hide () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUIX11.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.XplatUI.UpdateWindow (System.IntPtr handle) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Update () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.Refresh () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.TabControl.Redraw () [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.TabControl+ControlCollection.Add (System.Windows.Forms.Control value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.TabControl.InsertTab (System.Int32 index, System.Windows.Forms.TabPage value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.TabControl+TabPageCollection.Insert (System.Int32 index, System.Windows.Forms.TabPage tabPage) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at CKAN.GUI.TabController+<>c__DisplayClass1_0.<ShowTab>b__0 () [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Util.Invoke[T] (T obj, System.Action action) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.TabController.ShowTab (System.String name, System.Int32 index, System.Boolean setActive) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.<ShowWaitDialog>b__238_0 () [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Util.Invoke[T] (T obj, System.Action action) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.ShowWaitDialog () [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.OnShown (System.EventArgs e) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at CKAN.GUI.GUI.Main_ (System.String[] args, System.String userAgent, CKAN.GameInstanceManager manager, System.Boolean showConsole) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Gui (CKAN.GameInstanceManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.GameInstanceManager manager) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Execute (CKAN.GameInstanceManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
System.Exception: Generic Error [GDI+ status: GenericError]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x00079] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height) [0x00025] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, System.Drawing.Rectangle rect) [0x0002c] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.FillRectangle(System.Drawing.Brush,System.Drawing.Rectangle)
at System.Windows.Forms.Control.PaintControlBackground (System.Windows.Forms.PaintEventArgs pevent) [0x002ee] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.OnPaintBackground (System.Windows.Forms.PaintEventArgs pevent) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ScrollableControl.OnPaintBackground (System.Windows.Forms.PaintEventArgs e) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x0005f] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x001a4] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00027] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x00166] in <c87c1b414e134a3b85f757beb69a2505>:0
at CKAN.GUI.Main.WndProc (System.Windows.Forms.Message& m) [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <c87c1b414e134a3b85f757beb69a2505>:0
System.Exception: Generic Error [GDI+ status: GenericError]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x00079] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height) [0x00025] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, System.Drawing.Rectangle rect) [0x0002c] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.FillRectangle(System.Drawing.Brush,System.Drawing.Rectangle)
at System.Windows.Forms.Control.PaintControlBackground (System.Windows.Forms.PaintEventArgs pevent) [0x002ee] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.OnPaintBackground (System.Windows.Forms.PaintEventArgs pevent) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ScrollableControl.OnPaintBackground (System.Windows.Forms.PaintEventArgs e) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x0005f] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x001a4] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00027] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.SplitContainer.WndProc (System.Windows.Forms.Message& msg) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <c87c1b414e134a3b85f757beb69a2505>:0
System.Exception: Generic Error [GDI+ status: GenericError]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x00079] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height) [0x00025] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, System.Drawing.Rectangle rect) [0x0002c] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.FillRectangle(System.Drawing.Brush,System.Drawing.Rectangle)
at System.Windows.Forms.Control.PaintControlBackground (System.Windows.Forms.PaintEventArgs pevent) [0x002ee] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.OnPaintBackground (System.Windows.Forms.PaintEventArgs pevent) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ScrollableControl.OnPaintBackground (System.Windows.Forms.PaintEventArgs e) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x0005f] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x001a4] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <c87c1b414e134a3b85f757beb69a2505>:0
System.Exception: Generic Error [GDI+ status: GenericError]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x00079] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, System.Int32 x, System.Int32 y, System.Int32 width, System.Int32 height) [0x00025] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at System.Drawing.Graphics.FillRectangle (System.Drawing.Brush brush, System.Drawing.Rectangle rect) [0x0002c] in <d2cf6374537744cabc5dae479f1fbd9b>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.FillRectangle(System.Drawing.Brush,System.Drawing.Rectangle)
at System.Windows.Forms.Control.PaintControlBackground (System.Windows.Forms.PaintEventArgs pevent) [0x002ee] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.OnPaintBackground (System.Windows.Forms.PaintEventArgs pevent) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x0005f] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x001a4] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.TabControl.WndProc (System.Windows.Forms.Message& m) [0x00057] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <c87c1b414e134a3b85f757beb69a2505>:0
632 [1] ERROR CKAN.GUI.ErrorDialog (null) - Unhandled exception:
System.ArgumentException: Not a child control
Parameter name: child
at System.Windows.Forms.Control+ControlCollection.SetChildIndex (System.Windows.Forms.Control child, System.Int32 newIndex) [0x0001f] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.TabControl.InsertTab (System.Int32 index, System.Windows.Forms.TabPage value) [0x00020] in <c87c1b414e134a3b85f757beb69a2505>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.TabControl.InsertTab(int,System.Windows.Forms.TabPage)
at System.Windows.Forms.TabControl+TabPageCollection.Insert (System.Int32 index, System.Windows.Forms.TabPage tabPage) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at CKAN.GUI.TabController+<>c__DisplayClass1_0.<ShowTab>b__0 () [0x00091] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Util.Invoke[T] (T obj, System.Action action) [0x00026] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.TabController.ShowTab (System.String name, System.Int32 index, System.Boolean setActive) [0x00022] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.<ShowWaitDialog>b__238_0 () [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Util.Invoke[T] (T obj, System.Action action) [0x00026] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.ShowWaitDialog () [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.OnShown (System.EventArgs e) [0x0001c] in <a64c5e391cb647ceb28dffb148023a5a>:0
at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x0013d] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00009] in <c87c1b414e134a3b85f757beb69a2505>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible(bool)
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00059] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00011] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00006] in <c87c1b414e134a3b85f757beb69a2505>:0
at CKAN.GUI.GUI.Main_ (System.String[] args, System.String userAgent, CKAN.GameInstanceManager manager, System.Boolean showConsole) [0x0004b] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Gui (CKAN.GameInstanceManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x0003e] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.GameInstanceManager manager) [0x00296] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Execute (CKAN.GameInstanceManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x002b9] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x000e9] in <a64c5e391cb647ceb28dffb148023a5a>:0
exception inside UnhandledException handler: (null) assembly:/usr/lib/mono/4.5/mscorlib.dll type:ObjectDisposedException member:(null)
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: Not a child control
Parameter name: child
at System.Windows.Forms.Control+ControlCollection.SetChildIndex (System.Windows.Forms.Control child, System.Int32 newIndex) [0x0001f] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.TabControl.InsertTab (System.Int32 index, System.Windows.Forms.TabPage value) [0x00020] in <c87c1b414e134a3b85f757beb69a2505>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.TabControl.InsertTab(int,System.Windows.Forms.TabPage)
at System.Windows.Forms.TabControl+TabPageCollection.Insert (System.Int32 index, System.Windows.Forms.TabPage tabPage) [0x00000] in <c87c1b414e134a3b85f757beb69a2505>:0
at CKAN.GUI.TabController+<>c__DisplayClass1_0.<ShowTab>b__0 () [0x00091] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Util.Invoke[T] (T obj, System.Action action) [0x00026] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.TabController.ShowTab (System.String name, System.Int32 index, System.Boolean setActive) [0x00022] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.<ShowWaitDialog>b__238_0 () [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Util.Invoke[T] (T obj, System.Action action) [0x00026] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.ShowWaitDialog () [0x00000] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.GUI.Main.OnShown (System.EventArgs e) [0x0001c] in <a64c5e391cb647ceb28dffb148023a5a>:0
at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x0013d] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00009] in <c87c1b414e134a3b85f757beb69a2505>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible(bool)
at System.Windows.Forms.Application.RunLoop (System.Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00059] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00011] in <c87c1b414e134a3b85f757beb69a2505>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00006] in <c87c1b414e134a3b85f757beb69a2505>:0
at CKAN.GUI.GUI.Main_ (System.String[] args, System.String userAgent, CKAN.GameInstanceManager manager, System.Boolean showConsole) [0x0004b] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Gui (CKAN.GameInstanceManager manager, CKAN.CmdLine.GuiOptions options, System.String[] args) [0x0003e] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.RunSimpleAction (CKAN.CmdLine.Options cmdline, CKAN.CmdLine.CommonOptions options, System.String[] args, CKAN.IUser user, CKAN.GameInstanceManager manager) [0x00296] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Execute (CKAN.GameInstanceManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x002b9] in <a64c5e391cb647ceb28dffb148023a5a>:0
at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x000e9] in <a64c5e391cb647ceb28dffb148023a5a>:0
The text was updated successfully, but these errors were encountered:
HebaruSan
changed the title
[Bug]: CKAN Fails to launch do to Bad Alloc
Error: BadAlloc (insufficient resources for operation) in System.Drawing.GDIPlus.GdipCreateFromXDrawable_linux on Arch Linux
Jan 6, 2025
Is there an existing issue for this?
Operating System
Linux 6.12.8-arch1-1
CKAN Version
1.35.2-1
Games
KSP 1
Game Version
1.12.5.3190
Did you make any manual changes to your game folder (i.e., not via CKAN)?
No
Describe the bug
CKAN crashes on start up with X11 Error BadAlloc & BadDrawable
This happens when running it through Xwayland or a X11 desktop.
System resources are no where near being overcommeted (1TiB of Storage free and 56GB of RAM free)
No errors in XWayland logs as far as I can see
Steps to reproduce
Not sure but this happened after install RP-1 and some additional mods ontop.
Game runs fine
Relevant log output
The text was updated successfully, but these errors were encountered: