Repetier 2.2.3 crashes on Ubunto 18.04 LTS

When starting repetierHost 2.2.3 on Ubuntu 18.04.6 LTS
 it crashes with:

Unhandled Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at System.Windows.Forms.TableLayoutPanel.AdjustWidthsForSpans (System.Int32[,] widths, System.Int32 col, System.Int32 span) [0x00009] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.TableLayoutPanel.GetPreferredSizeCore (System.Drawing.Size proposedSize) [0x002da] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control.GetPreferredSize (System.Drawing.Size proposedSize) [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control.get_PreferredSize () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:get_PreferredSize ()
  at System.Windows.Forms.Layout.DefaultLayout.GetPreferredControlSize (System.Windows.Forms.Control child) [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren (System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls) [0x0002b] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Layout.DefaultLayout.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs args) [0x00013] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x0007c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00013] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x00066] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control.PerformLayout () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:PerformLayout ()
  at RepetierHost.view.RepetierEditor.InitializeComponent () [0x02857] in <140abfb63f614d33aa241d7573b4b568>:0
  at RepetierHost.view.RepetierEditor..ctor () [0x00145] in <140abfb63f614d33aa241d7573b4b568>:0
  at (wrapper remoting-invoke-with-check) RepetierHost.view.RepetierEditor:.ctor ()
  at RepetierHost.Main..ctor () [0x002fb] in <140abfb63f614d33aa241d7573b4b568>:0
  at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
  at RepetierHost.Program.Main (System.String[] args) [0x00015] in <140abfb63f614d33aa241d7573b4b568>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at System.Windows.Forms.TableLayoutPanel.AdjustWidthsForSpans (System.Int32[,] widths, System.Int32 col, System.Int32 span) [0x00009] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.TableLayoutPanel.GetPreferredSizeCore (System.Drawing.Size proposedSize) [0x002da] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control.GetPreferredSize (System.Drawing.Size proposedSize) [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control.get_PreferredSize () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:get_PreferredSize ()
  at System.Windows.Forms.Layout.DefaultLayout.GetPreferredControlSize (System.Windows.Forms.Control child) [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Layout.DefaultLayout.LayoutDockedChildren (System.Windows.Forms.Control parent, System.Windows.Forms.Control[] controls) [0x0002b] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Layout.DefaultLayout.Layout (System.Object container, System.Windows.Forms.LayoutEventArgs args) [0x00013] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x0007c] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.ScrollableControl.OnLayout (System.Windows.Forms.LayoutEventArgs levent) [0x00013] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control.PerformLayout (System.Windows.Forms.Control affectedControl, System.String affectedProperty) [0x00066] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at System.Windows.Forms.Control.PerformLayout () [0x00000] in <d5b72d15d4f7424c8a1538e3f19ec2e3>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:PerformLayout ()
  at RepetierHost.view.RepetierEditor.InitializeComponent () [0x02857] in <140abfb63f614d33aa241d7573b4b568>:0
  at RepetierHost.view.RepetierEditor..ctor () [0x00145] in <140abfb63f614d33aa241d7573b4b568>:0
  at (wrapper remoting-invoke-with-check) RepetierHost.view.RepetierEditor:.ctor ()
  at RepetierHost.Main..ctor () [0x002fb] in <140abfb63f614d33aa241d7573b4b568>:0
  at (wrapper remoting-invoke-with-check) RepetierHost.Main:.ctor ()
  at RepetierHost.Program.Main (System.String[] args) [0x00015] in <140abfb63f614d33aa241d7573b4b568>:0

I moved $HOME/.mono away so that a new .mono is created but repetierHost 2.2.3 still crashes with the above error.
The older version 2.1.6 just starts fine with the old .mono directory.


Comments

  • Are you using the appimage or tar version?
    Does it stop immediately or when you open a specific tab/form? Which? Looks like it happens with opening the g-code editor but I could open it on app image on Mint 19 which is nearly same age.
  • I am getting the same error with Repetier-Host 2.2.4 using using tar version on Ubuntu 18.04  32bit.
    appimage is only for 64bit linux.
    Unfortunately there is no higher Ubuntu release for 32bit computers and my CPU (Intel Core 2 Duo) does not work with 64bit OS.

    This error shows in terminal almost immediately after I run the program. Just silhuette of splash image shows up, then it crashes.
    I've tried to delete ~/.mono and subdirectories (at first) without success.
    Version 2.1.6 works fine.
  • That error is inside mono windows forms. Since we changed many windows to use table layout i think it is a result of that combined with incompatibility with original windows winforms. In the app image we bundle mono 5 so that is what it is tested with. What mono version does Ubuntu 18.04 bundle with?

    I see 18.04 is still supported by mono project with native alternative files for mono 6
    https://www.mono-project.com/download/stable/#download-lin

    Maybe that is something fixed, as it was working and starting for 64 bit/mono 5. 32 or 64 bit should not make a difference here as it is same binary.
  • I tried to update mono but I had some issues with unmet dependancies.
    I uninstalled some problematic mono packages and succeeded with "sudo apt dist-upgrade", I then reinstalled Repetier-Host 2.2.4 and I rebooted machine.
    I also updated wine and now everything WORKS.
    Thank you very very much for pointing it out.

Sign In or Register to comment.