1 Pages (3 items)
[MONO] crash on raspberry pi - Installation errors on raspberry pi - Messages
#1 Posted: 12/2/2016 6:56:02 PM
mono and libmono-winforms2.0-cil installed OK
downloaded stable version and unpacked.
Starts toload page 1 of Smath and then crashes with the following error
downloaded stable version and unpacked.
Starts toload page 1 of Smath and then crashes with the following error
~/SMath_Studio $ ./smathstudio_desktop_mono
- [AppDir] Special Functions 1.11.6179.21442 (32 ms.)
- [AppDir] HTML Export 1.13.6179.21442 (3 ms.)
- [AppDir] Export to image 1.9.6179.21448 (2 ms.)
- [AppDir] Picture Region 1.10.6179.21444 (11 ms.)
- [AppDir] Plot Region 1.9.6179.21450 (12 ms.)
- [AppDir] SMath Studio Files Plugin 1.9.6179.21450 (2 ms.)
- [AppDir] Text Region 1.10.6179.21446 (5 ms.)
- [AppDir] SMath Viewer Files Plugin 1.1.6179.21450 (2 ms.)
- [AppDir] XMCD Files Plugin 1.12.6179.21446 (4 ms.)
* Assertion at mini-codegen.c:807, condition `i == sel' not met
Stacktrace:
at <unknown> <0xffffffff>
at System.Windows.Forms.TextBoxBase.Draw (System.Drawing.Graphics,System.Drawing.Rectangle) <0x000ab>
at System.Windows.Forms.TextBoxBase.OnPaintInternal (System.Windows.Forms.PaintEventArgs) <0x00063>
at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message&
<0x0017f>
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message&
<0x00217>
at System.Windows.Forms.TextBoxBase.WndProc (System.Windows.Forms.Message&
<0x00313>
at System.Windows.Forms.TextBox.WndProc (System.Windows.Forms.Message&
<0x001d3>
at System.Windows.Forms.Control/ControlWindowTarget.OnMessage (System.Windows.Forms.Message&
<0x0002b>
at System.Windows.Forms.Control/ControlNativeWindow.WndProc (System.Windows.Forms.Message&
<0x0003b>
at System.Windows.Forms.NativeWindow.WndProc (intptr,System.Windows.Forms.Msg,intptr,intptr) <0x0028b>
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG&
<0x00023>
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&
<0x0002b>
at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x00ac7>
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x0005f>
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x0002b>
at .. (string[]) <0x00273>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
Debug info from gdb:
[New LWP 3906]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
0x76e39ef8 in __libc_waitpid (Cannot access memory at address 0x3
pid=3909, stat_loc=0x7e95ab28, 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
2 Thread 0x7693f430 (LWP 3906) "mono" 0x76e37a40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
* 1 Thread 0x76f50000 (LWP 3905) "mono" 0x76e39ef8 in __libc_waitpid (Cannot access memory at address 0x3
pid=3909, stat_loc=0x7e95ab28, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
Thread 2 (Thread 0x7693f430 (LWP 3906)):
#0 0x76e37a40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
#1 0x76e37af4 in __new_sem_wait (sem=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:69
#2 0x00219f98 in mono_sem_wait ()
#3 0x0019091c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 1 (Thread 0x76f50000 (LWP 3905)):
Cannot access memory at address 0x3
#0 0x76e39ef8 in __libc_waitpid (pid=3909, stat_loc=0x7e95ab28, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1 0x000c0ba4 in ?? ()
Cannot access memory at address 0x3
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Aborted
#2 Posted: 8/26/2017 3:47:26 PM
Wrotemono and libmono-winforms2.0-cil installed OK
downloaded stable version and unpacked.
Starts toload page 1 of Smath and then crashes with the following error
I have all the same. But, I tried to run SmathStudio through the debugger in the Mono Develop and it works as expected.
It is possible that this is a bug in the libraries of mono for Raspbian (imho)
#3 Posted: 8/27/2017 6:51:53 PM
The problem was solved by updating mono from version 3.2.8 to version 5.2.0.215.
The upgrade described here: https://blog.luppes.com/2015/03/19/mono-on-raspberry-pi/
While SmathStudio works as expected.
The upgrade described here: https://blog.luppes.com/2015/03/19/mono-on-raspberry-pi/
$ mono --version
Mono JIT compiler version 5.2.0.215 (tarball Mon Aug 14 16:25:12 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen (concurrent by default)
Mono JIT compiler version 5.2.0.215 (tarball Mon Aug 14 16:25:12 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen (concurrent by default)
1 users liked this post
Davide Carpi 8/27/2017 7:03:00 PM
1 Pages (3 items)
-
New Posts
-
No New Posts