linux installation error for VirtualRadar.exe

Are you having trouble getting Virtual Radar Server installed and running? If so then this is the place to ask about it.
Post Reply
gariac
Posts: 31
Joined: Sun Jan 13, 2013 6:25 am

linux installation error for VirtualRadar.exe

Post by gariac » Sun Jan 13, 2013 6:47 am

System is a Beagleboard XM running opensuse 12.2 for arm. Mono-complete is installed.


linux:/usr/local/src/virtual_radar_server # mono VirtualRadar.exe
Stacktrace:

at System.Drawing.Font.CreateFont (string,single,System.Drawing.FontStyle,System.Drawing.GraphicsUnit,byte,bool) <0x0013f>
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 () <0x0005b>
at System.Windows.Forms.Theme..ctor () <0x0002b>
at System.Windows.Forms.ThemeWin32Classic..ctor () <0x00013>
at System.Windows.Forms.ThemeVisualStyles..ctor () <0x00013>
at System.Windows.Forms.ThemeEngine..cctor () <0x00063>
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
at System.Windows.Forms.X11DesktopColors..cctor () <0x000a7>
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
at System.Windows.Forms.XplatUIX11..ctor () <0x0014b>
at System.Windows.Forms.XplatUIX11.GetInstance () <0x0004b>
at System.Windows.Forms.XplatUI..cctor () <0x0010b>
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
at System.Windows.Forms.Application.EnableVisualStyles () <0x00017>
at VirtualRadar.Program.Main (string[]) <0x00027>
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

mono() [0x9a568]
mono() [0x24928]
/lib/libc.so.6(__default_rt_sa_restorer_v2+0) [0xb6dbee70]
/usr/lib/libgdiplus.so(GdipCreateFont+0x11c) [0xb5e33a14]

Debug info from gdb:

warning: File "/usr/bin/mono-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:%{_root_bindir}/mono-gdb.py".
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb69ce460 (LWP 5265)]
0xb6ef6bf0 in read () from /lib/libpthread.so.0
Id Target Id Frame
2 Thread 0xb69ce460 (LWP 5265) "mono" 0xb6ef5ad8 in do_futex_wait () from /lib/libpthread.so.0
* 1 Thread 0xb6fce000 (LWP 5264) "mono" 0xb6ef6bf0 in read () from /lib/libpthread.so.0

Thread 2 (Thread 0xb69ce460 (LWP 5265)):
#0 0xb6ef5ad8 in do_futex_wait () from /lib/libpthread.so.0
#1 0xb6ef5b94 in sem_wait@@GLIBC_2.4 () from /lib/libpthread.so.0
#2 0x001914bc in mono_sem_wait ()
#3 0x0016aaac in ?? ()
#4 0x00177250 in ?? ()
#5 0x0018e2d0 in ?? ()
#6 0x001ad7fc in ?? ()
#7 0xb6eeee7c in start_thread () from /lib/libpthread.so.0
#8 0xb6e5bc98 in ?? () from /lib/libc.so.6
#9 0xb6e5bc98 in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0xb6fce000 (LWP 5264)):
#0 0xb6ef6bf0 in read () from /lib/libpthread.so.0
#1 0xb6ef6be4 in read () from /lib/libpthread.so.0
#2 0x0009a568 in ?? ()
#3 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
linux:/usr/local/src/virtual_radar_server #

agw
Posts: 2241
Joined: Fri Feb 17, 2012 3:20 am

Re: linux installation error for VirtualRadar.exe

Post by agw » Mon Jan 14, 2013 10:12 am

The call to EnableVisualStyles that it's crashing on is pretty much the first WinForms call that the program makes on starting up, which isn't encouraging.

If you do MONO_LOG_LEVEL="debug" mono VirtualRadar.exe > dump.txt and then email the resulting dump.txt to me (the address is on the site) I'll take a look.

Post Reply