I followed all the instructions on the liniux install and maestro-linux will not run I get the following error
Oh I’m running the latest version of raspberry PI Linux OS on raspberry PI 3
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) <0x00abf>
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x0005f>
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x0002b>
at Pololu.MaestroControlCenter.Program.Main () <0x0003b>
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
Debug info from gdb:
[New LWP 1437]
[New LWP 1436]
[New LWP 1435]
[New LWP 1434]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
0x76ec9ef8 in __libc_waitpid (Cannot access memory at address 0x3
pid=1438, stat_loc=0x7ed63d80, 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
5 Thread 0x75cfb430 (LWP 1434) "mono" 0x76ec7a40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
4 Thread 0x735c1430 (LWP 1435) "mono" 0x76ec57a4 in __pthread_cond_wait (Cannot access memory at address 0x1
cond=0x10184e0, mutex=0x10184c4) at pthread_cond_wait.c:187
3 Thread 0x732ff430 (LWP 1436) "mono" 0x76e40b80 in poll () at ../sysdeps/unix/syscall-template.S:81
2 Thread 0x72aff430 (LWP 1437) "mono" 0x76ec57a4 in __pthread_cond_wait (Cannot access memory at address 0x1
cond=0x1018450, mutex=0x1018434) at pthread_cond_wait.c:187
* 1 Thread 0x76fdf000 (LWP 1433) "mono" 0x76ec9ef8 in __libc_waitpid (Cannot access memory at address 0x3
pid=1438, stat_loc=0x7ed63d80, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
Thread 5 (Thread 0x75cfb430 (LWP 1434)):
#0 0x76ec7a40 in do_futex_wait (isem=isem@entry=0x3181a4) at ../nptl/sysdeps/unix/sysv/linux/sem_wait.c:48
#1 0x76ec7af4 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 4 (Thread 0x735c1430 (LWP 1435)):
Cannot access memory at address 0x1
#0 0x76ec57a4 in __pthread_cond_wait (cond=0x10184e0, mutex=0x10184c4) at pthread_cond_wait.c:187
#1 0x001f6ae8 in ?? ()
Cannot access memory at address 0x1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 3 (Thread 0x732ff430 (LWP 1436)):
#0 0x76e40b80 in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x7349b848 in ?? () from /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 2 (Thread 0x72aff430 (LWP 1437)):
Cannot access memory at address 0x1
#0 0x76ec57a4 in __pthread_cond_wait (cond=0x1018450, mutex=0x1018434) at pthread_cond_wait.c:187
#1 0x001f6ae8 in ?? ()
Cannot access memory at address 0x1
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 1 (Thread 0x76fdf000 (LWP 1433)):
Cannot access memory at address 0x3
#0 0x76ec9ef8 in __libc_waitpid (pid=1438, stat_loc=0x7ed63d80, 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
Does anyone know where to get the source for the Linux Metro app? Who ever wrote the USC control libs didnt bother commenting much and didnt put any method headers in (really bad practice) so I am having problems figuring out how to use them. Im hoping I can reverse engineer how to make the metro 18 work from the control center app code. I cant believe they advertise the great programming support on this product and turn around and provide such poor documentation on the underlying control lib.