Code: Select all
root@raspberrypi:~# mono hello.exe
Stacktrace:
at System.Drawing.Font.CreateFont (string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool) <0x00147>
at System.Drawing.Font..ctor (string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool) <0x0007f>
at System.Drawing.Font..ctor (string,single,string) <0x00057>
at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor (string,single,string) <0xffffffff>
at System.Drawing.SystemFonts.get_DefaultFont () <0x0007b>
at System.Windows.Forms.Theme..ctor () <0x00033>
at System.Windows.Forms.ThemeWin32Classic..ctor () <0x00013>
at System.Windows.Forms.ThemeEngine..cctor () <0x000bb>
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () <0x00007>
at System.Windows.Forms.Control..ctor () <0x001fb>
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control..ctor () <0xffffffff>
at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () <0x0002f>
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
at System.Windows.Forms.Control..ctor () <0x0004b>
at System.Windows.Forms.ScrollableControl..ctor () <0x00013>
at System.Windows.Forms.ContainerControl..ctor () <0x00023>
at System.Windows.Forms.Form..ctor () <0x00077>
at hello.frmMain..ctor () <0x00013>
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>
at System.Reflection.MonoCMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x001ff>
at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x00053>
at System.Reflection.ConstructorInfo.Invoke (object[]) <0x0005f>
at System.Activator.CreateInstance (System.Type,bool) <0x001ab>
at System.Activator.CreateInstance (System.Type) <0x00017>
at System.Activator.CreateInstance<T> () <0x00017>
at hello.My.MyProject/MyForms.Create__Instance__<T> (T) <0x00133>
at hello.My.MyProject/MyForms.get_frmMain () <0x00023>
at hello.My.MyApplication.OnCreateMainForm () <0x0001b>
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () <0x00043>
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (string[]) <0x00023>
at hello.My.MyApplication.Main (string[]) <0x0003f>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
Debug info from gdb:
Cannot access memory at address 0x0
Cannot access memory at address 0x0
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x408b4460 (LWP 1799)]
0x40135f30 in read () from /lib/arm-linux-gnueabihf/libpthread.so.0
Id Target Id Frame
2 Thread 0x408b4460 (LWP 1799) "mono" 0x40134d84 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
* 1 Thread 0x40053000 (LWP 1798) "mono" 0x40135f30 in read () from /lib/arm-linux-gnueabihf/libpthread.so.0
Thread 2 (Thread 0x408b4460 (LWP 1799)):
#0 0x40134d84 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1 0x00195a30 in mono_sem_wait ()
#2 0x000ea388 in ?? ()
#3 0x000ea388 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 1 (Thread 0x40053000 (LWP 1798)):
#0 0x40135f30 in read () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1 0x40135770 in __pthread_enable_asynccancel () from /lib/arm-linux-gnueabihf/libpthread.so.0
#2 0x00000000 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!