[MONO] crash on raspberry pi

[MONO] crash on raspberry pi - Installation errors on raspberry pi - Сообщения

#1 Опубликовано: 02.12.2016 18:56:02
alan

alan

0 сообщений из 1 понравились пользователям.

Группа: User

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

~/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 Опубликовано: 26.08.2017 15:47:26
Mikhail

Mikhail

1 сообщений из 2 понравились пользователям.

Группа: User

Wrote

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



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 Опубликовано: 27.08.2017 18:51:53
Mikhail

Mikhail

1 сообщений из 2 понравились пользователям.

Группа: User

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.
1 пользователям понравился этот пост
Davide Carpi 27.08.2017 19:03:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений