X11 Error: BadMatch (invalid parameter attributes) (crash)
See original GitHub issueBug Report
Steps to Reproduce
- Upgrade to v2.19.10 on Elementary OS v5.0 Juno.
- (Attempt to) Start software with application tile, 2b. Start software from command line. 2c. Momentary processing, some gtk/mono whinging.
- X11 Error: BadMatch, crash with exit code 1.
Expected Behavior Program v2.x and above loads and I can configure my 3d printer.
Actual Behavior Program installed from v2.x debfile crashes without displaying MatterControl window.
MatterControl Build Number
Installed via dpkg -i ./MatterControlSetup-2.19.10.10370.deb
, so assuming it’s 10370
?
Operating System Version Elementary OS 5.0 Juno
Printer Make/Model Robo3D R1+.
Console Log
user@system >$ sudo dpkg -i ./MatterControlSetup-2.19.10.10370.deb
[sudo] password for jakimfett:
Selecting previously unselected package mattercontrol.
(Reading database ... 266221 files and directories currently installed.)
Preparing to unpack .../MatterControlSetup-2.19.10.10370.deb ...
Unpacking mattercontrol (2.19.10.10367) ...
Setting up mattercontrol (2.19.10.10367) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2+elementary2~ubuntu5.0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.60ubuntu1) ...
user@system >$ mattercontrol --version
Could not get XIM
Gtk-Message: 14:11:28.483: Failed to load module "pantheon-filechooser-module"
(mono:31518): Gtk-WARNING **: 14:11:28.498: Unable to locate theme engine in module_path: "pixmap",
(mono:31518): Gtk-WARNING **: 14:11:28.498: Unable to locate theme engine in module_path: "pixmap",
(mono:31518): Gtk-WARNING **: 14:11:28.498: Unable to locate theme engine in module_path: "pixmap",
(mono:31518): Gtk-WARNING **: 14:11:28.499: Unable to locate theme engine in module_path: "pixmap",
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 154 (5)
Resource ID: 0x7200014
Serial: 264
Hwnd: Hwnd, Mapped:False ClientWindow:0x7200014, WholeWindow:0x7200013, Zombie=False, Parent:[Hwnd, Mapped:False ClientWindow:0x7200012, WholeWindow:0x7200011, Zombie=False, Parent:[<null>]]
Control: 0 at System.Environment.get_StackTrace () [0x00000] in <285579f54af44a2ca048dad6be20e190>:0
at System.Windows.Forms.XplatUIX11.HandleError (System.IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at OpenTK.Platform.X11.Glx.MakeCurrent (System.IntPtr , System.IntPtr , System.IntPtr ) [0x00000] in <d85857bc66524258b04ff0bdaeed67db>:0
at OpenTK.Platform.X11.Glx.MakeCurrent (System.IntPtr display, System.IntPtr drawable, OpenTK.ContextHandle context) [0x00000] in <d85857bc66524258b04ff0bdaeed67db>:0
at OpenTK.Platform.X11.X11GLContext.MakeCurrent (OpenTK.Platform.IWindowInfo window) [0x00000] in <d85857bc66524258b04ff0bdaeed67db>:0
at OpenTK.Graphics.GraphicsContext.MakeCurrent (OpenTK.Platform.IWindowInfo window) [0x00000] in <d85857bc66524258b04ff0bdaeed67db>:0
at OpenTK.GLControl.MakeCurrent () [0x00000] in <33e0a290e5404e8e8877ff9c93b1ec2f>:0
at OpenTK.GLControl.OnHandleCreated (System.EventArgs e) [0x00000] in <33e0a290e5404e8e8877ff9c93b1ec2f>:0
at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control.CreateHandle () [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control.CreateControl () [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control.CreateControl () [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at MatterHackers.Agg.UI.WinformsSystemWindow.SetVisibleCore (System.Boolean value) [0x00000] in <712ffdb4c0144e8c88c0ce33a0b20977>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control.Show () [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at MatterHackers.Agg.UI.WinformsSystemWindow.Show () [0x00000] in <712ffdb4c0144e8c88c0ce33a0b20977>:0
at MatterHackers.Agg.UI.WinformsSystemWindow.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00000] in <712ffdb4c0144e8c88c0ce33a0b20977>:0
at MatterHackers.Agg.UI.SingleWindowProvider.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00000] in <49bb6fd6740f4762a381356153fe2e02>:0
at MatterHackers.MatterControl.WinformsSingleWindowProvider.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00000] in <16b4831ddba24ef8b2ca5ca9a43af3cd>:0
at MatterHackers.Agg.UI.SystemWindow.ShowAsSystemWindow () [0x00000] in <a5c2db3666d84398b1090e2f2dfee474>:0
at MatterHackers.MatterControl.Program.Main (System.String[] args) [0x00000] in <e58f04b6857344df9781155f8ee2c0c8>:0
exception inside UnhandledException handler: (null) assembly:/usr/lib/mono/4.5/mscorlib.dll type:FileNotFoundException member:(null)
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.
File name: 'Microsoft.VisualBasic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Mindscape.Raygun4Net.RaygunMessageBuilder.SetEnvironmentDetails () [0x0000b] in <f91f2b249ee243acbec1dd6bfd729d19>:0
at Mindscape.Raygun4Net.RaygunClient.BuildMessage (System.Exception exception, System.Collections.Generic.IList`1[T] tags, System.Collections.IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfoMessage, System.Nullable`1[T] currentTime) [0x00024] in <f91f2b249ee243acbec1dd6bfd729d19>:0
at Mindscape.Raygun4Net.RaygunClient.StripAndSend (System.Exception exception, System.Collections.Generic.IList`1[T] tags, System.Collections.IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfo, System.Nullable`1[T] currentTime) [0x00016] in <f91f2b249ee243acbec1dd6bfd729d19>:0
at Mindscape.Raygun4Net.RaygunClient.Send (System.Exception exception, System.Collections.Generic.IList`1[T] tags, System.Collections.IDictionary userCustomData, Mindscape.Raygun4Net.Messages.RaygunIdentifierMessage userInfo) [0x00023] in <f91f2b249ee243acbec1dd6bfd729d19>:0
at Mindscape.Raygun4Net.RaygunClient.Send (System.Exception exception) [0x00000] in <f91f2b249ee243acbec1dd6bfd729d19>:0
at MatterHackers.MatterControl.Program+<>c.<Main>b__6_2 (System.Object s, System.Threading.ThreadExceptionEventArgs e) [0x0001c] in <e58f04b6857344df9781155f8ee2c0c8>:0
at System.Windows.Forms.Application.OnThreadException (System.Exception t) [0x00037] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00196] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.XplatUIX11.SendMessage (System.IntPtr hwnd, System.Windows.Forms.Msg message, System.IntPtr wParam, System.IntPtr lParam) [0x000d5] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.XplatUIX11.CreateWindow (System.Windows.Forms.CreateParams cp) [0x004e5] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00009] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control.CreateHandle () [0x00031] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control.CreateControl () [0x00039] in <7346aaf818a24e898fc55461ebf690ad>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.CreateControl () [0x00072] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x00057] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Form.SetVisibleCore (System.Boolean value) [0x00065] in <7346aaf818a24e898fc55461ebf690ad>:0
at MatterHackers.Agg.UI.WinformsSystemWindow.SetVisibleCore (System.Boolean value) [0x00009] in <712ffdb4c0144e8c88c0ce33a0b20977>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00009] in <7346aaf818a24e898fc55461ebf690ad>:0
at System.Windows.Forms.Control.Show () [0x00000] in <7346aaf818a24e898fc55461ebf690ad>:0
at MatterHackers.Agg.UI.WinformsSystemWindow.Show () [0x000f8] in <712ffdb4c0144e8c88c0ce33a0b20977>:0
at MatterHackers.Agg.UI.WinformsSystemWindow.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00060] in <712ffdb4c0144e8c88c0ce33a0b20977>:0
at MatterHackers.Agg.UI.SingleWindowProvider.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00373] in <49bb6fd6740f4762a381356153fe2e02>:0
at MatterHackers.MatterControl.WinformsSingleWindowProvider.ShowSystemWindow (MatterHackers.Agg.UI.SystemWindow systemWindow) [0x00031] in <16b4831ddba24ef8b2ca5ca9a43af3cd>:0
at MatterHackers.Agg.UI.SystemWindow.ShowAsSystemWindow () [0x0002b] in <a5c2db3666d84398b1090e2f2dfee474>:0
at MatterHackers.MatterControl.Program.Main (System.String[] args) [0x0037f] in <e58f04b6857344df9781155f8ee2c0c8>:0
user@system >$ echo $?
1
Issue Analytics
- State:
- Created 4 years ago
- Comments:24 (1 by maintainers)
Top Results From Across the Web
Various apps crash with BadMatch · Issue #2540
X protocol error: BadMatch (invalid parameter attributes) on protocol request 2 When compiled with GTK, Emacs cannot recover from X disconnects.
Read more >Bug #2014986 “gnome-shell crashed with signal 5 ...
This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. ... (Note to programmers: normally, X errors ...
Read more >nouveau xv crash with BadMatch (invalid parameter attributes)
Unfortunately this is the current expected behaviour. If you run an XRENDER base composite manager (xcompmgr is fine) Xv will work. Hopefully we ......
Read more >Gdk-ERROR **: BadMatch (invalid parameter attributes)
c:241 This is PC/Linux, build 2000042518. Confirming and reassigning to default component owner, adding crash keyword, extending summary. Assignee: cls → ...
Read more >xrandr error BadMatch (invalid parameter attributes) ...
I checked in user guide that my monitor supports 30kHz to 83kHz. After correcting the xorg.conf and Xserver restart, a lot of new...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You can edit /usr/lib/mattercontrol/appsettings.json to override this bug. Application crashes while ‘Color’ and ‘Depth’ parameters has different values. I set this values to ‘24’, and program works fine.
I installed 2.0 with only Intel Integrated graphics and it starts. Initially, it’s just a blank window but when I maximize it, I see and accept the license agreement. After that, all is normal.
Fedora 31 UHD Graphics 620