[MONO] Linux version crash on start - FontFamilyNotFound - Last version working: 0.99.6671 - Messages
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
followed by lines of what I assume are functions and memory locations where the error is thrown.
Build 6671 is still working for me, so using that in the meantime.
Any further information needed can be supplied, thanks in advance for any and all help with this.
Thank you for reporting the bug
WroteAny further information needed can be supplied, thanks in advance for any and all help with this.
The stack trace would be really useful

I can reproduce something similar in Linux Mint, it's the same issue?
mono SMathStudio_Desktop.exe
- [AppDir] SpecialFunctions 1.12.6839.38235 (9 ms.)
- [AppDir] HTMLFileType 1.14.6839.38235 (3 ms.)
- [AppDir] ImageFileType 1.11.6839.38235 (0 ms.)
- [AppDir] PictureRegion 1.10.6839.38235 (1 ms.)
- [AppDir] PlotRegion 1.11.6839.38235 (9 ms.)
- [AppDir] SMathFileType 1.11.6839.38235 (0 ms.)
- [AppDir] StandardToolboxButtons 1.1.6839.38235 (0 ms.)
- [AppDir] TextRegion 1.11.6839.38235 (0 ms.)
- [AppDir] SMath Viewer Files Plugin 1.1.6839.38249 (0 ms.)
- [AppDir] XMCDFileType 1.12.6839.38235 (1 ms.)
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipCreateFont (intptr,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,intptr&
<0xffffffff>
at System.Drawing.Font..ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool) <0x000af>
at System.Drawing.Font..ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle) <0x00047>
at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle) <0xffffffff>
at SMath.UI.DesktopGraphics.MeasureString (string,SMath.Drawing.FontInfo,single,SMath.Drawing.StringOptions) <0x000cf>
at SMath.Controls.PaintContext.MeasureString (string,SMath.Drawing.FontInfo) <0x0004f>
at SMath.Controls.PaintContext.MeasureEquationString (string,single,SMath.Drawing.FontfaceStyle,SMath.Manager.TermType) <0x00097>
at SMath.Controls.PaintContext.MeasureEquationString (string,single,SMath.Manager.TermType) <0x0003f>
at SMath.Controls.PaintContext.GetSymbolByOperator (string,string&,System.Drawing.SizeF&
<0x00f5f>
at SMath.Controls.MathPainter.PrepareForPaint (SMath.Controls.MathRegion,SMath.Controls.PaintContext,SMath.Manager.Term[],SMath.Controls.MathAnswer,SMath.Manager.Term[],bool,int,SMath.Drawing.FontInfo,int&
<0x00c9f>
at SMath.Controls.MathRegion.Prepare (SMath.Drawing.IGraphics,SMath.Manager.PaintEventOptions) <0x002d7>
at SMath.Controls.MathRegion.PrePainter () <0x00017>
at SMath.Controls.RegionBase.InitLayout () <0x002a9>
at SMath.Controls.Worksheet.ElementCreater (SMath.Controls.RegionBase,bool,bool,bool) <0x0027d>
at SMath.Controls.Worksheet.CreateRegions (System.Collections.Generic.IEnumerable`1<SMath.Controls.RegionBase>,bool,SMath.Controls.LocationCorrectionMode) <0x0064f>
at ...ctor (System.Collections.Generic.List`1<string>
<0x01e4b>
at (wrapper remoting-invoke-with-check) ...ctor (System.Collections.Generic.List`1<string>
<0xffffffff>
at SMath.UI.Desktop.Program. (string[]) <0x0024b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono() [0x4b73d8]
mono() [0x50f13b]
mono() [0x423d22]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10330) [0x7fa34a779330]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1b2ed) [0x7fa34552f2ed]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1ba29) [0x7fa34552fa29]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1c798) [0x7fa345530798]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1c980) [0x7fa345530980]
/usr/lib/libgdiplus.so.0(GdipCreateFont+0x62) [0x7fa346b562c2]
[0x415b2943]
WroteHello [userlink]Eric Myers[/userlink],
Thank you for reporting the bug
The stack trace would be really useful
I can reproduce something similar in Linux Mint, it's the same issue?
Yes.
In my struggles to get it up and running since my original post, I installed some fonts. I see that my error messages have now changed to the same as what you get:
(cli:32108): Gtk-WARNING **: 08:04:17.818: Unable to locate theme engine in module_path: "adwaita",
(cli:32108): Gtk-WARNING **: 08:04:17.824: Unable to locate theme engine in module_path: "adwaita",
- [AppDir] SpecialFunctions 1.12.6839.38235 (4 ms.)
- [AppDir] HTMLFileType 1.14.6839.38235 (1 ms.)
- [AppDir] ImageFileType 1.11.6839.38235 (0 ms.)
- [AppDir] PictureRegion 1.10.6839.38235 (1 ms.)
- [AppDir] PlotRegion 1.11.6839.38235 (4 ms.)
- [AppDir] SMathFileType 1.11.6839.38235 (0 ms.)
- [AppDir] StandardToolboxButtons 1.1.6839.38235 (0 ms.)
- [AppDir] TextRegion 1.11.6839.38235 (0 ms.)
- [AppDir] SMath Viewer Files Plugin 1.1.6839.38249 (0 ms.)
- [AppDir] XMCDFileType 1.12.6839.38235 (0 ms.)
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipCreateFont (intptr,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,intptr&
<0x00087>
at System.Drawing.Font..ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool) <0x000b7>
at System.Drawing.Font..ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle) <0x00047>
at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle) <0x0007b>
at SMath.UI.DesktopGraphics.MeasureString (string,SMath.Drawing.FontInfo,single,SMath.Drawing.StringOptions) <0x000d7>
at SMath.Controls.PaintContext.MeasureString (string,SMath.Drawing.FontInfo) <0x00056>
at SMath.Controls.PaintContext.MeasureEquationString (string,single,SMath.Drawing.FontfaceStyle,SMath.Manager.TermType) <0x000a7>
at SMath.Controls.PaintContext.MeasureEquationString (string,single,SMath.Manager.TermType) <0x0003f>
at SMath.Controls.PaintContext.GetSymbolByOperator (string,string&,System.Drawing.SizeF&
<0x01103>
at SMath.Controls.MathPainter.PrepareForPaint (SMath.Controls.MathRegion,SMath.Controls.PaintContext,SMath.Manager.Term[],SMath.Controls.MathAnswer,SMath.Manager.Term[],bool,int,SMath.Drawing.FontInfo,int&
<0x00dcb>
at SMath.Controls.MathRegion.Prepare (SMath.Drawing.IGraphics,SMath.Manager.PaintEventOptions) <0x002fb>
at SMath.Controls.MathRegion.PrePainter () <0x00013>
at SMath.Controls.RegionBase.InitLayout () <0x002b9>
at SMath.Controls.Worksheet.ElementCreater (SMath.Controls.RegionBase,bool,bool,bool) <0x002a9>
at SMath.Controls.Worksheet.CreateRegions (System.Collections.Generic.IEnumerable`1<SMath.Controls.RegionBase>,bool,SMath.Controls.LocationCorrectionMode) <0x006a7>
at ...ctor (System.Collections.Generic.List`1<string>
<0x0208b>
at (wrapper remoting-invoke-with-check) ...ctor (System.Collections.Generic.List`1<string>
<0x00043>
at SMath.UI.Desktop.Program. (string[]) <0x0026b>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0x000d1>
Native stacktrace:
/usr/bin/cli(+0xc8514) [0x55af89ff9514]
/usr/bin/cli(+0x1217ce) [0x55af8a0527ce]
/usr/bin/cli(+0x3d7e3) [0x55af89f6e7e3]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12890) [0x7fe735f52890]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1ceed) [0x7fe7300ebeed]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1d092) [0x7fe7300ec092]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(FcPatternGetString+0x44) [0x7fe7300ed844]
/usr/lib/libgdiplus.so.0(GdipCreateFont+0x59) [0x7fe73176e2d9]
[0x41c3dd78]
Debug info from gdb:
[New LWP 32110]
[New LWP 32111]
[New LWP 32114]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fe735f5223a in __waitpid (pid=32117, stat_loc=0x7fe7369ff27c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
30 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
Id Target Id Frame
* 1 Thread 0x7fe736ae1780 (LWP 32108) "Main" 0x00007fe735f5223a in __waitpid (pid=32117, stat_loc=0x7fe7369ff27c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
2 Thread 0x7fe734fff700 (LWP 32110) "SGen worker" 0x00007fe735f4d9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55af8a4eca08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
3 Thread 0x7fe735658700 (LWP 32111) "Finalizer" 0x00007fe735f506d6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x55af8a4dd640) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
4 Thread 0x7fe725f20700 (LWP 32114) "Main" 0x00007fe735a4bbf9 in __GI___poll (fds=0x7fe7350b5440, nfds=2, timeout=15) at ../sysdeps/unix/sysv/linux/poll.c:29
Thread 4 (Thread 0x7fe725f20700 (LWP 32114)):
#0 0x00007fe735a4bbf9 in __GI___poll (fds=0x7fe7350b5440, nfds=2, timeout=15) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x0000000041c7ed86 in ()
#2 0x0000000000000002 in ()
#3 0x00007fe725f1ea80 in ()
#4 0x00007fe7350b5420 in ()
#5 0x00007fe71da8c220 in ()
#6 0x0000000000000002 in ()
#7 0x00007fe725f1f6a0 in ()
#8 0x00007fe720001be0 in ()
#9 0x00007fe725f1ea80 in ()
#10 0x00007fe725f1ea80 in ()
#11 0x00007fe725f1dfd0 in ()
#12 0x00007fe7350b5440 in ()
#13 0x00007fe725f10001 in ()
#14 0x00007fe725f1ea80 in ()
#15 0x0000000041c7dc00 in ()
#16 0x00007fe7352684d8 in ()
#17 0x00007fe725f1ea80 in ()
#18 0x00007fe73526fd38 in ()
#19 0x00007fe7350058a8 in ()
#20 0x00007fe73526fd38 in ()
#21 0x00007fe732e2e90b in System_Threading_Monitor_Enter_object_bool_ () at /usr/lib/mono/aot-cache/amd64/mscorlib.dll.so
#22 0x0000000041c6a3a4 in ()
#23 0x00007fe700000013 in ()
#24 0x00000000000003e2 in ()
#25 0x0000000000000000 in ()
Thread 3 (Thread 0x7fe735658700 (LWP 32111)):
#0 0x00007fe735f506d6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x55af8a4dd640) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1 0x00007fe735f506d6 in do_futex_wait (sem=sem@entry=0x55af8a4dd640, abstime=0x0) at sem_waitcommon.c:111
#2 0x00007fe735f507c8 in __new_sem_wait_slow (sem=0x55af8a4dd640, abstime=0x0) at sem_waitcommon.c:181
#3 0x000055af8a115dc9 in ()
#4 0x000055af8a0f3be1 in ()
#5 0x000055af8a1b314a in ()
#6 0x00007fe735f476db in start_thread (arg=0x7fe735658700) at pthread_create.c:463
#7 0x00007fe735a5888f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 2 (Thread 0x7fe734fff700 (LWP 32110)):
#0 0x00007fe735f4d9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55af8a4eca08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1 0x00007fe735f4d9f3 in __pthread_cond_wait_common (abstime=0x0, mutex=0x55af8a4eca20, cond=0x55af8a4ec9e0) at pthread_cond_wait.c:502
#2 0x00007fe735f4d9f3 in __pthread_cond_wait (cond=0x55af8a4ec9e0, mutex=0x55af8a4eca20) at pthread_cond_wait.c:655
#3 0x000055af8a181863 in ()
#4 0x00007fe735f476db in start_thread (arg=0x7fe734fff700) at pthread_create.c:463
#5 0x00007fe735a5888f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
Thread 1 (Thread 0x7fe736ae1780 (LWP 32108)):
#0 0x00007fe735f5223a in __waitpid (pid=32117, stat_loc=0x7fe7369ff27c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1 0x000055af89ff95f0 in ()
#2 0x000055af8a0527ce in ()
#3 0x000055af89f6e7e3 in ()
#4 0x00007fe735f52890 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
#5 0x00007fe7300ebeed in () at /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#6 0x00007fe7300ec092 in () at /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#7 0x00007fe7300ed844 in FcPatternGetString () at /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#8 0x00007fe73176e2d9 in GdipCreateFont () at /usr/lib/libgdiplus.so.0
#9 0x0000000041c3dd78 in ()
#10 0x00007fe71d60e1d8 in ()
#11 0x0000000000000000 in ()
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted
Linux Mint 18.2 Sonya 32-bit, and
openSuse 13.2 (Harlequin) 64 bit
under Mint 6670 starts up, but loading samples (Newton, PlanetarGear) results first in a X11 error and then in a crash:
jro@jro19 ~/Programs/SMathMono_6670 $ mono SMathStudio_Desktop.exe
- [AppDir] Special Functions 1.11.6670.901 (8 ms.)
- [AppDir] HTML Export 1.13.6670.901 (3 ms.)
- [AppDir] Export to image 1.10.6670.901 (2 ms.)
- [AppDir] Picture Region 1.10.6670.901 (4 ms.)
- [AppDir] Plot Region 1.10.6670.902 (8 ms.)
- [AppDir] SMath Studio Files Plugin 1.10.6670.901 (2 ms.)
- [AppDir] Standard Toolbox Buttons 1.1.6670.902 (2 ms.)
- [AppDir] Text Region 1.10.6670.901 (2 ms.)
- [AppDir] SMath Viewer Files Plugin 1.1.6670.902 (2 ms.)
- [AppDir] XMCD Files Plugin 1.12.6670.901 (3 ms.)
X11 Error encountered:
Error: BadMatch (invalid parameter attributes)
Request: 12 (0)
Resource ID: 0x5C00088
Serial: 2582
Hwnd: Hwnd, Mapped:True ClientWindow:0x5C00089, WholeWindow:0x5C00088, Zombie=False, Parent:[<null>]
Control: System.Windows.Forms.Button, Text: at System.Environment.get_StackTrace () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.HandleError (IntPtr display, System.Windows.Forms.XErrorEvent& error_event) [0x00000] in <filename unknown>:0
at System.Windows.Forms.X11Keyboard.XCreateIC (IntPtr , System.String , XIMProperties , System.String , IntPtr , System.String , IntPtr , IntPtr ) [0x00000] in <filename unknown>:0
at System.Windows.Forms.X11Keyboard.CreateXic (IntPtr window, IntPtr xim) [0x00000] in <filename unknown>:0
at System.Windows.Forms.X11Keyboard.CreateXicForWindow (IntPtr window) [0x00000] in <filename unknown>:0
at System.Windows.Forms.X11Keyboard.FocusIn (IntPtr window) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.SetFocus (IntPtr handle) [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI.SetFocus (IntPtr handle) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ContainerControl.SendControlFocus (System.Windows.Forms.Control c) [0x00000] in <filename unknown>:0
at System.Windows.Forms.MdiClient.ActivateChild (System.Windows.Forms.Form form) [0x00000] in <filename unknown>:0
at System.Windows.Forms.MdiWindowManager.FormVisibleChangedHandler (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.OnVisibleChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ScrollableControl.OnVisibleChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Form.OnVisibleChanged (System.EventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in <filename unknown>:0
at .. (System.String[] ) [0x00000] in <filename unknown>:0
Unhandled Exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for '.' threw an exception. ---> System.DllNotFoundException: ole32.dll
at (wrapper managed-to-native) System.__ComObject:CoCreateInstance (System.Guid,intptr,uint,System.Guid,intptr&
at System.__ComObject.Initialize (System.Type t) <0xb15482f0 + 0x00107> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.__ComObject:Initialize (System.Type)
at Mono.Interop.ComInteropProxy.CreateProxy (System.Type t) <0xb1547f08 + 0x00047> in <filename unknown>:0
at System.Runtime.Remoting.RemotingServices.CreateClientProxyForComInterop (System.Type type) <0xb1547ed8 + 0x00013> in <filename unknown>:0
at System.Runtime.Remoting.Activation.ActivationServices.CreateProxyForType (System.Type type) <0xb1547a10 + 0x00087> in <filename unknown>:0
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_object_new_specific (intptr)
at ...cctor () <0xb1547890 + 0x00017> in <filename unknown>:0
--- End of inner exception stack trace ---
at .. (Boolean ) <0xb15475b0 + 0x0006b> in <filename unknown>:0
at .. (Boolean ) <0xb1e11588 + 0x00047> in <filename unknown>:0
at .. (. , SMath.Control.WorksheetStatus , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean ) <0xb1e109a8 + 0x00747> in <filename unknown>:0
at .. (. , SMath.Control.WorksheetStatus ) <0xb1e104b8 + 0x00447> in <filename unknown>:0
at .. (SMath.Control.Worksheet , SMath.Control.WorksheetStatus ) <0xb1e10258 + 0x00123> in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0xb4fe6878 + 0x0008f> in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.AsyncMethodResult.EndInvoke () <0xb2463e70 + 0x000b3> in <filename unknown>:0
at System.Windows.Forms.Control.EndInvoke (IAsyncResult asyncResult) <0xb2463c00 + 0x00033> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:EndInvoke (System.IAsyncResult)
at System.Windows.Forms.Control.Invoke (System.Delegate method, System.Object[] args) <0xb2462a38 + 0x0006f> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:Invoke (System.Delegate,object[])
at .. (SMath.Control.Worksheet , SMath.Control.WorksheetStatus ) <0xb1e10258 + 0x000f3> in <filename unknown>:0
at SMath.Control.Worksheet.PageStatusManager (Boolean forced) <0xb1fbaec8 + 0x00145> in <filename unknown>:0
at SMath.Control.WorksheetControl.set_Status (WorksheetEditStatus value) <0xb1fbae88 + 0x00035> in <filename unknown>:0
at SMath.Control.Worksheet.CreateRegions (IEnumerable`1 newRegions, Boolean showProgress, LocationCorrectionMode locationCorrection) <0xb1fba430 + 0x001f7> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) SMath.Control.Worksheet:CreateRegions (System.Collections.Generic.IEnumerable`1<SMath.Control.RegionBase>,bool,SMath.Control.LocationCorrectionMode)
at SMath.Control.DataFiles+OpenContext.Open (System.Object arg) <0xb1546c10 + 0x00257> in <filename unknown>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) <0xb417ea58 + 0x0008b> in <filename unknown>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) <0xb417e6f8 + 0x001b2> in <filename unknown>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) <0xb417e6c0 + 0x00027> in <filename unknown>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) <0xb417e608 + 0x0004f> in <filename unknown>:0
at System.Threading.ThreadHelper.ThreadStart (System.Object obj) <0xb1546ab0 + 0x0004f> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for '.' threw an exception. ---> System.DllNotFoundException: ole32.dll
at (wrapper managed-to-native) System.__ComObject:CoCreateInstance (System.Guid,intptr,uint,System.Guid,intptr&
at System.__ComObject.Initialize (System.Type t) <0xb15482f0 + 0x00107> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.__ComObject:Initialize (System.Type)
at Mono.Interop.ComInteropProxy.CreateProxy (System.Type t) <0xb1547f08 + 0x00047> in <filename unknown>:0
at System.Runtime.Remoting.RemotingServices.CreateClientProxyForComInterop (System.Type type) <0xb1547ed8 + 0x00013> in <filename unknown>:0
at System.Runtime.Remoting.Activation.ActivationServices.CreateProxyForType (System.Type type) <0xb1547a10 + 0x00087> in <filename unknown>:0
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_object_new_specific (intptr)
at ...cctor () <0xb1547890 + 0x00017> in <filename unknown>:0
--- End of inner exception stack trace ---
at .. (Boolean ) <0xb15475b0 + 0x0006b> in <filename unknown>:0
at .. (Boolean ) <0xb1e11588 + 0x00047> in <filename unknown>:0
at .. (. , SMath.Control.WorksheetStatus , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean , Boolean ) <0xb1e109a8 + 0x00747> in <filename unknown>:0
at .. (. , SMath.Control.WorksheetStatus ) <0xb1e104b8 + 0x00447> in <filename unknown>:0
at .. (SMath.Control.Worksheet , SMath.Control.WorksheetStatus ) <0xb1e10258 + 0x00123> in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0xb4fe6878 + 0x0008f> in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.AsyncMethodResult.EndInvoke () <0xb2463e70 + 0x000b3> in <filename unknown>:0
at System.Windows.Forms.Control.EndInvoke (IAsyncResult asyncResult) <0xb2463c00 + 0x00033> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:EndInvoke (System.IAsyncResult)
at System.Windows.Forms.Control.Invoke (System.Delegate method, System.Object[] args) <0xb2462a38 + 0x0006f> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:Invoke (System.Delegate,object[])
at .. (SMath.Control.Worksheet , SMath.Control.WorksheetStatus ) <0xb1e10258 + 0x000f3> in <filename unknown>:0
at SMath.Control.Worksheet.PageStatusManager (Boolean forced) <0xb1fbaec8 + 0x00145> in <filename unknown>:0
at SMath.Control.WorksheetControl.set_Status (WorksheetEditStatus value) <0xb1fbae88 + 0x00035> in <filename unknown>:0
at SMath.Control.Worksheet.CreateRegions (IEnumerable`1 newRegions, Boolean showProgress, LocationCorrectionMode locationCorrection) <0xb1fba430 + 0x001f7> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) SMath.Control.Worksheet:CreateRegions (System.Collections.Generic.IEnumerable`1<SMath.Control.RegionBase>,bool,SMath.Control.LocationCorrectionMode)
at SMath.Control.DataFiles+OpenContext.Open (System.Object arg) <0xb1546c10 + 0x00257> in <filename unknown>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) <0xb417ea58 + 0x0008b> in <filename unknown>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) <0xb417e6f8 + 0x001b2> in <filename unknown>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, Boolean preserveSyncCtx) <0xb417e6c0 + 0x00027> in <filename unknown>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) <0xb417e608 + 0x0004f> in <filename unknown>:0
at System.Threading.ThreadHelper.ThreadStart (System.Object obj) <0xb1546ab0 + 0x0004f> in <filename unknown>:0
jro@jro19 ~/Programs/SMathMono_6670 $
Wrotecurrently I amm using build 6622. Newer builds give a stack trace as above under
Linux Mint 18.2 Sonya 32-bit, and
openSuse 13.2 (Harlequin) 64 bit
under Mint 6670 starts up, but loading samples (Newton, PlanetarGear) results first in a X11 error and then in a crash:jro@jro19 ~/Programs/SMathMono_6670 $ mono SMathStudio_Desktop.exe - [AppDir] Special Functions 1.11.6670.901 (8 ms.) - [AppDir] HTML Export 1.13.6670.901 (3 ms.) - [AppDir] Export to image 1.10.6670.901 (2 ms.) - [AppDir] Picture Region 1.10.6670.901 (4 ms.) - [AppDir] Plot Region 1.10.6670.902 (8 ms.) - [AppDir] SMath Studio Files Plugin 1.10.6670.901 (2 ms.) - [AppDir] Standard Toolbox Buttons 1.1.6670.902 (2 ms.) - [AppDir] Text Region 1.10.6670.901 (2 ms.) - [AppDir] SMath Viewer Files Plugin 1.1.6670.902 (2 ms.) - [AppDir] XMCD Files Plugin 1.12.6670.901 (3 ms.) X11 Error encountered: Error: BadMatch (invalid parameter attributes) Request: 12 (0) Resource ID: 0x5C00088 Serial: 2582 Hwnd: Hwnd, Mapped:True ClientWindow:0x5C00089, WholeWindow:0x5C00088, Zombie=False, Parent:[<null>] Control: System.Windows.Forms.Button, Text: at System.Environment.get_StackTrace () [0x00000] in <filename unknown>:0 (snip)
Thanks for looking. It looks to me that the stack trace you get from 6670 isn't related to the font errors. Build 6671 seems to work fine for me so maybe it's an issue that was resolved in the later builds.
When you say that builds newer than 6622 give a stack trace as above for you, is it the case that you've tried builds 6671 and 6839, and both are giving you the GDIPlus font error?
6858 AND 6839 on Mint
No X11 error on startup, but GDI+ error
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 6858 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
jro@jro19 ~/Programs/SMathMono_6858 $ mono SMathStudio_Desktop.exe
- [AppDir] SpecialFunctions 1.12.6858.3232 (6 ms.)
- [AppDir] HTMLFileType 1.14.6858.3232 (3 ms.)
- [AppDir] ImageFileType 1.11.6858.3232 (1 ms.)
- [AppDir] PictureRegion 1.10.6858.3232 (3 ms.)
- [AppDir] PlotRegion 1.11.6858.3232 (4 ms.)
- [AppDir] SMathFileType 1.11.6858.3232 (0 ms.)
- [AppDir] StandardToolboxButtons 1.1.6858.3232 (1 ms.)
- [AppDir] TextRegion 1.11.6858.3232 (1 ms.)
- [AppDir] SMath Viewer Files Plugin 1.1.6858.3242 (2 ms.)
- [AppDir] XMCDFileType 1.12.6858.3232 (1 ms.)
Unhandled Exception:
System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
at System.Drawing.GDIPlus.CheckStatus (Status status) <0xb491ac90 + 0x007ef> in <filename unknown>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) <0xb298d528 + 0x0009f> in <filename unknown>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, Single emSize, FontStyle style) <0xb298d4d8 + 0x0003f> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle)
at SMath.UI.DesktopGraphics.MeasureString (System.String text, SMath.Drawing.FontInfo font, Single width, SMath.Drawing.StringOptions format) <0xb275da00 + 0x00097> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureString (System.String text, SMath.Drawing.FontInfo font) <0xb275d970 + 0x00041> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, Single size, FontfaceStyle style, TermType type) <0xb276bc88 + 0x00087> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, Single size, TermType type) <0xb276bc28 + 0x00037> in <filename unknown>:0
at SMath.Controls.PaintContext.GetSymbolByOperator (System.String oper, System.String& text, System.Drawing.SizeF& size) <0xb276a3d8 + 0x00c27> in <filename unknown>:0
at SMath.Controls.MathPainter.PrepareForPaint (SMath.Controls.MathRegion region, SMath.Controls.PaintContext ctx, SMath.Manager.Term[] input, SMath.Controls.MathAnswer answer, SMath.Manager.Term[] units, Boolean inputDataVisibility, Int32 currentTermIdx, SMath.Drawing.FontInfo font, System.Int32& middleLine) <0xb274e000 + 0x00c2b> in <filename unknown>:0
at SMath.Controls.MathRegion.Prepare (IGraphics g, SMath.Manager.PaintEventOptions e) <0xb2768218 + 0x00243> in <filename unknown>:0
at SMath.Controls.MathRegion.PrePainter () <0xb27681e0 + 0x00023> in <filename unknown>:0
at SMath.Controls.RegionBase.InitLayout () <0xb2767f90 + 0x0022c> in <filename unknown>:0
at SMath.Controls.Worksheet.ElementCreater (SMath.Controls.RegionBase region, System.Collections.Generic.List`1 regions, Boolean makeCurrent, Boolean batchProcessing, Boolean invalidateRequired) <0xb27656b8 + 0x001e6> in <filename unknown>:0
at SMath.Controls.Worksheet.CreateRegions (SMath.Controls.RegionsEnumerator enumerator, System.Collections.Generic.List`1 regions, Boolean showProgress, LocationCorrectionMode locationCorrection) <0xb2764128 + 0x00517> in <filename unknown>:0
at SMath.Controls.Worksheet.CreateRegions (IEnumerable`1 newRegions, Boolean showProgress, LocationCorrectionMode locationCorrection) <0xb2763ae0 + 0x000af> in <filename unknown>:0
at ...ctor (System.Collections.Generic.List`1 ) <0xb2be8fb8 + 0x01bbb> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) .:.ctor (System.Collections.Generic.List`1<string>
at SMath.UI.Desktop.Program. (System.String[] ) <0xb78dd170 + 0x001e3> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
at System.Drawing.GDIPlus.CheckStatus (Status status) <0xb491ac90 + 0x007ef> in <filename unknown>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) <0xb298d528 + 0x0009f> in <filename unknown>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, Single emSize, FontStyle style) <0xb298d4d8 + 0x0003f> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle)
at SMath.UI.DesktopGraphics.MeasureString (System.String text, SMath.Drawing.FontInfo font, Single width, SMath.Drawing.StringOptions format) <0xb275da00 + 0x00097> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureString (System.String text, SMath.Drawing.FontInfo font) <0xb275d970 + 0x00041> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, Single size, FontfaceStyle style, TermType type) <0xb276bc88 + 0x00087> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, Single size, TermType type) <0xb276bc28 + 0x00037> in <filename unknown>:0
at SMath.Controls.PaintContext.GetSymbolByOperator (System.String oper, System.String& text, System.Drawing.SizeF& size) <0xb276a3d8 + 0x00c27> in <filename unknown>:0
at SMath.Controls.MathPainter.PrepareForPaint (SMath.Controls.MathRegion region, SMath.Controls.PaintContext ctx, SMath.Manager.Term[] input, SMath.Controls.MathAnswer answer, SMath.Manager.Term[] units, Boolean inputDataVisibility, Int32 currentTermIdx, SMath.Drawing.FontInfo font, System.Int32& middleLine) <0xb274e000 + 0x00c2b> in <filename unknown>:0
at SMath.Controls.MathRegion.Prepare (IGraphics g, SMath.Manager.PaintEventOptions e) <0xb2768218 + 0x00243> in <filename unknown>:0
at SMath.Controls.MathRegion.PrePainter () <0xb27681e0 + 0x00023> in <filename unknown>:0
at SMath.Controls.RegionBase.InitLayout () <0xb2767f90 + 0x0022c> in <filename unknown>:0
at SMath.Controls.Worksheet.ElementCreater (SMath.Controls.RegionBase region, System.Collections.Generic.List`1 regions, Boolean makeCurrent, Boolean batchProcessing, Boolean invalidateRequired) <0xb27656b8 + 0x001e6> in <filename unknown>:0
at SMath.Controls.Worksheet.CreateRegions (SMath.Controls.RegionsEnumerator enumerator, System.Collections.Generic.List`1 regions, Boolean showProgress, LocationCorrectionMode locationCorrection) <0xb2764128 + 0x00517> in <filename unknown>:0
at SMath.Controls.Worksheet.CreateRegions (IEnumerable`1 newRegions, Boolean showProgress, LocationCorrectionMode locationCorrection) <0xb2763ae0 + 0x000af> in <filename unknown>:0
at ...ctor (System.Collections.Generic.List`1 ) <0xb2be8fb8 + 0x01bbb> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) .:.ctor (System.Collections.Generic.List`1<string>
at SMath.UI.Desktop.Program. (System.String[] ) <0xb78dd170 + 0x001e3> in <filename unknown>:0
jro@jro19 ~/Programs/SMathMono_6858 $
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 6839 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
jro@jro19 ~/Programs/SMathMono_6839 $ mono SMathStudio_Desktop.exe
- [AppDir] SpecialFunctions 1.12.6839.38235 (5 ms.)
- [AppDir] HTMLFileType 1.14.6839.38235 (3 ms.)
- [AppDir] ImageFileType 1.11.6839.38235 (1 ms.)
- [AppDir] PictureRegion 1.10.6839.38235 (2 ms.)
- [AppDir] PlotRegion 1.11.6839.38235 (4 ms.)
- [AppDir] SMathFileType 1.11.6839.38235 (1 ms.)
- [AppDir] StandardToolboxButtons 1.1.6839.38235 (1 ms.)
- [AppDir] TextRegion 1.11.6839.38235 (2 ms.)
- [AppDir] SMath Viewer Files Plugin 1.1.6839.38249 (2 ms.)
- [AppDir] XMCDFileType 1.12.6839.38235 (1 ms.)
Unhandled Exception:
System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
at System.Drawing.GDIPlus.CheckStatus (Status status) <0xb497bc90 + 0x007ef> in <filename unknown>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) <0xb2a8d250 + 0x0009f> in <filename unknown>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, Single emSize, FontStyle style) <0xb2a8d200 + 0x0003f> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle)
at SMath.UI.DesktopGraphics.MeasureString (System.String text, SMath.Drawing.FontInfo font, Single width, SMath.Drawing.StringOptions format) <0xb27c99c8 + 0x00097> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureString (System.String text, SMath.Drawing.FontInfo font) <0xb27c9938 + 0x00041> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, Single size, FontfaceStyle style, TermType type) <0xb27d6f20 + 0x00087> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, Single size, TermType type) <0xb27d6ec0 + 0x00037> in <filename unknown>:0
at SMath.Controls.PaintContext.GetSymbolByOperator (System.String oper, System.String& text, System.Drawing.SizeF& size) <0xb27d5660 + 0x00c27> in <filename unknown>:0
at SMath.Controls.MathPainter.PrepareForPaint (SMath.Controls.MathRegion region, SMath.Controls.PaintContext ctx, SMath.Manager.Term[] input, SMath.Controls.MathAnswer answer, SMath.Manager.Term[] units, Boolean inputDataVisibility, Int32 currentTermIdx, SMath.Drawing.FontInfo font, System.Int32& middleLine) <0xb27ba000 + 0x00c2b> in <filename unknown>:0
at SMath.Controls.MathRegion.Prepare (IGraphics g, SMath.Manager.PaintEventOptions e) <0xb27d35c8 + 0x00243> in <filename unknown>:0
at SMath.Controls.MathRegion.PrePainter () <0xb27d3590 + 0x00023> in <filename unknown>:0
at SMath.Controls.RegionBase.InitLayout () <0xb27d3340 + 0x0022c> in <filename unknown>:0
at SMath.Controls.Worksheet.ElementCreater (SMath.Controls.RegionBase region, Boolean makeCurrent, Boolean batchProcessing, Boolean invalidateRequired) <0xb27d0a80 + 0x001d2> in <filename unknown>:0
at SMath.Controls.Worksheet.CreateRegions (IEnumerable`1 newRegions, Boolean showProgress, LocationCorrectionMode locationCorrection) <0xb27ceff0 + 0x005b3> in <filename unknown>:0
at ...ctor (System.Collections.Generic.List`1 ) <0xb2c5cf30 + 0x01bbb> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) .:.ctor (System.Collections.Generic.List`1<string>
at SMath.UI.Desktop.Program. (System.String[] ) <0xb7943170 + 0x001e3> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
at System.Drawing.GDIPlus.CheckStatus (Status status) <0xb497bc90 + 0x007ef> in <filename unknown>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont) <0xb2a8d250 + 0x0009f> in <filename unknown>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, Single emSize, FontStyle style) <0xb2a8d200 + 0x0003f> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle)
at SMath.UI.DesktopGraphics.MeasureString (System.String text, SMath.Drawing.FontInfo font, Single width, SMath.Drawing.StringOptions format) <0xb27c99c8 + 0x00097> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureString (System.String text, SMath.Drawing.FontInfo font) <0xb27c9938 + 0x00041> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, Single size, FontfaceStyle style, TermType type) <0xb27d6f20 + 0x00087> in <filename unknown>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, Single size, TermType type) <0xb27d6ec0 + 0x00037> in <filename unknown>:0
at SMath.Controls.PaintContext.GetSymbolByOperator (System.String oper, System.String& text, System.Drawing.SizeF& size) <0xb27d5660 + 0x00c27> in <filename unknown>:0
at SMath.Controls.MathPainter.PrepareForPaint (SMath.Controls.MathRegion region, SMath.Controls.PaintContext ctx, SMath.Manager.Term[] input, SMath.Controls.MathAnswer answer, SMath.Manager.Term[] units, Boolean inputDataVisibility, Int32 currentTermIdx, SMath.Drawing.FontInfo font, System.Int32& middleLine) <0xb27ba000 + 0x00c2b> in <filename unknown>:0
at SMath.Controls.MathRegion.Prepare (IGraphics g, SMath.Manager.PaintEventOptions e) <0xb27d35c8 + 0x00243> in <filename unknown>:0
at SMath.Controls.MathRegion.PrePainter () <0xb27d3590 + 0x00023> in <filename unknown>:0
at SMath.Controls.RegionBase.InitLayout () <0xb27d3340 + 0x0022c> in <filename unknown>:0
at SMath.Controls.Worksheet.ElementCreater (SMath.Controls.RegionBase region, Boolean makeCurrent, Boolean batchProcessing, Boolean invalidateRequired) <0xb27d0a80 + 0x001d2> in <filename unknown>:0
at SMath.Controls.Worksheet.CreateRegions (IEnumerable`1 newRegions, Boolean showProgress, LocationCorrectionMode locationCorrection) <0xb27ceff0 + 0x005b3> in <filename unknown>:0
at ...ctor (System.Collections.Generic.List`1 ) <0xb2c5cf30 + 0x01bbb> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) .:.ctor (System.Collections.Generic.List`1<string>
at SMath.UI.Desktop.Program. (System.String[] ) <0xb7943170 + 0x001e3> in <filename unknown>:0
jro@jro19 ~/Programs/SMathMono_6839 $

So, there hasn't been a huge number of respondents on this issue, but of the three of us here it does seem unanimous that the new mono version has troubles. It is some small comfort to know at least I'm not alone

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
mod: topic moved in the existing thread
$ ./smathstudio_desktop_mono
(mono:16806): Gtk-WARNING **: 18:25:57.524: Unable to locate theme engine in module_path: "adwaita",
(mono:16806): Gtk-WARNING **: 18:25:57.532: Unable to locate theme engine in module_path: "adwaita",
- [AppDir] SpecialFunctions 1.12.6873.37652 (4 ms.)
- [AppDir] HTMLFileType 1.14.6873.37652 (0 ms.)
- [AppDir] ImageFileType 1.11.6873.37652 (0 ms.)
- [AppDir] PictureRegion 1.10.6873.37652 (0 ms.)
- [AppDir] PlotRegion 1.11.6873.37652 (2 ms.)
- [AppDir] SMathFileType 1.11.6873.37652 (0 ms.)
- [AppDir] StandardToolboxButtons 1.1.6873.37652 (0 ms.)
- [AppDir] TextRegion 1.11.6873.37652 (0 ms.)
- [AppDir] SMath Viewer Files Plugin 1.1.6873.37664 (0 ms.)
- [AppDir] XMCDFileType 1.12.6873.37652 (1 ms.)
Unhandled Exception:
System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x001e5] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte gdiCharSet, System.Boolean gdiVerticalFont) [0x00047] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, System.Single emSize, System.Drawing.FontStyle style) [0x00000] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle)
at SMath.UI.DesktopGraphics.MeasureString (System.String text, SMath.Drawing.FontInfo font, System.Single width, SMath.Drawing.StringOptions format) [0x00018] in <1da933bc2094496eb4a71df405cc3ed5>:0
at SMath.Controls.PaintContext.MeasureString (System.String text, SMath.Drawing.FontInfo font) [0x00006] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, System.Single size, SMath.Drawing.FontfaceStyle style, SMath.Manager.TermType type) [0x00015] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, System.Single size, SMath.Manager.TermType type) [0x00000] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.PaintContext.GetSymbolByOperator (System.String oper, System.String& text, System.Drawing.SizeF& size) [0x00629] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.MathPainter.PrepareForPaint (SMath.Controls.MathRegion region, SMath.Controls.PaintContext ctx, SMath.Manager.Term[] input, SMath.Controls.MathAnswer answer, SMath.Manager.Term[] units, System.Boolean inputDataVisibility, System.Int32 currentTermIdx, SMath.Drawing.FontInfo font, System.Int32& middleLine) [0x002d7] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.MathRegion.Prepare (SMath.Drawing.IGraphics g, SMath.Manager.PaintEventOptions e) [0x00099] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.MathRegion.PrePainter () [0x00000] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.RegionBase.InitLayout () [0x0007b] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.Worksheet.ElementCreater (SMath.Controls.RegionBase region, System.Collections.Generic.List`1[T] regions, System.Boolean makeCurrent, System.Boolean batchProcessing, System.Boolean invalidateRequired) [0x00088] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.Worksheet.CreateRegions (SMath.Controls.RegionsEnumerator enumerator, System.Collections.Generic.List`1[T] regions, System.Boolean showProgress, SMath.Controls.LocationCorrectionMode locationCorrection) [0x001f9] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.Worksheet.CreateRegions (System.Collections.Generic.IEnumerable`1[T] newRegions, System.Boolean showProgress, SMath.Controls.LocationCorrectionMode locationCorrection) [0x0001e] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at ...ctor (System.Collections.Generic.List`1[T] ) [0x005a1] in <e107085a5d7f40d683ebdf7b5f902480>:0
at (wrapper remoting-invoke-with-check) .:.ctor (System.Collections.Generic.List`1<string>
at SMath.UI.Desktop.Program. (System.String[] ) [0x0008a] in <e107085a5d7f40d683ebdf7b5f902480>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x001e5] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte gdiCharSet, System.Boolean gdiVerticalFont) [0x00047] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at System.Drawing.Font..ctor (System.Drawing.FontFamily family, System.Single emSize, System.Drawing.FontStyle style) [0x00000] in <1917aa1c39d94b1a91807b8cd9f03350>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Font:.ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle)
at SMath.UI.DesktopGraphics.MeasureString (System.String text, SMath.Drawing.FontInfo font, System.Single width, SMath.Drawing.StringOptions format) [0x00018] in <1da933bc2094496eb4a71df405cc3ed5>:0
at SMath.Controls.PaintContext.MeasureString (System.String text, SMath.Drawing.FontInfo font) [0x00006] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, System.Single size, SMath.Drawing.FontfaceStyle style, SMath.Manager.TermType type) [0x00015] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.PaintContext.MeasureEquationString (System.String text, System.Single size, SMath.Manager.TermType type) [0x00000] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.PaintContext.GetSymbolByOperator (System.String oper, System.String& text, System.Drawing.SizeF& size) [0x00629] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.MathPainter.PrepareForPaint (SMath.Controls.MathRegion region, SMath.Controls.PaintContext ctx, SMath.Manager.Term[] input, SMath.Controls.MathAnswer answer, SMath.Manager.Term[] units, System.Boolean inputDataVisibility, System.Int32 currentTermIdx, SMath.Drawing.FontInfo font, System.Int32& middleLine) [0x002d7] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.MathRegion.Prepare (SMath.Drawing.IGraphics g, SMath.Manager.PaintEventOptions e) [0x00099] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.MathRegion.PrePainter () [0x00000] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.RegionBase.InitLayout () [0x0007b] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.Worksheet.ElementCreater (SMath.Controls.RegionBase region, System.Collections.Generic.List`1[T] regions, System.Boolean makeCurrent, System.Boolean batchProcessing, System.Boolean invalidateRequired) [0x00088] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.Worksheet.CreateRegions (SMath.Controls.RegionsEnumerator enumerator, System.Collections.Generic.List`1[T] regions, System.Boolean showProgress, SMath.Controls.LocationCorrectionMode locationCorrection) [0x001f9] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at SMath.Controls.Worksheet.CreateRegions (System.Collections.Generic.IEnumerable`1[T] newRegions, System.Boolean showProgress, SMath.Controls.LocationCorrectionMode locationCorrection) [0x0001e] in <e2c7155ac8c34cc1887d70e4ae957d12>:0
at ...ctor (System.Collections.Generic.List`1[T] ) [0x005a1] in <e107085a5d7f40d683ebdf7b5f902480>:0
at (wrapper remoting-invoke-with-check) .:.ctor (System.Collections.Generic.List`1<string>
at SMath.UI.Desktop.Program. (System.String[] ) [0x0008a] in <e107085a5d7f40d683ebdf7b5f902480>:0
Thanks very much,
Eric
mod: topic moved in the existing thread
WroteThe issue is not listed in the fixes of latest beta, please keep reporting here if needed (do not open new threads).
My apologies, I'm still working out how things are structured around here. I see now that posting unresolved bugs for each release could really pollute the forum. That should have been obvious.

Can you help me change the title of this post? With the reference to a previous build it looks like the problem is old history, but it seems this thread is to be the home of the issue.
If possible, here's what I would like for the topic name:
SMath for Mono non-functional on Linux, FontFamilyNotFound
WroteCan you help me change the title of this post? With the reference to a previous build it looks like the problem is old history
I agree, title updated
-
New Posts
-
No New Posts