Raspberry Pi 2B VRS not starting

Bug reports and questions about running Virtual Radar Server on Linux
Post Reply
eddydude
Posts: 1
Joined: Tue Mar 01, 2016 11:46 am

Raspberry Pi 2B VRS not starting

Post by eddydude »

I have installed mono and VRS and followed all the instructions given. I managed to open VRS once on my RaPi (ethernet to win10 + VNC). I wanted to configure VRS, but clicking on tools/options made VRS crash. Now it's impossible for me to even open VRS. I get the following log when inputting: 'mono VirtualRadar.exe'

pi@AeroboticaPi:~/Downloads $ mono VirtualRadar.exe
Xlib: extension "RANDR" missing on display ":1.0".
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 1460]
[New LWP 1457]
[New LWP 1456]
[New LWP 1455]
[New LWP 1454]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
0x76e13c80 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 0x75b7b430 (LWP 1454) "mono" 0x76e9aa40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
5 Thread 0x7331f430 (LWP 1455) "mono" 0x76e9c730 in nanosleep () at ../sysdeps/unix/syscall-template.S:81
4 Thread 0x732ff430 (LWP 1456) "mono" 0x76e9cee8 in __libc_waitpid (Cannot access memory at address 0x7e
pid=1458, stat_loc=0x732fce20, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
3 Thread 0x72ee0430 (LWP 1457) "mono" 0x76e98b30 in __pthread_cond_timedwait (Cannot access memory at address 0x1
cond=0x1642b50, mutex=0x1642b34, abstime=0x72edf700) at pthread_cond_timedwait.c:199
2 Thread 0x72bff430 (LWP 1460) "mono" 0x76e9ac50 in do_futex_timed_wait (isem=isem@entry=0x317edc, rt=rt@entry=0x72bfecd8) at ../nptl/sysdeps/unix/sysv/linux/sem_timedwait.c:41
* 1 Thread 0x76fac000 (LWP 1453) "mono" 0x76e13c80 in poll () at ../sysdeps/unix/syscall-template.S:81

Thread 6 (Thread 0x75b7b430 (LWP 1454)):
#0 0x76e9aa40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
#1 0x76e9aaf4 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 0x7331f430 (LWP 1455)):
#0 0x76e9c730 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 0x732ff430 (LWP 1456)):
Cannot access memory at address 0x7e
#0 0x76e9cee8 in __libc_waitpid (pid=1458, stat_loc=0x732fce20, 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 0x72ee0430 (LWP 1457)):
Cannot access memory at address 0x1
#0 0x76e98b30 in __pthread_cond_timedwait (cond=0x1642b50, mutex=0x1642b34, abstime=0x72edf700) 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 0x72bff430 (LWP 1460)):
#0 0x76e9ac50 in do_futex_timed_wait (isem=isem@entry=0x317edc, rt=rt@entry=0x72bfecd8) at ../nptl/sysdeps/unix/sysv/linux/sem_timedwait.c:41
#1 0x76e9ad7c in sem_timedwait (sem=0x317edc, abstime=0x72bfed1c) 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 0x76fac000 (LWP 1453)):
Cannot access memory at address 0x2
#0 0x76e13c80 in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x72f3eae4 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


Which gives me the impression that the problem actually lies with mono. Do you have any idea how to resolve this issue?
agw
Posts: 2250
Joined: Fri Feb 17, 2012 3:20 am

Re: Raspberry Pi 2B VRS not starting

Post by agw »

When you say "+ VNC" do you mean you're using VNC to access the Pi? If so then it looks like you're not alone with getting RANDR error messages:

https://www.raspberrypi.org/forums/view ... 66&t=16598

Regarding the crash when you went into Tools | Options, this is a known issue with the WinForms implementation in the Pi's Mono. The web admin plugin (currently in preview) can be used to configure VRS on the Pi. You can get the latest preview version of the server and the web admin plugin from here:

http://www.virtualradarserver.co.uk/Preview.aspx

You'll need to set up an admin user in VRS, which you can do from the command-line (instructions here: http://forum.virtualradarserver.co.uk/v ... f=11&t=970). To avoid the Tools | Options crash, and perhaps avoid the X Windows crash you're getting in GUI mode, you can run the server in headless mode by adding the -noGui switch (mono ./VirtualRadar.exe -noGui).
toxa1983
Posts: 1
Joined: Sun Mar 20, 2022 10:42 am

Re: Raspberry Pi 2B VRS not starting

Post by toxa1983 »

Raspberry Pi 2B Raspberry Pi OS Debian 11 Bullseye 32
mono-complete (6.8.0.105+dfsg-3.2) VRS v3.0.0-preview-6 Linux


on a clean system with all updates at the first launch


=================================================================
Native Crash Reporting
=================================================================
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.
=================================================================

=================================================================
Native stacktrace:
=================================================================
(No frames)


=================================================================
Telemetry Dumper:
=================================================================
Pkilling 0x74723440 from 0x76fd1240
Entering thread summarizer pause from 0x76fd1240
Finished thread summarizer pause from 0x76fd1240.

Waiting for dumping threads to resume

=================================================================
External Debugger Dump:
=================================================================
[New LWP 15224]
[New LWP 15225]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
0x76dcb4d4 in __GI___wait4 (pid=15227, stat_loc=0x7ed56060, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
27 ../sysdeps/unix/sysv/linux/wait4.c: Нет такого файла или каталога.
Id Target Id Frame
* 1 Thread 0x76fd1240 (LWP 15216) "mono" 0x76dcb4d4 in __GI___wait4 (pid=15227, stat_loc=0x7ed56060, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
2 Thread 0x763ff440 (LWP 15224) "SGen worker" futex_wait_cancelable (private=0, expected=0, futex_word=0x447698) at ../sysdeps/nptl/futex-internal.h:186
3 Thread 0x74723440 (LWP 15225) "Finalizer" futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=1, futex_word=0x43f73c) at ../sysdeps/nptl/futex-internal.h:323

Thread 3 (Thread 0x74723440 (LWP 15225) "Finalizer"):
#0 futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=1, futex_word=0x43f73c) at ../sysdeps/nptl/futex-internal.h:323
#1 do_futex_wait (sem=sem@entry=0x43f73c, abstime=0x0, clockid=0) at sem_waitcommon.c:117
#2 0x76eb8c80 in __new_sem_wait_slow (sem=0x43f73c, abstime=0x0, clockid=0) at sem_waitcommon.c:285
#3 0x002c2120 in ()

Thread 2 (Thread 0x763ff440 (LWP 15224) "SGen worker"):
#0 futex_wait_cancelable (private=0, expected=0, futex_word=0x447698) at ../sysdeps/nptl/futex-internal.h:186
#1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x0, cond=0x447670) at pthread_cond_wait.c:508
#2 __pthread_cond_wait (cond=0x447670, mutex=0x0) at pthread_cond_wait.c:638
#3 0x00327c84 in ()

Thread 1 (Thread 0x76fd1240 (LWP 15216) "mono"):
#0 0x76dcb4d4 in __GI___wait4 (pid=15227, stat_loc=0x7ed56060, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
#1 0x0009f73c in ()
[Inferior 1 (process 15216) detached]

=================================================================
Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x76eb65b0):0x76eb65a0 bc ff ff ea 98 70 00 00 f0 4f 2d e9 14 d0 4d e2 .....p...O-...M.
0x76eb65b0 24 50 90 e5 a5 31 b0 e1 28 01 00 0a 00 c0 a0 e1 $P...1..(.......
0x76eb65c0 01 50 15 e2 20 30 bc e5 00 e0 a0 e1 80 50 a0 13 .P.. 0.......P..
0x76eb65d0 0a 00 00 ea 01 10 83 e3 9f 2f 9c e1 03 00 52 e1 ........./....R.

=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at System.Windows.Forms.Application:EnableVisualStyles <0x0001b>
at VirtualRadar.Program:Main <0x001c3>
at <Module>:runtime_invoke_void_object <0x000f3>
=================================================================
Аварийный останов



P.S.
Raspberry Pi 2B OS Debian 10 Stretch 32 and Raspberry Pi 3B+ Raspberry Pi OS Debian 11 Bullseye 64bit it starts and works fine
Post Reply