Jump to content
Not connected, Your IP: 216.73.217.13
Sign in to follow this  
pralofish101

Eddie crashes on launch

Recommended Posts

Hello all

I have been using the rpm version "eddie-ui_2.24.6_linux_x64_opensuse.rpm" on an update to date version of openSUSE Tumbleweed for a very long (2025?) however after a recent update about 2 weeks ago Eddie always crashes on launch.

When I start eddie-ui from a command line I get the following :
localhost:~ # /usr/bin/eddie-ui
exception inside UnhandledException handler: (null) assembly:mscorlib.dll type:NullReferenceException member:(null)

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.XplatUI' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.X11DesktopColors' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: File must be smaller than 4K
  at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0001d] in <c453bf849bb84e719dbec0475e99db95>:0
  at System.TermInfoDriver..ctor (System.String term) [0x00055] in <c453bf849bb84e719dbec0475e99db95>:0
  at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <c453bf849bb84e719dbec0475e99db95>:0
  at System.ConsoleDriver..cctor () [0x0004d] in <c453bf849bb84e719dbec0475e99db95>:0
   --- End of inner exception stack trace ---
  at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <c453bf849bb84e719dbec0475e99db95>:0
  at System.Console..cctor () [0x0007d] in <c453bf849bb84e719dbec0475e99db95>:0
   --- End of inner exception stack trace ---
  at Eddie.Core.Engine.OnLog (Eddie.Core.LogEntry l) [0x000d6] in <db001781f2c440bda067eef80188f30d>:0
  at Eddie.Forms.Engine.OnLog (Eddie.Core.LogEntry l) [0x00000] in <7f43ecababb74a4e9f031f2a26324cba>:0
  at Eddie.Core.LogsManager.Log (Eddie.Core.LogType type, System.String message, System.Exception ex) [0x00186] in <db001781f2c440bda067eef80188f30d>:0
  at Eddie.Core.LogsManager.LogFatal (System.String message) [0x00000] in <db001781f2c440bda067eef80188f30d>:0
  at Eddie.Forms.UiClient.Init (System.String environmentCommandLine) [0x0005e] in <7f43ecababb74a4e9f031f2a26324cba>:0
  at Eddie.Forms.Linux.Program.Main () [0x000bc] in <60b1ca447033455c98a7e6659cfa3c83>:0
   --- End of inner exception stack trace ---
  at System.Windows.Forms.XplatUIX11..ctor () [0x0007c] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at System.Windows.Forms.XplatUIX11.GetInstance () [0x00019] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at System.Windows.Forms.XplatUI..cctor () [0x000c0] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
   --- End of inner exception stack trace ---
  at System.Windows.Forms.Theme.get_MenuAccessKeysUnderlined () [0x00000] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00005] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at System.Windows.Forms.Control..ctor () [0x000d6] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control..ctor()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)
  at System.Windows.Forms.WindowsFormsSynchronizationContext.get_AutoInstall () [0x00000] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at System.Windows.Forms.Control..ctor () [0x0000d] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at System.Windows.Forms.Form..ctor () [0x00012] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Boolean displayHelpButton) [0x0000c] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox+MessageBoxForm..ctor(System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)
  at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <1ad3b9c5e8484f3cb4aaaf843739b786>:0
  at Eddie.Forms.Linux.Program.Main () [0x000cc] in <60b1ca447033455c98a7e6659cfa3c83>:0


localhost:~ # zypper info eddie-ui
Loading repository data...
Reading installed packages...


Information for package eddie-ui:
---------------------------------
Repository     : @System
Name           : eddie-ui
Version        : 2.24.6-0
Arch           : x86_64
Vendor         :
Installed Size : 51.5 MiB
Installed      : Yes
Status         : up-to-date
Source package : eddie-ui-2.24.6-0.src
Upstream URL   : https://eddie.website
Summary        : Eddie - VPN Tunnel - UI
Description    :
    OpenVPN/WireGuard UI with additional user-friendly features
    Open-Source, GPLv3, Developed by AirVPN


Operating System Information
---------------------------------
Operating System: openSUSE Tumbleweed 20260219
KDE Plasma Version: 6.6.0
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.19.2-1-default (64-bit)
Graphics Platform: X11
Processors: AMD Ryzen AI 9 HX 370 w/ Radeon 890M
Memory: 4.8 GiB of usable RAM
Graphics Processor: llvmpipe
Manufacturer: innotek GmbH
Product Name: VirtualBox
System Version: 1.2

Any and all help or comments are appreciated!
Thanks
Pralofish
 

Share this post


Link to post

Today I encountered the same issue on my system under similar conditions, so I can share what I found in case it helps diagnose it.

From the stack trace, this does not appear to be a straightforward dependency or missing library problem. Although the error mentions libmono-native.so, the failure occurs earlier in the Mono/WinForms initialization chain (System.Console / TermInfo / X11), which usually points to a runtime initialization or environment selection issue rather than a simple missing file.

In my case, Eddie (version 2.25.1 on Gentoo 6.18.18-gentoo-dist-hardened) had been working normally for a long time without a system Mono installation. After installing Mono for another application, Eddie immediately began crashing at startup with a fatal initialization failure. The stack trace consistently pointed to System.Console and then to libmono-native.so, even though the library was present and correctly resolved by the dynamic linker. This initially suggested a broken installation or missing dependency, but neither rebuilding dependencies nor checking linker configuration changed the outcome.

The key factor turned out to be that Eddie appears to dynamically prefer a system Mono runtime when one is available. Once Mono was installed globally, Eddie stopped using its own internal runtime and instead executed against the system Mono version. In my case, this was 6.14, which is not compatible with the runtime expectations of this particular Eddie build. Downgrading Mono to 6.12 did not resolve the issue, which further suggested that the problem is not a specific version regression, but rather a general incompatibility between Eddie and external Mono runtimes in this configuration.

The decisive test was removing the system Mono entirely. After uninstalling it, Eddie immediately reverted to using its bundled runtime again, which appears to be based on Mono 6.8. At that point, the application started normally without any further changes. This indicates that the bundled runtime is functional, but it is only used when no external Mono installation is present.

The failure is likely caused by Eddie’s lack of strict runtime isolation. The presence of a system Mono installation changes its execution path, resulting in the use of an incompatible runtime. The most reliable fix is either to avoid installing system Mono alongside Eddie or to remove it if Eddie is required. 


Regards

Viktor23596

Share this post


Link to post
Posted ... (edited)

I have been getting the same issue for a long time on Tumbleweed. I don't have Mono installed, so that is not the problem.

exception inside UnhandledException handler: (null) assembly:mscorlib.dll type:TypeInitializationException member:(null)

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Console
Driver' threw an exception. ---> System.Exception: File must be smaller than 4K
 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0001d] in <c453bf849bb84e719dbec0475e99db95>:0  
 at System.TermInfoDriver..ctor (System.String term) [0x00055] in <c453bf849bb84e719dbec0475e99db95>:0  
 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in <c453bf849bb84e719dbec0475e99db95>:0  
 at System.ConsoleDriver..cctor () [0x0004d] in <c453bf849bb84e719dbec0475e99db95>:0  
  --- End of inner exception stack trace ---
 at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <c453bf849bb84e719dbec0475e99db95>:0  
 at System.Console..cctor () [0x0007d] in <c453bf849bb84e719dbec0475e99db95>:0  
  --- End of inner exception stack trace ---
 at Eddie.Core.Engine.OnLog (Eddie.Core.LogEntry l) [0x000d6] in <7da263e67ea74b959b79f5cd685dc52c>:0  
 at Eddie.Forms.Engine.OnLog (Eddie.Core.LogEntry l) [0x00000] in <5c7d25aa02c241f585e6b5355103895e>:0  
 at Eddie.Core.LogsManager.Log (Eddie.Core.LogType type, System.String message, System.Exception ex) [0x00186] in <7da263e67ea74b959b79f5cd685dc52c>:0  
 at Eddie.Core.LogsManager.Log (Eddie.Core.LogType type, System.String message) [0x00000] in <7da263e67ea74b959b79f5cd685dc52c>:0  
 at Eddie.Core.Engine.OnUnhandledException (System.String source, System.Exception ex) [0x000b4] in <7da263e67ea74b959b79f5cd685dc52c>:0  
 at Eddie.Forms.UiClient.OnUnhandledException (System.String source, System.Exception ex) [0x00008] in <5c7d25aa02c241f585e6b5355103895e>:0  
 at Eddie.Forms.Linux.Program.CurrentDomain_UnhandledException (System.Object sender, System.UnhandledExceptionEventArgs e) [0x00013] in <a3d8b5cae7264e0ba9ef71adf8b0378f>:0



 

Edited ... by Acitta

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image
Sign in to follow this  

×
×
  • Create New...