You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling CameraList.GetName(int Index) causes an invalid pointer error. This occurs when using Camera.Detect() or invoking the method on an instantiated camera object. I can see no way to fix this within the wrapper - has there been a breaking change to the libgphoto2 code?
at <0xffffffff>
at (wrapper managed-to-native) object.__icall_wrapper_mono_marshal_free (intptr) <0xffffffff>
at (wrapper managed-to-native) LibGPhoto2.CameraList.gp_list_get_name (System.Runtime.InteropServices.HandleRef,int,string&) <0xffffffff>
at LibGPhoto2.CameraList.GetName (int) <0x00043>
at Gphoto2.Camera.Detect () <0x00243>
at Pi2Hardware.ScreenTest.InitCamera () <0x0000f>
at Pi2Hardware.ScreenTest.Initialise () <0x00387>
at Pi2HardwareLibrary.RealtimeHardwareControl.Run () <0x00063>
at Pi2Hardware.MainClass.Main (string[]) <0x0003b>
at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
Debug info from gdb:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x76a53440 (LWP 3927)]
0x76e54aac in waitpid () from /lib/arm-linux-gnueabihf/libpthread.so.0
Id Target Id Frame
2 Thread 0x76a53440 (LWP 3927) "Finalizer" 0x76e52770 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
1 Thread 0x76f30000 (LWP 3926) "mono" 0x76e54aac in waitpid () from /lib/arm-linux-gnueabihf/libpthread.so.0
Thread 2 (Thread 0x76a53440 (LWP 3927)):
#0 0x76e52770 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0x001619b4 in mono_sem_wait () #2 0x0010edda in ?? () #3 0x0010edda in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 1 (Thread 0x76f30000 (LWP 3926)):
#0 0x76e54aac in waitpid () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0x00087ff8 in ?? () #2 0x00087ff8 in ?? ()
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.
The text was updated successfully, but these errors were encountered:
Calling CameraList.GetName(int Index) causes an invalid pointer error. This occurs when using Camera.Detect() or invoking the method on an instantiated camera object. I can see no way to fix this within the wrapper - has there been a breaking change to the libgphoto2 code?
Output from console follows.
*** glibc detected *** mono: free(): invalid pointer: 0x73c5200c ***
Stacktrace:
at <0xffffffff>
at (wrapper managed-to-native) object.__icall_wrapper_mono_marshal_free (intptr) <0xffffffff>
at (wrapper managed-to-native) LibGPhoto2.CameraList.gp_list_get_name (System.Runtime.InteropServices.HandleRef,int,string&) <0xffffffff>
at LibGPhoto2.CameraList.GetName (int) <0x00043>
at Gphoto2.Camera.Detect () <0x00243>
at Pi2Hardware.ScreenTest.InitCamera () <0x0000f>
at Pi2Hardware.ScreenTest.Initialise () <0x00387>
at Pi2HardwareLibrary.RealtimeHardwareControl.Run () <0x00063>
at Pi2Hardware.MainClass.Main (string[]) <0x0003b>
at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
Debug info from gdb:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0x76a53440 (LWP 3927)]
0x76e54aac in waitpid () from /lib/arm-linux-gnueabihf/libpthread.so.0
Id Target Id Frame
2 Thread 0x76a53440 (LWP 3927) "Finalizer" 0x76e52770 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
Thread 2 (Thread 0x76a53440 (LWP 3927)):
#0 0x76e52770 in sem_wait@@GLIBC_2.4 () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1 0x001619b4 in mono_sem_wait ()
#2 0x0010edda in ?? ()
#3 0x0010edda in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 1 (Thread 0x76f30000 (LWP 3926)):
#0 0x76e54aac in waitpid () from /lib/arm-linux-gnueabihf/libpthread.so.0
#1 0x00087ff8 in ?? ()
#2 0x00087ff8 in ?? ()
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.
The text was updated successfully, but these errors were encountered: