1 Pages (8 items)
Mono: crash on Ubuntu 16.04 - Messages
#1 Posted: 11/9/2017 2:47:09 PM
Hello
I've tested SMathStudio (SMathStudioDesktop.0_98_6520.Mono.tar.gz) on linux
and it can't start.
VERSIONs TESTED
Mono JIT compiler version 5.4.0.201
Ubuntu trusty 1404
Mono JIT compiler version 3.2.8
Ubuntu xenial 16.04
Does anyone know the solution?
Greeting,
Philippe
Sorry, I forgot the error message
smathstudio_startup_error.txt (67 KiB) downloaded 45 time(s).
I've tested SMathStudio (SMathStudioDesktop.0_98_6520.Mono.tar.gz) on linux
and it can't start.
VERSIONs TESTED
Mono JIT compiler version 5.4.0.201
Ubuntu trusty 1404
Mono JIT compiler version 3.2.8
Ubuntu xenial 16.04
Does anyone know the solution?
Greeting,
Philippe
Sorry, I forgot the error message
smathstudio_startup_error.txt (67 KiB) downloaded 45 time(s).
#2 Posted: 11/9/2017 6:59:34 PM
Seems this is something I must look at before stable release. I will...
Thank you Philippe!
Thank you Philippe!
#3 Posted: 11/10/2017 12:52:57 PM
The same error with 0.98.6522.
Russia ☭ forever, Viacheslav N. Mezentsev
#4 Posted: 11/11/2017 7:10:55 AM
Hello,
I found an origin of the crash on linux. The program cannot find a font, exactly MS sans serif.
I have put ms_sans_serif.ttf in ~./fonts. The error message changes.
tested on ubuntu 64 bits 16.04
SMathStudioDesktop.0_98_6523.Mono
Philippe.
I found an origin of the crash on linux. The program cannot find a font, exactly MS sans serif.
I have put ms_sans_serif.ttf in ~./fonts. The error message changes.
tested on ubuntu 64 bits 16.04
SMathStudioDesktop.0_98_6523.Mono
Philippe.
1 users liked this post
Davide Carpi 11/11/2017 1:52:00 PM
#5 Posted: 11/19/2017 7:21:47 PM
It should be fixed in latest beta. Could someone confirm with screenshot please?
Best regards.
Best regards.
#6 Posted: 11/19/2017 8:49:09 PM
SMath seems to ignore "portable.version"
I don't know where userdir is or how to otherwise clean up old plugins.
user@vb ~/SMath/98.6528 $ sudo ./smathstudio_desktop_mono
- [AppDir] Special Functions 1.11.6528.22825 (2 ms.)
- [UserDir] Hyperlink Region 1.0.6362.5973 (1 ms.)
- [UserDir] Table Region 0.2.6492.29469 (2 ms.)
- [UserDir] Writer Region 0.9.6353.25516 (26 ms.)
- [UserDir] Image Region 2.99.6527.16399 (0 ms.)
- [UserDir] Statistical Tools 1.0.6499.5127 (10 ms.)
- [UserDir] PDF Files Plugin 1.0.6353.25356 (1 ms.)
- [UserDir] Modeller Region 1.0.6353.23719 (1 ms.)
- [UserDir] Development Tools 1.0.6498.3892 (0 ms.)
- [AppDir] HTML Export 1.13.6528.22825 (0 ms.)
- [AppDir] Export to image 1.9.6528.22825 (0 ms.)
- [AppDir] Picture Region 1.10.6528.22825 (0 ms.)
- [AppDir] Plot Region 1.9.6528.22825 (0 ms.)
- [AppDir] SMath Studio Files Plugin 1.9.6528.22825 (0 ms.)
- [AppDir] Standard Toolbox Buttons 1.0.6528.22826 (0 ms.)
- [AppDir] Text Region 1.10.6528.22825 (0 ms.)
- [AppDir] SMath Viewer Files Plugin 1.1.6528.22826 (0 ms.)
- [AppDir] XMCD Files Plugin 1.12.6528.22825 (0 ms.)
Stacktrace:
at <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) <0x000b7>
at System.Drawing.Font..ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit) <0x0004b>
at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit) <0xffffffff>
at SMath.Control.PaintContext.EquationsFont (single) <0x00083>
at SMath.Control.PaintContext.set_NormalFont (System.Drawing.Font) <0x00a4b>
at SMath.Control.MathRegion.GetPaintContext (System.Drawing.Rectangle,System.Drawing.Graphics) <0x000ff>
at SMath.Control.MathRegion.Prepare (System.Drawing.Graphics,System.Windows.Forms.PaintEventArgs) <0x00123>
at SMath.Control.MathRegion.PrePainter () <0x00013>
at SMath.Control.RegionBase.InitLayout () <0x00279>
at SMath.Control.Worksheet.ElementCreater (SMath.Control.RegionBase,bool,bool,bool) <0x0021d>
at SMath.Control.Worksheet.CreateRegions (System.Collections.Generic.IEnumerable`1,bool,SMath.Control.LocationCorrectionMode) <0x006af>
at (wrapper remoting-invoke-with-check) SMath.Control.Worksheet.CreateRegions (System.Collections.Generic.IEnumerable`1,bool,SMath.Control.LocationCorrectionMode) <0xffffffff>
at ...ctor (System.Collections.Generic.List`1) <0x01d13>
at (wrapper remoting-invoke-with-check) ...ctor (System.Collections.Generic.List`1) <0xffffffff>
at .. (string[]) <0x001cf>
at (wrapper runtime-invoke).runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono() [0x49d56c]
mono() [0x4f33ee]
mono() [0x42498d]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7fe7d473c340]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1b05d) [0x7fe7caf9a05d]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1b799) [0x7fe7caf9a799]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1c508) [0x7fe7caf9b508]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1c6f0) [0x7fe7caf9b6f0]
/usr/lib/libgdiplus.so.0(GdipCreateFont+0x62) [0x7fe7d05e12c2]
[0x41263518]
Debug info from gdb:
[New LWP 3060]
[New LWP 3059]
[New LWP 3058]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fe7d473bee9 in __libc_waitpid (pid=3061, stat_loc=0x7fe7d526d11c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
40 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
Id Target Id Frame
4 Thread 0x7fe7d37ff700 (LWP 3058) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
3 Thread 0x7fe7d3f2e700 (LWP 3059) "Finalizer" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
2 Thread 0x7fe7c54f9700 (LWP 3060) "mono" 0x00007fe7d445412d in poll () at ../sysdeps/unix/syscall-template.S:81
* 1 Thread 0x7fe7d524f7c0 (LWP 3057) "mono" 0x00007fe7d473bee9 in __libc_waitpid (pid=3061, stat_loc=0x7fe7d526d11c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
Thread 4 (Thread 0x7fe7d37ff700 (LWP 3058)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00000000005f9a5c in ?? ()
#2 0x00007fe7d4734182 in start_thread (arg=0x7fe7d37ff700) at pthread_create.c:312
#3 0x00007fe7d446147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 3 (Thread 0x7fe7d3f2e700 (LWP 3059)):
#0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1 0x000000000061dd98 in mono_sem_wait ()
#2 0x00000000005a1fe6 in ?? ()
#3 0x0000000000584343 in ?? ()
#4 0x00000000006245d6 in ?? ()
#5 0x00007fe7d4734182 in start_thread (arg=0x7fe7d3f2e700) at pthread_create.c:312
#6 0x00007fe7d446147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 2 (Thread 0x7fe7c54f9700 (LWP 3060)):
#0 0x00007fe7d445412d in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00000000412cbb96 in ?? ()
#2 0x0000000000000002 in ?? ()
#3 0x00007fe7c54f7b10 in ?? ()
#4 0x00007fe7d3800ab8 in ?? ()
#5 0x00007fe7c5272260 in ?? ()
#6 0x0000000000000002 in ?? ()
#7 0x00007fe7c54f8720 in ?? ()
#8 0x00007fe7c0000e00 in ?? ()
#9 0x00007fe7c54f7b10 in ?? ()
#10 0x00007fe7c54f7b10 in ?? ()
#11 0x00007fe7c54f70f0 in ?? ()
#12 0x00007fe7d3800ad8 in ?? ()
#13 0x00007fe7c54f0001 in ?? ()
#14 0x00007fe7c54f7b10 in ?? ()
#15 0x00000000412c9fc8 in ?? ()
#16 0x00007fe7c0001900 in ?? ()
#17 0x00007fe7c54f7b10 in ?? ()
#18 0x00007fe7d3873ca8 in ?? ()
#19 0x00007fe7c5249570 in ?? ()
#20 0x00007fe7d3873ca8 in ?? ()
#21 0x00007fe7c5249570 in ?? ()
#22 0x000000000000000f in ?? ()
#23 0x00007fe7d3800ae0 in ?? ()
#24 0x00000000412ad079 in ?? ()
#25 0x00000000412ad0c4 in ?? ()
#26 0x00007fe700000013 in ?? ()
#27 0x000000000000051e in ?? ()
#28 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7fe7d524f7c0 (LWP 3057)):
#0 0x00007fe7d473bee9 in __libc_waitpid (pid=3061, stat_loc=0x7fe7d526d11c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1 0x000000000049d5f9 in ?? ()
#2 0x00000000004f33ee in ?? ()
#3 0x000000000042498d in ?? ()
#4
#5 0x00007fe7caf9a05d in ?? () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#6 0x00007fe7caf9a799 in ?? () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#7 0x00007fe7caf9b508 in ?? () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#8 0x00007fe7caf9b6f0 in ?? () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#9 0x00007fe7d05e12c2 in GdipCreateFont () from /usr/lib/libgdiplus.so.0
#10 0x0000000041263518 in ?? ()
#11 0x00007fe7c4e18bf8 in ?? ()
#12 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.
=================================================================
I don't know where userdir is or how to otherwise clean up old plugins.
user@vb ~/SMath/98.6528 $ sudo ./smathstudio_desktop_mono
- [AppDir] Special Functions 1.11.6528.22825 (2 ms.)
- [UserDir] Hyperlink Region 1.0.6362.5973 (1 ms.)
- [UserDir] Table Region 0.2.6492.29469 (2 ms.)
- [UserDir] Writer Region 0.9.6353.25516 (26 ms.)
- [UserDir] Image Region 2.99.6527.16399 (0 ms.)
- [UserDir] Statistical Tools 1.0.6499.5127 (10 ms.)
- [UserDir] PDF Files Plugin 1.0.6353.25356 (1 ms.)
- [UserDir] Modeller Region 1.0.6353.23719 (1 ms.)
- [UserDir] Development Tools 1.0.6498.3892 (0 ms.)
- [AppDir] HTML Export 1.13.6528.22825 (0 ms.)
- [AppDir] Export to image 1.9.6528.22825 (0 ms.)
- [AppDir] Picture Region 1.10.6528.22825 (0 ms.)
- [AppDir] Plot Region 1.9.6528.22825 (0 ms.)
- [AppDir] SMath Studio Files Plugin 1.9.6528.22825 (0 ms.)
- [AppDir] Standard Toolbox Buttons 1.0.6528.22826 (0 ms.)
- [AppDir] Text Region 1.10.6528.22825 (0 ms.)
- [AppDir] SMath Viewer Files Plugin 1.1.6528.22826 (0 ms.)
- [AppDir] XMCD Files Plugin 1.12.6528.22825 (0 ms.)
Stacktrace:
at
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) <0x000b7>
at System.Drawing.Font..ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit) <0x0004b>
at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor (System.Drawing.FontFamily,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit) <0xffffffff>
at SMath.Control.PaintContext.EquationsFont (single) <0x00083>
at SMath.Control.PaintContext.set_NormalFont (System.Drawing.Font) <0x00a4b>
at SMath.Control.MathRegion.GetPaintContext (System.Drawing.Rectangle,System.Drawing.Graphics) <0x000ff>
at SMath.Control.MathRegion.Prepare (System.Drawing.Graphics,System.Windows.Forms.PaintEventArgs) <0x00123>
at SMath.Control.MathRegion.PrePainter () <0x00013>
at SMath.Control.RegionBase.InitLayout () <0x00279>
at SMath.Control.Worksheet.ElementCreater (SMath.Control.RegionBase,bool,bool,bool) <0x0021d>
at SMath.Control.Worksheet.CreateRegions (System.Collections.Generic.IEnumerable`1
at (wrapper remoting-invoke-with-check) SMath.Control.Worksheet.CreateRegions (System.Collections.Generic.IEnumerable`1
at ...ctor (System.Collections.Generic.List`1
at (wrapper remoting-invoke-with-check) ...ctor (System.Collections.Generic.List`1
at .. (string[]) <0x001cf>
at (wrapper runtime-invoke)
Native stacktrace:
mono() [0x49d56c]
mono() [0x4f33ee]
mono() [0x42498d]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x10340) [0x7fe7d473c340]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1b05d) [0x7fe7caf9a05d]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1b799) [0x7fe7caf9a799]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1c508) [0x7fe7caf9b508]
/usr/lib/x86_64-linux-gnu/libfontconfig.so.1(+0x1c6f0) [0x7fe7caf9b6f0]
/usr/lib/libgdiplus.so.0(GdipCreateFont+0x62) [0x7fe7d05e12c2]
[0x41263518]
Debug info from gdb:
[New LWP 3060]
[New LWP 3059]
[New LWP 3058]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fe7d473bee9 in __libc_waitpid (pid=3061, stat_loc=0x7fe7d526d11c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
40 ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
Id Target Id Frame
4 Thread 0x7fe7d37ff700 (LWP 3058) "mono" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
3 Thread 0x7fe7d3f2e700 (LWP 3059) "Finalizer" sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
2 Thread 0x7fe7c54f9700 (LWP 3060) "mono" 0x00007fe7d445412d in poll () at ../sysdeps/unix/syscall-template.S:81
* 1 Thread 0x7fe7d524f7c0 (LWP 3057) "mono" 0x00007fe7d473bee9 in __libc_waitpid (pid=3061, stat_loc=0x7fe7d526d11c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
Thread 4 (Thread 0x7fe7d37ff700 (LWP 3058)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00000000005f9a5c in ?? ()
#2 0x00007fe7d4734182 in start_thread (arg=0x7fe7d37ff700) at pthread_create.c:312
#3 0x00007fe7d446147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 3 (Thread 0x7fe7d3f2e700 (LWP 3059)):
#0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
#1 0x000000000061dd98 in mono_sem_wait ()
#2 0x00000000005a1fe6 in ?? ()
#3 0x0000000000584343 in ?? ()
#4 0x00000000006245d6 in ?? ()
#5 0x00007fe7d4734182 in start_thread (arg=0x7fe7d3f2e700) at pthread_create.c:312
#6 0x00007fe7d446147d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 2 (Thread 0x7fe7c54f9700 (LWP 3060)):
#0 0x00007fe7d445412d in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00000000412cbb96 in ?? ()
#2 0x0000000000000002 in ?? ()
#3 0x00007fe7c54f7b10 in ?? ()
#4 0x00007fe7d3800ab8 in ?? ()
#5 0x00007fe7c5272260 in ?? ()
#6 0x0000000000000002 in ?? ()
#7 0x00007fe7c54f8720 in ?? ()
#8 0x00007fe7c0000e00 in ?? ()
#9 0x00007fe7c54f7b10 in ?? ()
#10 0x00007fe7c54f7b10 in ?? ()
#11 0x00007fe7c54f70f0 in ?? ()
#12 0x00007fe7d3800ad8 in ?? ()
#13 0x00007fe7c54f0001 in ?? ()
#14 0x00007fe7c54f7b10 in ?? ()
#15 0x00000000412c9fc8 in ?? ()
#16 0x00007fe7c0001900 in ?? ()
#17 0x00007fe7c54f7b10 in ?? ()
#18 0x00007fe7d3873ca8 in ?? ()
#19 0x00007fe7c5249570 in ?? ()
#20 0x00007fe7d3873ca8 in ?? ()
#21 0x00007fe7c5249570 in ?? ()
#22 0x000000000000000f in ?? ()
#23 0x00007fe7d3800ae0 in ?? ()
#24 0x00000000412ad079 in ?? ()
#25 0x00000000412ad0c4 in ?? ()
#26 0x00007fe700000013 in ?? ()
#27 0x000000000000051e in ?? ()
#28 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7fe7d524f7c0 (LWP 3057)):
#0 0x00007fe7d473bee9 in __libc_waitpid (pid=3061, stat_loc=0x7fe7d526d11c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1 0x000000000049d5f9 in ?? ()
#2 0x00000000004f33ee in ?? ()
#3 0x000000000042498d in ?? ()
#4
#5 0x00007fe7caf9a05d in ?? () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#6 0x00007fe7caf9a799 in ?? () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#7 0x00007fe7caf9b508 in ?? () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#8 0x00007fe7caf9b6f0 in ?? () from /usr/lib/x86_64-linux-gnu/libfontconfig.so.1
#9 0x00007fe7d05e12c2 in GdipCreateFont () from /usr/lib/libgdiplus.so.0
#10 0x0000000041263518 in ?? ()
#11 0x00007fe7c4e18bf8 in ?? ()
#12 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.
=================================================================
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#7 Posted: 11/20/2017 5:14:17 AM
Same stack trace of Martin even in Linux Mint
It should be in ~/.config/SMath or in ~/.SMath
WroteI don't know where userdir is or how to otherwise clean up old plugins.
It should be in ~/.config/SMath or in ~/.SMath
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
Martin Kraska 11/20/2017 5:43:00 AM
#8 Posted: 11/20/2017 5:44:56 AM
WroteSame stack trace of Martin even in Linux Mint
WroteI don't know where userdir is or how to otherwise clean up old plugins.
It should be in ~/.config/SMath or in ~/.SMath
Deleting the plugins doesn't help. Same crash, no matter if I run ./smathstudio_desktop_mono as root or as user.
It would facilitate testing if the portable.version wouldn't be ignored. Plugins are incompatible at times...
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 Pages (8 items)
-
New Posts
-
No New Posts