VLCKit ios Private library instance xamarin crash
Hello.
We do the app using xamarin vlckit binding library. Using sharing library instance(no params given) we have not any issues.
But trying to implement private lib instance we have a crash when the page trying to destroy the vlc object. Definitely its some xamarin layer issue disposing the views etc. Would like to know if VLC team has any comments/thoughts. Any quick fix or avoid the crash method? Removing the views from content hierarchy does not make any result.
Thanks!
Some logs below.
2019-03-19 17:38:52.191922+0100 VideoSurveillance.iOS[3748:106520] killing decoder fourcc `h264' 2019-03-19 17:38:52.192393+0100 VideoSurveillance.iOS[3748:106520] removing module "avcodec" 2019-03-19 17:38:52.194157+0100 VideoSurveillance.iOS[3748:106520] saving a free vout 2019-03-19 17:38:52.194634+0100 VideoSurveillance.iOS[3748:106520] reusing provided vout 2019-03-19 17:38:52.194895+0100 VideoSurveillance.iOS[3748:106520] removing module "h264" 2019-03-19 17:38:52.195350+0100 VideoSurveillance.iOS[3748:106520] removing module "live555" 2019-03-19 17:38:52.197029+0100 VideoSurveillance.iOS[3748:106520] Program doesn't contain anymore ES 2019-03-19 17:38:52.198251+0100 VideoSurveillance.iOS[3748:105818] removing module "audiounit_ios" 2019-03-19 17:38:52.198886+0100 VideoSurveillance.iOS[3748:105818] destroying useless vout 2019-03-19 17:38:52.199173+0100 VideoSurveillance.iOS[3748:106581] removing module "ios" 2019-03-19 17:38:52.199296+0100 VideoSurveillance.iOS[3748:106581] deleting display 2019-03-19 17:38:52.200792+0100 VideoSurveillance.iOS[3748:105818] removing module "freetype" 2019-03-19 17:38:52.200991+0100 VideoSurveillance.iOS[3748:105818] removing module "yuvp" 2019-03-19 17:38:52.201108+0100 VideoSurveillance.iOS[3748:105818] removing module "swscale" 3/19/2019 5:38:52 PM State Dlink 5 changed to: Stopped 2019-03-19 17:38:54.492413+0100 VideoSurveillance.iOS[3748:105712] critical: Stacktrace: 2019-03-19 17:38:54.492644+0100 VideoSurveillance.iOS[3748:105712] critical: at <0xffffffff> 2019-03-19 17:38:54.492800+0100 VideoSurveillance.iOS[3748:105712] critical: at (wrapper managed-to-native) Foundation.NSObject.xamarin_release_managed_ref (intptr,Foundation.NSObject) [0x00008] in :0 2019-03-19 17:38:54.492960+0100 VideoSurveillance.iOS[3748:105712] critical: at Foundation.NSObject.ReleaseManagedRef () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.2.1.15/src/Xamarin.iOS/Foundation/NSObject2.cs:235 2019-03-19 17:38:54.493092+0100 VideoSurveillance.iOS[3748:105712] critical: at Foundation.NSObject/NSObject_Disposer.Drain (Foundation.NSObject) [0x00054] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.2.1.15/src/Xamarin.iOS/Foundation/NSObject2.cs:842 2019-03-19 17:38:54.493225+0100 VideoSurveillance.iOS[3748:105712] critical: at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) [0x00051] in :0 2019-03-19 17:38:54.493348+0100 VideoSurveillance.iOS[3748:105712] critical: at <0xffffffff> 2019-03-19 17:38:54.493505+0100 VideoSurveillance.iOS[3748:105712] critical: at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) [0x0005c] in :0 2019-03-19 17:38:54.493676+0100 VideoSurveillance.iOS[3748:105712] critical: at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.2.1.15/src/Xamarin.iOS/UIKit/UIApplication.cs:79 2019-03-19 17:38:54.493832+0100 VideoSurveillance.iOS[3748:105712] critical: at UIKit.UIApplication.Main (string[],string,string) [0x0002c] in /Library/Frameworks/Xamarin.iOS.framework/Versions/12.2.1.15/src/Xamarin.iOS/UIKit/UIApplication.cs:63 2019-03-19 17:38:54.494062+0100 VideoSurveillance.iOS[3748:105712] critical: at VideoSurveillance.iOS.Application.Main (string[]) [0x00001] in /Users/boru/sensio.videosurveillance/VideoSurveillance/VideoSurveillance.iOS/Main.cs:17 2019-03-19 17:38:54.494620+0100 VideoSurveillance.iOS[3748:105712] critical: at (wrapper runtime-invoke) .runtime_invoke_void_object (object,intptr,intptr,intptr) [0x00051] in <35344df9a9294e49b57b27c882fffec0>:0 2019-03-19 17:38:54.495239+0100 VideoSurveillance.iOS[3748:105712] critical: Native stacktrace: 2019-03-19 17:38:54.552805+0100 VideoSurveillance.iOS[3748:105712] critical: 0 VideoSurveillance.iOS 0x000000010d8b52a4 mono_handle_native_crash + 244 2019-03-19 17:38:54.553025+0100 VideoSurveillance.iOS[3748:105712] critical: 1 VideoSurveillance.iOS 0x000000010d8c5bc0 mono_sigsegv_signal_handler + 288 2019-03-19 17:38:54.553126+0100 VideoSurveillance.iOS[3748:105712] critical: 2 libsystem_platform.dylib 0x0000000117433b3d _sigtramp + 29 2019-03-19 17:38:54.553252+0100 VideoSurveillance.iOS[3748:105712] critical: 3 UIKitCore 0x000000011cd75a10 OBJC_CLASS_$_UIViewController + 0 2019-03-19 17:38:54.553375+0100 VideoSurveillance.iOS[3748:105712] critical: 4 libobjc.A.dylib 0x0000000115d5fdcc _ZN11objc_object17sidetable_releaseEb + 202 2019-03-19 17:38:54.553479+0100 VideoSurveillance.iOS[3748:105712] critical: 5 VideoSurveillance.iOS 0x000000010dad203d xamarin_release_managed_ref + 189 2019-03-19 17:38:54.553587+0100 VideoSurveillance.iOS[3748:105712] critical: 6 ??? 0x00000001387a802d 0x0 + 5242519597 2019-03-19 17:38:54.553705+0100 VideoSurveillance.iOS[3748:105712] critical: 7 ??? 0x0000000139de4909 0x0 + 5265836297 2019-03-19 17:38:54.553822+0100 VideoSurveillance.iOS[3748:105712] critical: 8 VideoSurveillance.iOS 0x000000010d8c8d71 mono_jit_runtime_invoke + 1441 2019-03-19 17:38:54.553935+0100 VideoSurveillance.iOS[3748:105712] critical: 9 VideoSurveillance.iOS 0x000000010d9b82df mono_runtime_invoke_checked + 127 2019-03-19 17:38:54.554043+0100 VideoSurveillance.iOS[3748:105712] critical: 10 VideoSurveillance.iOS 0x000000010d9bbc53 mono_runtime_invoke + 83 2019-03-19 17:38:54.554212+0100 VideoSurveillance.iOS[3748:105712] critical: 11 VideoSurveillance.iOS 0x000000010dada9cd xamarin_invoke_trampoline + 6109 2019-03-19 17:38:54.554463+0100 VideoSurveillance.iOS[3748:105712] critical: 12 VideoSurveillance.iOS 0x000000010dae297d xamarin_arch_trampoline + 189 2019-03-19 17:38:54.554756+0100 VideoSurveillance.iOS[3748:105712] critical: 13 VideoSurveillance.iOS 0x000000010dae3db1 xamarin_x86_64_common_trampoline + 110 2019-03-19 17:38:54.555044+0100 VideoSurveillance.iOS[3748:105712] critical: 14 Foundation 0x00000001124eac7b __NSThreadPerformPerform + 330 2019-03-19 17:38:54.555289+0100 VideoSurveillance.iOS[3748:105712] critical: 15 CoreFoundation 0x0000000114d4c721 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 17 2019-03-19 17:38:54.555511+0100 VideoSurveillance.iOS[3748:105712] critical: 16 CoreFoundation 0x0000000114d4bf93 __CFRunLoopDoSources0 + 243 2019-03-19 17:38:54.555749+0100 VideoSurveillance.iOS[3748:105712] critical: 17 CoreFoundation 0x0000000114d4663f __CFRunLoopRun + 1263 2019-03-19 17:38:54.555995+0100 VideoSurveillance.iOS[3748:105712] critical: 18 CoreFoundation 0x0000000114d45e11 CFRunLoopRunSpecific + 625 2019-03-19 17:38:54.556289+0100 VideoSurveillance.iOS[3748:105712] critical: 19 GraphicsServices 0x000000011fabf1dd GSEventRunModal + 62 2019-03-19 17:38:54.556602+0100 VideoSurveillance.iOS[3748:105712] critical: 20 UIKitCore 0x000000011c0ce81d UIApplicationMain + 140 2019-03-19 17:38:54.556896+0100 VideoSurveillance.iOS[3748:105712] critical: 21 ??? 0x00000001382ee2ce 0x0 + 5237564110 2019-03-19 17:38:54.557188+0100 VideoSurveillance.iOS[3748:105712] critical: 22 ??? 0x00000001382ee063 0x0 + 5237563491 2019-03-19 17:38:54.557432+0100 VideoSurveillance.iOS[3748:105712] critical: