Raspberry Pi VRS Comments

Bug reports and questions about running Virtual Radar Server on Linux
loplo
Posts: 17
Joined: Wed Mar 12, 2014 6:31 am

Re: Raspberry Pi VRS Comments

Post by loplo » Thu Mar 13, 2014 9:17 pm

Thanks.
dos2linux made his job :)
Unfortunately VRS, dump1090 and one more process, I'm running on my pi, are killing my CPU.
I had to dump VRS.

lesveldt
Posts: 22
Joined: Wed May 18, 2016 12:40 pm

Re: Raspberry Pi VRS Comments

Post by lesveldt » Wed May 18, 2016 12:41 pm

Code: Select all

Missing method .ctor in assembly /usr/lib/mono/gac/Mono.Data.Sqlite/4.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll, type System.Security.SecurityRulesAttribute
Can't find custom attr constructor image: /usr/lib/mono/gac/Mono.Data.Sqlite/4.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll mtoken: 0x0a000222
* Assertion at class.c:5597, condition `!mono_loader_get_last_error ()' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at VirtualRadar.Database.StandingData.StandingDataManager.CreateOpenConnection () <0x00047>
  at VirtualRadar.Database.StandingData.StandingDataManager.GetDatabaseVersionNumber () <0x0003b>
  at VirtualRadar.Database.StandingData.StandingDataManager.Load () <0x0003b>
  at VirtualRadar.Library.Presenter.SplashPresenter.LoadStandingData () <0x000ab>
  at VirtualRadar.Library.Presenter.SplashPresenter.StartApplication () <0x000e7>
  at VirtualRadar.WinForms.SplashView.backgroundWorker_DoWork (object,System.ComponentModel.DoWorkEventArgs) <0x0004b>
  at System.ComponentModel.BackgroundWorker.OnDoWork (System.ComponentModel.DoWorkEventArgs) <0x00037>
  at System.ComponentModel.BackgroundWorker.ProcessWorker (object,System.ComponentModel.AsyncOperation,System.Threading.SendOrPostCallback) <0x0008f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object_object_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:


Debug info from gdb:

[New LWP 23030]
[New LWP 23025]
[New LWP 23024]
[New LWP 23023]
[New LWP 23022]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
0x76d69c80 in poll () at ../sysdeps/unix/syscall-template.S:81
81      ../sysdeps/unix/syscall-template.S: No such file or directory.
  Id   Target Id         Frame
  6    Thread 0x7698f430 (LWP 23022) "mono" 0x76df0a40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
  5    Thread 0x7328b430 (LWP 23023) "mono" 0x76df2730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
  4    Thread 0x730ff430 (LWP 23024) "mono" 0x76df2ee8 in __libc_waitpid (Cannot access memory at address 0x7e
pid=23026, stat_loc=0x730fce20, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
  3    Thread 0x72dbc430 (LWP 23025) "mono" 0x76deeb30 in __pthread_cond_timedwait (Cannot access memory at address 0x1
cond=0x1263c68, mutex=0x1263c4c, abstime=0x72dbb700) at pthread_cond_timedwait.c:199
  2    Thread 0x72aff430 (LWP 23030) "mono" 0x76df0c50 in do_futex_timed_wait (isem=isem@entry=0x317edc, rt=rt@entry=0x72afecd8) at ../nptl/sysdeps/unix/sysv/linux/sem_timedwait.c:41
* 1    Thread 0x76f02000 (LWP 23021) "mono" 0x76d69c80 in poll () at ../sysdeps/unix/syscall-template.S:81

Thread 6 (Thread 0x7698f430 (LWP 23022)):
#0  0x76df0a40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
#1  0x76df0af4 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 5 (Thread 0x7328b430 (LWP 23023)):
#0  0x76df2730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x0020e8b0 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x730ff430 (LWP 23024)):
Cannot access memory at address 0x7e
#0  0x76df2ee8 in __libc_waitpid (pid=23026, stat_loc=0x730fce20, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1  0x000c0ba4 in ?? ()
Cannot access memory at address 0x7e
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x72dbc430 (LWP 23025)):
Cannot access memory at address 0x1
#0  0x76deeb30 in __pthread_cond_timedwait (cond=0x1263c68, mutex=0x1263c4c, abstime=0x72dbb700) at pthread_cond_timedwait.c:199
#1  0x001f68d8 in ?? ()
Cannot access memory at address 0x1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x72aff430 (LWP 23030)):
#0  0x76df0c50 in do_futex_timed_wait (isem=isem@entry=0x317edc, rt=rt@entry=0x72afecd8) at ../nptl/sysdeps/unix/sysv/linux/sem_timedwait.c:41
#1  0x76df0d7c in sem_timedwait (sem=0x317edc, abstime=0x72afed1c) at ../nptl/sysdeps/unix/sysv/linux/sem_timedwait.c:96
#2  0x0021a08c in mono_sem_timedwait ()
#3  0x001790f0 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x76f02000 (LWP 23021)):
Cannot access memory at address 0x2
#0  0x76d69c80 in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x7322ed5c in ?? ()
Cannot access memory at address 0x2
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
every time when I'll start VirtualRadar.exe by mono...... Please help

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

Re: Raspberry Pi VRS Comments

Post by agw » Sun May 22, 2016 10:23 pm

I've not seen that one before and Google doesn't seem to be much help. When you installed Mono did you install the complete package? Also, have you configured up a VirtualRadar.exe.config to redirect requests for Mono's SQLite library, as per the instructions on http://www.virtualradarserver.co.uk/Mono.aspx?

lesveldt
Posts: 22
Joined: Wed May 18, 2016 12:40 pm

Re: Raspberry Pi VRS Comments

Post by lesveldt » Mon May 23, 2016 3:29 pm

Yes I followed the instruction at http://www.virtualradarserver.co.uk/Mono.aspx then I got that error when I start VirtualRadar.exe ( $ mono VirtualRadar.exe) :shock:

falcongsr
Posts: 1
Joined: Tue Jun 28, 2016 3:41 am

Re: Raspberry Pi VRS Comments

Post by falcongsr » Tue Jun 28, 2016 3:56 am

lesveldt wrote:

Code: Select all

Missing method .ctor in assembly /usr/lib/mono/gac/Mono.Data.Sqlite/4.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll, type System.Security.SecurityRulesAttribute
Can't find custom attr constructor image: /usr/lib/mono/gac/Mono.Data.Sqlite/4.0.0.0__0738eb9f132ed756/Mono.Data.Sqlite.dll mtoken: 0x0a000222
* Assertion at class.c:5597, condition `!mono_loader_get_last_error ()' not met

Stacktrace:

  at <unknown> <0xffffffff>
  at VirtualRadar.Database.StandingData.StandingDataManager.CreateOpenConnection () <0x00047>
  at VirtualRadar.Database.StandingData.StandingDataManager.GetDatabaseVersionNumber () <0x0003b>
  at VirtualRadar.Database.StandingData.StandingDataManager.Load () <0x0003b>
  at VirtualRadar.Library.Presenter.SplashPresenter.LoadStandingData () <0x000ab>
  at VirtualRadar.Library.Presenter.SplashPresenter.StartApplication () <0x000e7>
  at VirtualRadar.WinForms.SplashView.backgroundWorker_DoWork (object,System.ComponentModel.DoWorkEventArgs) <0x0004b>
  at System.ComponentModel.BackgroundWorker.OnDoWork (System.ComponentModel.DoWorkEventArgs) <0x00037>
  at System.ComponentModel.BackgroundWorker.ProcessWorker (object,System.ComponentModel.AsyncOperation,System.Threading.SendOrPostCallback) <0x0008f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object_object_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:


Debug info from gdb:

[New LWP 23030]
[New LWP 23025]
[New LWP 23024]
[New LWP 23023]
[New LWP 23022]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
0x76d69c80 in poll () at ../sysdeps/unix/syscall-template.S:81
81      ../sysdeps/unix/syscall-template.S: No such file or directory.
  Id   Target Id         Frame
  6    Thread 0x7698f430 (LWP 23022) "mono" 0x76df0a40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
  5    Thread 0x7328b430 (LWP 23023) "mono" 0x76df2730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
  4    Thread 0x730ff430 (LWP 23024) "mono" 0x76df2ee8 in __libc_waitpid (Cannot access memory at address 0x7e
pid=23026, stat_loc=0x730fce20, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
  3    Thread 0x72dbc430 (LWP 23025) "mono" 0x76deeb30 in __pthread_cond_timedwait (Cannot access memory at address 0x1
cond=0x1263c68, mutex=0x1263c4c, abstime=0x72dbb700) at pthread_cond_timedwait.c:199
  2    Thread 0x72aff430 (LWP 23030) "mono" 0x76df0c50 in do_futex_timed_wait (isem=isem@entry=0x317edc, rt=rt@entry=0x72afecd8) at ../nptl/sysdeps/unix/sysv/linux/sem_timedwait.c:41
* 1    Thread 0x76f02000 (LWP 23021) "mono" 0x76d69c80 in poll () at ../sysdeps/unix/syscall-template.S:81

Thread 6 (Thread 0x7698f430 (LWP 23022)):
#0  0x76df0a40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
#1  0x76df0af4 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 5 (Thread 0x7328b430 (LWP 23023)):
#0  0x76df2730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x0020e8b0 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x730ff430 (LWP 23024)):
Cannot access memory at address 0x7e
#0  0x76df2ee8 in __libc_waitpid (pid=23026, stat_loc=0x730fce20, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1  0x000c0ba4 in ?? ()
Cannot access memory at address 0x7e
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0x72dbc430 (LWP 23025)):
Cannot access memory at address 0x1
#0  0x76deeb30 in __pthread_cond_timedwait (cond=0x1263c68, mutex=0x1263c4c, abstime=0x72dbb700) at pthread_cond_timedwait.c:199
#1  0x001f68d8 in ?? ()
Cannot access memory at address 0x1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 0x72aff430 (LWP 23030)):
#0  0x76df0c50 in do_futex_timed_wait (isem=isem@entry=0x317edc, rt=rt@entry=0x72afecd8) at ../nptl/sysdeps/unix/sysv/linux/sem_timedwait.c:41
#1  0x76df0d7c in sem_timedwait (sem=0x317edc, abstime=0x72afed1c) at ../nptl/sysdeps/unix/sysv/linux/sem_timedwait.c:96
#2  0x0021a08c in mono_sem_timedwait ()
#3  0x001790f0 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x76f02000 (LWP 23021)):
Cannot access memory at address 0x2
#0  0x76d69c80 in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x7322ed5c in ?? ()
Cannot access memory at address 0x2
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
every time when I'll start VirtualRadar.exe by mono...... Please help

Just today I finally got VRS running on a Pi 2 running Raspbian Jessie.

The version of mono that installs on Raspbian by default is too old to run VRS. It is 3.2.8 or something like that. You need something above 4.0. There is a known issue with mono 3.x and the types of forms/windows used on VRS.

I followed the instructions here to point to the newer versions of mono: http://www.mono-project.com/docs/gettin ... all/linux/

then I ran

Code: Select all

sudo apt-get install mono-devel
Now I have mono 4.4.0 and I can launch VirtualRadar.exe and it's working.

lesveldt
Posts: 22
Joined: Wed May 18, 2016 12:40 pm

Re: Raspberry Pi VRS Comments

Post by lesveldt » Tue Jun 28, 2016 8:54 pm

Thanks works for me :-)

Post Reply