Symptom:
mono /opt/smartscope/SmartScope.exe
crashes under opensuse 15.1 beta,
It runs fine on previous versions 15.0, 42.2 and older.
Tested under an updated system (1), opensuse 42.2 to 15.1 beta,
as well as on a freshly installed 15.1 beta.
regards, Alfons
Log from system under test (1):
itx:~> uname -a
Linux itx 4.12.14-lp151.24-default #1 SMP Wed Apr 10 14:16:27 UTC 2019 (01d1964) x86_64 x86_64 x86_64 GNU/Linux
rpm Packages in use:
mono-extras-5.10.1-lp151.2.57.x86_64
mono-core-5.10.1-lp151.2.57.x86_64
mono-web-5.10.1-lp151.2.57.x86_64
mono-data-sqlite-5.10.1-lp151.2.57.x86_64
mono-winfxcore-5.10.1-lp151.2.57.x86_64
mono-wcf-5.10.1-lp151.2.57.x86_64
mono-data-5.10.1-lp151.2.57.x86_64
mono-winforms-5.10.1-lp151.2.57.x86_64
mono-basic-4.6-lp151.4.53.noarch
mono-mvc-5.10.1-lp151.2.57.x86_64
labnation-smartscope-0.15.1.0-2.noarch
–Run program as user, non-root:
(log as root at the bottom)
itx:~> mono /opt/smartscope/SmartScope.exe
*** Error in `mono’: free(): invalid pointer: 0x0000557c5c488d10 ***
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) object.__icall_wrapper_mono_marshal_free (intptr) [0x00000] in <be6fee20a4cf451a8bc9b85c19fe2133>:0
at (wrapper managed-to-native) OpenTK.Platform.X11.Functions.XAllocNamedColor (intptr,intptr,string,OpenTK.Platform.X11.XColor&,OpenTK.Platform.X11.XColor&) [0x00036] in <435a99b5419b4079af053e39255410c8>:0
at OpenTK.Platform.X11.X11GLNative.CreateEmptyCursor (OpenTK.Platform.X11.X11WindowInfo) [0x0002c] in <435a99b5419b4079af053e39255410c8>:0
at OpenTK.Platform.X11.X11GLNative…ctor (int,int,int,int,string,OpenTK.Graphics.GraphicsMode,OpenTK.GameWindowFlags,OpenTK.DisplayDevice) [0x0037e] in <435a99b5419b4079af053e39255410c8>:0
at OpenTK.Platform.X11.X11Factory.CreateNativeWindow (int,int,int,int,string,OpenTK.Graphics.GraphicsMode,OpenTK.GameWindowFlags,OpenTK.DisplayDevice) [0x00000] in <435a99b5419b4079af053e39255410c8>:0
at OpenTK.NativeWindow…ctor (int,int,int,int,string,OpenTK.GameWindowFlags,OpenTK.Graphics.GraphicsMode,OpenTK.DisplayDevice) [0x00337] in <435a99b5419b4079af053e39255410c8>:0
at OpenTK.NativeWindow…ctor (int,int,string,OpenTK.GameWindowFlags,OpenTK.Graphics.GraphicsMode,OpenTK.DisplayDevice) [0x00056] in <435a99b5419b4079af053e39255410c8>:0
at OpenTK.NativeWindow…ctor () [0x0001b] in <435a99b5419b4079af053e39255410c8>:0
at Microsoft.Xna.Framework.OpenTKGameWindow.Initialize (Microsoft.Xna.Framework.Game) [0x0000d] in <27bc458e33f74936b1d86a4a0b81b972>:0
…cut off further output here…
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
–run as root:
itx:~> sudo mono /opt/smartscope/SmartScope.exe
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for ‘OpenTK.DisplayDevice’ threw an exception. —> System.DllNotFoundException: gbm
at (wrapper managed-to-native) OpenTK.Platform.Linux.Gbm.CreateDevice(int)
at OpenTK.Platform.Linux.LinuxFactory.SetupDisplay (System.String gpu, System.IntPtr& gbm_device, System.IntPtr& egl_display) [0x00023] in <435a99b5419b4079af053e39255410c8>:0
at OpenTK.Platform.Linux.LinuxFactory.CreateDisplay (System.IntPtr& gbm_device, System.IntPtr& egl_display) [0x0003f] in <435a99b5419b4079af053e39255410c8>:0
at OpenTK.Platform.Linux.LinuxFactory.get_gpu_fd () [0x00013] in <435a99b5419b4079af053e39255410c8>:0
at OpenTK.Platform.Linux.LinuxFactory.CreateDisplayDeviceDriver () [0x00000] in <435a99b5419b4079af053e39255410c8>:0
at OpenTK.DisplayDevice…cctor () [0x0000f] in <435a99b5419b4079af053e39255410c8>:0
— End of inner exception stack trace —
at OpenTK.NativeWindow…ctor () [0x00016] in <435a99b5419b4079af053e39255410c8>:0
at Microsoft.Xna.Framework.OpenTKGameWindow.Initialize (Microsoft.Xna.Framework.Game game) [0x0000d] in <27bc458e33f74936b1d86a4a0b81b972>:0
at Microsoft.Xna.Framework.OpenTKGameWindow…ctor (Microsoft.Xna.Framework.Game game) [0x00006] in <27bc458e33f74936b1d86a4a0b81b972>:0
at Microsoft.Xna.Framework.OpenTKGamePlatform…ctor (Microsoft.Xna.Framework.Game game) [0x0002c] in <27bc458e33f74936b1d86a4a0b81b972>:0
at Microsoft.Xna.Framework.GamePlatform.PlatformCreate (Microsoft.Xna.Framework.Game game) [0x00000] in <27bc458e33f74936b1d86a4a0b81b972>:0
at Microsoft.Xna.Framework.Game…ctor () [0x00213] in <27bc458e33f74936b1d86a4a0b81b972>:0
at ESuite.SmartScopeGui…ctor () [0x00033] in <e33184b950894fbfb80d9fa113d51ea9>:0
at ESuite.Program.Main () [0x00016] in <e33184b950894fbfb80d9fa113d51ea9>:0