Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline Eric Myers  
#1 Posted : 13 October 2018 17:22:05(UTC)
Eric Myers


Rank: Advanced Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 33
United States

Was thanked: 4 time(s) in 4 post(s)
Hi, is anyone successfully using build 6839 on Linux? When I try to launch I get
[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.

Edited by moderator 28 October 2018 19:18:49(UTC)  | Reason: title updated

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Davide Carpi  
#2 Posted : 15 October 2018 12:01:10(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Hello Eric Myers Offline ,

Thank you for reporting the bug

Originally Posted by: Eric Myers Go to Quoted Post
Any further information needed can be supplied, thanks in advance for any and all help with this.

The stack trace would be really useful Good


I can reproduce something similar in Linux Mint, it's the same issue?

Code:
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]

Edited by user 31 October 2018 12:45:01(UTC)  | Reason: fixed in SMath Studio 0.99.6877

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
thanks 1 user thanked Davide Carpi for this useful post.
on 15/10/2018(UTC)
Offline Eric Myers  
#3 Posted : 15 October 2018 16:14:48(UTC)
Eric Myers


Rank: Advanced Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 33
United States

Was thanked: 4 time(s) in 4 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
Hello Eric Myers Offline ,

Thank you for reporting the bug
The stack trace would be really useful Good


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:
Code:
(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

thanks 1 user thanked Eric Myers for this useful post.
on 15/10/2018(UTC)
Offline ronkholz  
#4 Posted : 17 October 2018 07:50:14(UTC)
ronkholz

Rank: Newbie

Groups: Registered
Joined: 17/10/2018(UTC)
Posts: 2
Germany
Location: DUS

currently 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:

Code:
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 $ 

Edited by moderator 28 October 2018 14:06:25(UTC)  | Reason: code enclosed in BBCODE tags

Offline Eric Myers  
#5 Posted : 17 October 2018 16:38:38(UTC)
Eric Myers


Rank: Advanced Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 33
United States

Was thanked: 4 time(s) in 4 post(s)
Originally Posted by: ronkholz Go to Quoted Post
currently 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:

Code:
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?

Edited by moderator 28 October 2018 14:05:50(UTC)  | Reason: code enclosed in BBCODE tags

Offline ronkholz  
#6 Posted : 18 October 2018 08:42:40(UTC)
ronkholz

Rank: Newbie

Groups: Registered
Joined: 17/10/2018(UTC)
Posts: 2
Germany
Location: DUS

I started with 6858 and got some font errors. After installing a few fonts - e.g. Andale - I got less errors, but the application still crashed. Then I tried 6839 getting the same error messages. Version 6670 seemed to work initially even though a X11 error was reported. Only after loading the above mentioned examples SMAth crashed. Sorry, I skiped testing 6671. Today I tried 6671 on Mint. The same X11 error is still there, but Newton example loads without crashing.

6858 AND 6839 on Mint

No X11 error on startup, but GDI+ error


<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 6858 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


Code:
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 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Code:
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 $

Edited by moderator 28 October 2018 14:05:15(UTC)  | Reason: code enclosed in BBCODE tags

Offline Eric Myers  
#7 Posted : 18 October 2018 16:33:21(UTC)
Eric Myers


Rank: Advanced Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 33
United States

Was thanked: 4 time(s) in 4 post(s)
Thanks for double-checking, glad to hear you are able to use 6671. Running it from the console I do see an X11 error as well now, but as it seems to work ok despite the error then for my part I won't let it bother me too much Good

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 Wink
Offline dmmartinez  
#8 Posted : 19 October 2018 23:57:32(UTC)
dmmartinez

Rank: Newbie

Groups: Registered
Joined: 04/10/2016(UTC)
Posts: 1
United States

Just installed Lubuntu 18 LTS on an HP Stream mini and wanted to install SMath (0_99_68658). Installed mono and double clicked the .exe and is tries to load, then nothing. Tried in terminal in mono. Got a set of errors about missing font library. Tried again to do a scree capture and had a slightly different error. Attached screenshots. Also said: debug info from gdb:

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

Edited by moderator 20 October 2018 12:25:48(UTC)  | Reason: Not specified

Offline Eric Myers  
#9 Posted : 28 October 2018 03:07:28(UTC)
Eric Myers


Rank: Advanced Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 33
United States

Was thanked: 4 time(s) in 4 post(s)
Sadly, beta build 6873 also does not run for me on my Ubuntu 18.04-based system. 6671 remains the last release I am able to run successfully, this build gives the same error I get when trying to run 6839 or 6858:

Code:
$ ./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

Andrey, if you are tuning in- I'm a big fan of SMath and have been so glad for the Linux support. Is there any encouraging statement you might offer, maybe just a quick indication that you know about this issue?

Thanks very much,
Eric

mod: topic moved in the existing thread

Edited by user 28 October 2018 18:44:59(UTC)  | Reason: Not specified

Offline Davide Carpi  
#10 Posted : 28 October 2018 11:58:41(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
The issue is not listed in the fixes of latest beta, please keep reporting here if needed (do not open new threads).

Edited by user 28 October 2018 12:34:30(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Eric Myers  
#11 Posted : 28 October 2018 17:37:05(UTC)
Eric Myers


Rank: Advanced Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 33
United States

Was thanked: 4 time(s) in 4 post(s)
Originally Posted by: Davide Carpi Go to Quoted Post
The 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. Blush

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
Offline Davide Carpi  
#12 Posted : 28 October 2018 17:40:45(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: Eric Myers Go to Quoted Post
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


I agree, title updated

Edited by user 30 October 2018 17:16:51(UTC)  | Reason: Not specified

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline Andrey Ivashov  
#13 Posted : 30 October 2018 18:32:16(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Should be fixed now. Please check the latest beta: https://en.smath.info/fo...77--30-October-2018.aspx
Offline Eric Myers  
#14 Posted : 31 October 2018 15:00:40(UTC)
Eric Myers


Rank: Advanced Member

Groups: Registered
Joined: 03/10/2018(UTC)
Posts: 33
United States

Was thanked: 4 time(s) in 4 post(s)
Indeed it does! Thanks very much Andrey and Davide, and everyone else working on SMath. It is much appreciated. SMath rocks!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.