Open lbinghamj opened 4 years ago
Can you provide a sample which reproduces this?
I'm a bit confused as you're saying "while the scanner is up, if anything else uses the camera"... What are you trying to do in your app exactly? I don't think multiple things can use the camera at the same time...
Sure, Github is limiting me to a 10MB upload, so I can't include a full app solution (zipped is 49MB) but I've attached the key files.
All I did was create a new Xamarin project (blank template) and brought in the ZXing.Net.Mobile + ZXing.Net.Mobile.Forms packages from NuGet (version 2.4.1 in this case). Then I put a scan result event in the code behind and display the barcode scanned. I'm using MVVM in my main app, but the event displays the same behavior as going through commands + binding.
In order to reproduce the issue:
I've worked around this in my main app by loading a new Scanner control in OnAppearing. Perhaps this is intended design, and I just have my expectations out of line.
As for specifics to the app, it is intended for delivery drivers and warehouse employees to scan inventory and do CRUD operations on data related to scanned inventory. The app provides the ability to take photos and apply said photos to selected inventory (damaged, proof of X, etc.). I first ran into this issue when going through the test scenario of:
I hope that helps to clear things up. Let me know if I can provide any more info!
I can add some info to this as it's one I've been struggling with in 2.4.1 (and is why I was fooling around today with a 3.0.0 beta - hoping this was fixed, but 3.0.0 un-usable ATM for other reasons. :-( Will post about that elsewhere). This is all Android only (works ok on UWP) on both a Note Edge and an S7, both running Android 6.0.1.
Here is a log file with both messages (and everything else, from initialisation to crash)... 08-12 17:09:56.145 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 0 08-12 17:09:56.255 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 1 08-12 17:09:56.270 D/Mono (19817): Assembly Ref addref Good360[0xae3ad160] -> ZXing.Net.Mobile.Core[0xae3adbe0]: 3 08-12 17:09:56.275 D/Mono (19817): Assembly Ref addref Good360[0xae3ad160] -> ZXing.Net.Mobile.Forms[0xae3adca0]: 3 08-12 17:09:56.275 D/Mono (19817): Image addref System.Collections[0x947fcea0] -> System.Collections.dll[0x94858400]: 2 08-12 17:09:56.275 D/Mono (19817): Prepared to set up assembly 'System.Collections' (System.Collections.dll) 08-12 17:09:56.275 D/Mono (19817): Assembly System.Collections[0x947fcea0] added to domain RootDomain, ref_count=1 08-12 17:09:56.280 D/Mono (19817): AOT: image 'System.Collections.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.Collections.dll.so" not found 08-12 17:09:56.280 D/Mono (19817): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/lib/mono/aot-cache/arm/System.Collections.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.Collections.dll.so" not found 08-12 17:09:56.280 D/Mono (19817): Config attempting to parse: 'System.Collections.dll.config'. 08-12 17:09:56.280 D/Mono (19817): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/etc/mono/assemblies/System.Collections/System.Collections.config'. 08-12 17:09:56.280 D/Mono (19817): Assembly Ref addref ZXing.Net.Mobile.Core[0xae3adbe0] -> System.Collections[0x947fcea0]: 2 08-12 17:09:56.280 D/Mono (19817): Assembly Ref addref System.Collections[0x947fcea0] -> mscorlib[0xae3acc80]: 43 08-12 17:09:56.280 D/Mono (19817): Assembly Ref addref ZXing.Net.Mobile.Core[0xae3adbe0] -> zxing.portable[0xae3add00]: 2 08-12 17:09:56.280 D/Mono (19817): Assembly Ref addref ZXing.Net.Mobile.Forms[0xae3adca0] -> ZXing.Net.Mobile.Core[0xae3adbe0]: 4 08-12 17:09:56.285 D/Mono (19817): Assembly Ref addref ZXing.Net.Mobile.Forms[0xae3adca0] -> zxing.portable[0xae3add00]: 3 08-12 17:09:56.285 D/Mono (19817): Assembly Ref addref Good360[0xae3ad160] -> zxing.portable[0xae3add00]: 4 Loaded assembly: System.Collections.dll [External] 08-12 17:09:56.320 D/Mono (19817): Image addref System.ObjectModel[0x947fd560] -> System.ObjectModel.dll[0x94859d00]: 2 08-12 17:09:56.320 D/Mono (19817): Prepared to set up assembly 'System.ObjectModel' (System.ObjectModel.dll) 08-12 17:09:56.320 D/Mono (19817): Assembly System.ObjectModel[0x947fd560] added to domain RootDomain, ref_count=1 08-12 17:09:56.325 D/Mono (19817): AOT: image 'System.ObjectModel.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.ObjectModel.dll.so" not found 08-12 17:09:56.325 D/Mono (19817): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/lib/mono/aot-cache/arm/System.ObjectModel.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.ObjectModel.dll.so" not found 08-12 17:09:56.325 D/Mono (19817): Config attempting to parse: 'System.ObjectModel.dll.config'. 08-12 17:09:56.325 D/Mono (19817): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/etc/mono/assemblies/System.ObjectModel/System.ObjectModel.config'. 08-12 17:09:56.325 D/Mono (19817): Assembly Ref addref ZXing.Net.Mobile.Forms[0xae3adca0] -> System.ObjectModel[0x947fd560]: 2 08-12 17:09:56.325 D/Mono (19817): Assembly Ref addref System.ObjectModel[0x947fd560] -> System[0xae9e7fc0]: 12 Loaded assembly: System.ObjectModel.dll [External] 08-12 17:09:56.370 D/Mono (19817): Image addref System.Threading[0x947fd740] -> System.Threading.dll[0x9485a200]: 2 08-12 17:09:56.370 D/Mono (19817): Prepared to set up assembly 'System.Threading' (System.Threading.dll) 08-12 17:09:56.370 D/Mono (19817): Assembly System.Threading[0x947fd740] added to domain RootDomain, ref_count=1 08-12 17:09:56.370 D/Mono (19817): AOT: image 'System.Threading.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.Threading.dll.so" not found 08-12 17:09:56.370 D/Mono (19817): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/lib/mono/aot-cache/arm/System.Threading.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.Threading.dll.so" not found 08-12 17:09:56.370 D/Mono (19817): Config attempting to parse: 'System.Threading.dll.config'. 08-12 17:09:56.370 D/Mono (19817): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/etc/mono/assemblies/System.Threading/System.Threading.config'. 08-12 17:09:56.370 D/Mono (19817): Assembly Ref addref ZXing.Net.Mobile.Forms[0xae3adca0] -> System.Threading[0x947fd740]: 2 08-12 17:09:56.370 D/Mono (19817): Assembly Ref addref System.Threading[0x947fd740] -> mscorlib[0xae3acc80]: 44 Loaded assembly: System.Threading.dll [External] [0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText' [0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText' [0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton' [0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText' [0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText' [0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton' 08-12 17:09:56.680 D/Mono (19817): Assembly Ref addref ZXing.Net.Mobile.Forms.Android[0xae3adc40] -> ZXing.Net.Mobile.Core[0xae3adbe0]: 5 08-12 17:09:56.685 D/Mono (19817): Assembly Ref addref ZXingNetMobile[0xae3add60] -> zxing.portable[0xae3add00]: 5 08-12 17:09:56.685 D/Mono (19817): Assembly Ref addref ZXing.Net.Mobile.Forms.Android[0xae3adc40] -> zxing.portable[0xae3add00]: 6 08-12 17:09:56.690 D/Mono (19817): Assembly Ref addref ZXingNetMobile[0xae3add60] -> Xamarin.Android.Support.v4[0xae3ad760]: 2 08-12 17:09:56.690 D/Mono (19817): Assembly Ref addref Xamarin.Android.Support.v4[0xae3ad760] -> Xamarin.Android.Support.Fragment[0xae3ad640]: 4 08-12 17:09:56.690 D/Mono (19817): Assembly Ref addref ZXingNetMobile[0xae3add60] -> System.Core[0xae9e7240]: 7 08-12 17:09:56.705 D/Mono (19817): DllImport searching in: '__Internal' ('(null)'). 08-12 17:09:56.705 D/Mono (19817): Searching for 'java_interop_jnienv_get_object_field'. 08-12 17:09:56.705 D/Mono (19817): Probing 'java_interop_jnienv_get_object_field'. 08-12 17:09:56.705 D/Mono (19817): Found as 'java_interop_jnienv_get_object_field'. 08-12 17:09:56.715 D/Mono (19817): Assembly Ref addref Xamarin.Android.Support.v4[0xae3ad760] -> Xamarin.Android.Support.Compat[0xae3ad460]: 6 08-12 17:09:56.740 D/Mono (19817): Assembly Ref addref ZXingNetMobile[0xae3add60] -> FastAndroidCamera[0xae3acda0]: 2 08-12 17:09:56.740 D/Mono (19817): Assembly Ref addref FastAndroidCamera[0xae3acda0] -> Mono.Android[0xae3addc0]: 28 08-12 17:09:56.790 D/TextView(19817): setTypeface with style : 0 08-12 17:09:56.835 I/Choreographer(19817): Skipped 32 frames! The application may be doing too much work on its main thread. 08-12 17:09:56.900 D/Mono (19817): Image addref System.Runtime.Extensions[0x947fe640] -> System.Runtime.Extensions.dll[0x9485bb00]: 2 08-12 17:09:56.900 D/Mono (19817): Prepared to set up assembly 'System.Runtime.Extensions' (System.Runtime.Extensions.dll) 08-12 17:09:56.900 D/Mono (19817): Assembly System.Runtime.Extensions[0x947fe640] added to domain RootDomain, ref_count=1 08-12 17:09:56.905 D/Mono (19817): AOT: image 'System.Runtime.Extensions.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.Runtime.Extensions.dll.so" not found 08-12 17:09:56.905 D/Mono (19817): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/lib/mono/aot-cache/arm/System.Runtime.Extensions.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.Runtime.Extensions.dll.so" not found 08-12 17:09:56.905 D/Mono (19817): Config attempting to parse: 'System.Runtime.Extensions.dll.config'. 08-12 17:09:56.905 D/Mono (19817): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/etc/mono/assemblies/System.Runtime.Extensions/System.Runtime.Extensions.config'. 08-12 17:09:56.905 D/Mono (19817): Assembly Ref addref ZXing.Net.Mobile.Core[0xae3adbe0] -> System.Runtime.Extensions[0x947fe640]: 2 08-12 17:09:56.905 D/Mono (19817): Assembly Ref addref System.Runtime.Extensions[0x947fe640] -> System[0xae9e7fc0]: 13 08-12 17:09:56.910 D/Mono (19817): Assembly Ref addref FastAndroidCamera[0xae3acda0] -> Java.Interop[0xae3ade20]: 10 Loaded assembly: System.Runtime.Extensions.dll [External] 08-12 17:09:57.055 D/ZXing.Net.Mobile(19817): Checking android.permission.CAMERA... 08-12 17:09:57.060 D/Mono (19817): Image addref System.Diagnostics.Debug[0x947fe880] -> System.Diagnostics.Debug.dll[0x980c7c00]: 2 08-12 17:09:57.060 D/Mono (19817): Prepared to set up assembly 'System.Diagnostics.Debug' (System.Diagnostics.Debug.dll) 08-12 17:09:57.060 D/Mono (19817): Assembly System.Diagnostics.Debug[0x947fe880] added to domain RootDomain, ref_count=1 Loaded assembly: System.Diagnostics.Debug.dll [External]08-12 17:09:57.060 D/Mono (19817): AOT: image 'System.Diagnostics.Debug.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.Diagnostics.Debug.dll.so" not found
08-12 17:09:57.060 D/Mono (19817): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/lib/mono/aot-cache/arm/System.Diagnostics.Debug.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.Diagnostics.Debug.dll.so" not found
08-12 17:09:57.060 D/Mono (19817): Config attempting to parse: 'System.Diagnostics.Debug.dll.config'.
08-12 17:09:57.060 D/Mono (19817): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/etc/mono/assemblies/System.Diagnostics.Debug/System.Diagnostics.Debug.config'.
08-12 17:09:57.060 D/Mono (19817): Assembly Ref addref ZXing.Net.Mobile.Core[0xae3adbe0] -> System.Diagnostics.Debug[0x947fe880]: 2
08-12 17:09:57.060 D/Mono (19817): Assembly Ref addref System.Diagnostics.Debug[0x947fe880] -> mscorlib[0xae3acc80]: 45
08-12 17:09:57.105 D/Mono (19817): Image addref System.Threading.Tasks[0x947fe9a0] -> System.Threading.Tasks.dll[0x94739000]: 2
08-12 17:09:57.105 D/Mono (19817): Prepared to set up assembly 'System.Threading.Tasks' (System.Threading.Tasks.dll)
08-12 17:09:57.105 D/Mono (19817): Assembly System.Threading.Tasks[0x947fe9a0] added to domain RootDomain, ref_count=1
08-12 17:09:57.110 D/Mono (19817): AOT: image 'System.Threading.Tasks.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.Threading.Tasks.dll.so" not found
08-12 17:09:57.110 D/Mono (19817): AOT: image '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/lib/mono/aot-cache/arm/System.Threading.Tasks.dll.so' not found: dlopen failed: library "/data/app/com.companyname.Inventory-1/lib/arm/libaot-System.Threading.Tasks.dll.so" not found
08-12 17:09:57.110 D/Mono (19817): Config attempting to parse: 'System.Threading.Tasks.dll.config'.
08-12 17:09:57.110 D/Mono (19817): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/etc/mono/assemblies/System.Threading.Tasks/System.Threading.Tasks.config'.
08-12 17:09:57.110 D/Mono (19817): Assembly Ref addref ZXing.Net.Mobile.Core[0xae3adbe0] -> System.Threading.Tasks[0x947fe9a0]: 2
08-12 17:09:57.110 D/Mono (19817): Assembly Ref addref System.Threading.Tasks[0x947fe9a0] -> mscorlib[0xae3acc80]: 46
Loaded assembly: System.Threading.Tasks.dll [External]
08-12 17:09:57.140 D/ZXing.Net.Mobile(19817): Checking Number of cameras...
08-12 17:09:57.165 D/ZXing.Net.Mobile(19817): Found 2 cameras...
08-12 17:09:57.180 D/ZXing.Net.Mobile(19817): Found Back Camera, opening...
08-12 17:09:57.290 D/Mono (19817): DllImport searching in: '__Internal' ('(null)').
08-12 17:09:57.290 D/Mono (19817): Searching for 'java_interop_jnienv_call_int_method'.
08-12 17:09:57.290 D/Mono (19817): Probing 'java_interop_jnienv_call_int_method'.
08-12 17:09:57.290 D/Mono (19817): Found as 'java_interop_jnienv_call_int_method'.
08-12 17:09:57.325 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:09:57.350 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:09:57.365 D/Mono (19817): DllImport searching in: 'Internal' ('(null)').
08-12 17:09:57.365 D/Mono (19817): Searching for 'java_interop_jnienv_get_byte_array_elements'.
08-12 17:09:57.365 D/Mono (19817): Probing 'java_interop_jnienv_get_byte_array_elements'.
08-12 17:09:57.365 D/Mono (19817): Found as 'java_interop_jnienv_get_byte_array_elements'.
08-12 17:09:57.370 D/Mono (19817): DllImport searching in: 'Internal' ('(null)').
08-12 17:09:57.370 D/Mono (19817): Searching for 'java_interop_jnienv_release_byte_array_elements'.
08-12 17:09:57.370 D/Mono (19817): Probing 'java_interop_jnienv_release_byte_array_elements'.
08-12 17:09:57.370 D/Mono (19817): Found as 'java_interop_jnienv_release_byte_array_elements'.
08-12 17:09:58.095 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:09:58.110 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:09:58.160 I/Choreographer(19817): Skipped 77 frames! The application may be doing too much work on its main thread.
08-12 17:09:58.260 D/Mono (19817): Unloading image System.Collections.dll [0x9473a900].
08-12 17:09:58.260 D/Mono (19817): Image addref System.Collections[0x947fcb40] -> System.Collections.dll[0x94858400]: 5
08-12 17:09:58.260 D/Mono (19817): Config attempting to parse: 'System.Collections.dll.config'.
08-12 17:09:58.260 D/Mono (19817): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/etc/mono/assemblies/System.Collections/System.Collections.config'.
08-12 17:09:58.260 D/Mono (19817): Assembly Ref addref zxing.portable[0xae3add00] -> System.Collections[0x947fcea0]: 3
08-12 17:09:58.285 D/Mono (19817): Unloading image System.Threading.dll [0x9473a900].
08-12 17:09:58.285 D/Mono (19817): Image addref System.Threading[0x947fdaa0] -> System.Threading.dll[0x9485a200]: 5
08-12 17:09:58.285 D/Mono (19817): Config attempting to parse: 'System.Threading.dll.config'.
08-12 17:09:58.285 D/Mono (19817): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/etc/mono/assemblies/System.Threading/System.Threading.config'.
08-12 17:09:58.285 D/Mono (19817): Assembly Ref addref zxing.portable[0xae3add00] -> System.Threading[0x947fd740]: 3
08-12 17:09:58.435 D/Mono (19817): Unloading image System.Runtime.Extensions.dll [0x9473a400].
08-12 17:09:58.435 D/Mono (19817): Image addref System.Runtime.Extensions[0x947fd620] -> System.Runtime.Extensions.dll[0x9485bb00]: 5
08-12 17:09:58.435 D/Mono (19817): Config attempting to parse: 'System.Runtime.Extensions.dll.config'.
08-12 17:09:58.435 D/Mono (19817): Config attempting to parse: '/Users/builder/jenkins/workspace/xamarin-android-d15-9/xamarin-android/external/mono/sdks/out/android-armeabi-v7a-release/etc/mono/assemblies/System.Runtime.Extensions/System.Runtime.Extensions.config'.
08-12 17:09:58.435 D/Mono (19817): Assembly Ref addref zxing.portable[0xae3add00] -> System.Runtime.Extensions[0x947fe640]: 3
08-12 17:09:58.435 D/Mono (19817): Assembly Ref addref System.Runtime.Extensions[0x947fe640] -> mscorlib[0xae3acc80]: 47
08-12 17:09:59.855 I/art (19817): Starting a blocking GC Explicit
08-12 17:09:59.860 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:09:59.870 I/art (19817): Explicit concurrent mark sweep GC freed 18608(1316KB) AllocSpace objects, 30(1740KB) LOS objects, 48% free, 16MB/32MB, paused 252us total 17.606ms
08-12 17:09:59.875 D/Mono (19817): GC_TAR_BRIDGE bridges 270 objects 278 opaque 1 colors 270 colors-bridged 270 colors-visible 270 xref 1 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.05ms tarjan 0.18ms scc-setup 0.10ms gather-xref 0.01ms xref-setup 0.00ms cleanup 0.14ms
08-12 17:09:59.875 D/Mono (19817): GC_BRIDGE: Complete, was running for 21.75ms
08-12 17:09:59.875 D/Mono (19817): GC_MAJOR: (LOS overflow) time 13.74ms, stw 14.87ms los size: 5120K in use: 2203K
08-12 17:09:59.875 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1760K in use: 812K
08-12 17:10:01.525 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:01.540 I/art (19817): Explicit concurrent mark sweep GC freed 4152(352KB) AllocSpace objects, 2(1216KB) LOS objects, 50% free, 15MB/31MB, paused 297us total 14.355ms
08-12 17:10:01.540 D/Mono (19817): GC_TAR_BRIDGE bridges 159 objects 165 opaque 1 colors 159 colors-bridged 159 colors-visible 159 xref 1 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.07ms tarjan 0.11ms scc-setup 0.10ms gather-xref 0.01ms xref-setup 0.00ms cleanup 0.05ms
08-12 17:10:01.540 D/Mono (19817): GC_BRIDGE: Complete, was running for 16.91ms
08-12 17:10:01.540 D/Mono (19817): GC_MAJOR: (LOS overflow) time 9.90ms, stw 10.98ms los size: 7168K in use: 3553K
08-12 17:10:01.540 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1696K in use: 756K
08-12 17:10:01.825 D/ZXing.Net.Mobile(19817): Barcode Found
08-12 17:10:01.870 D/Camera (19817): app passed NULL surface
08-12 17:10:02.895 W/CameraBase(19817): Camera service died!
08-12 17:10:04.220 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 0
08-12 17:10:04.310 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 1
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
08-12 17:10:04.405 D/TextView(19817): setTypeface with style : 0
08-12 17:10:04.430 D/ZXing.Net.Mobile(19817): Checking android.permission.CAMERA...
08-12 17:10:04.430 D/ZXing.Net.Mobile(19817): Checking Number of cameras...
08-12 17:10:04.430 I/ServiceManager(19817): Waiting for service media.camera...
08-12 17:10:05.430 D/ZXing.Net.Mobile(19817): Found 2 cameras...
08-12 17:10:05.435 D/ZXing.Net.Mobile(19817): Found Back Camera, opening...
08-12 17:10:05.450 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:10:05.450 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:10:06.150 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:10:06.160 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:10:06.205 I/Choreographer(19817): Skipped 104 frames! The application may be doing too much work on its main thread.
08-12 17:10:07.485 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:07.485 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:07.510 I/art (19817): Explicit concurrent mark sweep GC freed 5557(473KB) AllocSpace objects, 5(4MB) LOS objects, 50% free, 15MB/31MB, paused 739us total 25.154ms
08-12 17:10:07.515 D/Mono (19817): GC_TAR_BRIDGE bridges 191 objects 919 opaque 357 colors 194 colors-bridged 191 colors-visible 191 xref 4 cache-hit 0 cache-semihit 0 cache-miss 3 setup 0.14ms tarjan 1.59ms scc-setup 0.17ms gather-xref 0.02ms xref-setup 0.06ms cleanup 0.09ms
08-12 17:10:07.515 D/Mono (19817): GC_BRIDGE: Complete, was running for 29.47ms
08-12 17:10:07.515 D/Mono (19817): GC_MAJOR: (LOS overflow) time 27.24ms, stw 28.19ms los size: 5120K in use: 2203K
08-12 17:10:07.515 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1792K in use: 803K
Thread started: #8
08-12 17:10:09.170 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:09.170 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:09.195 I/art (19817): Explicit concurrent mark sweep GC freed 3205(245KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 15MB/31MB, paused 533us total 22.252ms
08-12 17:10:09.195 D/Mono (19817): GC_TAR_BRIDGE bridges 131 objects 137 opaque 1 colors 131 colors-bridged 131 colors-visible 131 xref 1 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.22ms tarjan 0.30ms scc-setup 0.07ms gather-xref 0.01ms xref-setup 0.00ms cleanup 0.05ms
08-12 17:10:09.195 D/Mono (19817): GC_BRIDGE: Complete, was running for 26.37ms
08-12 17:10:09.195 D/Mono (19817): GC_MAJOR: (LOS overflow) time 26.10ms, stw 27.20ms los size: 4096K in use: 1528K
08-12 17:10:09.195 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1744K in use: 754K
08-12 17:10:10.885 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:10.895 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:10.900 I/art (19817): Explicit concurrent mark sweep GC freed 2102(171KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 15MB/31MB, paused 253us total 12.898ms
08-12 17:10:10.900 D/Mono (19817): GC_TAR_BRIDGE bridges 108 objects 114 opaque 1 colors 108 colors-bridged 108 colors-visible 108 xref 1 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.09ms tarjan 0.08ms scc-setup 0.09ms gather-xref 0.01ms xref-setup 0.00ms cleanup 0.06ms
08-12 17:10:10.900 D/Mono (19817): GC_BRIDGE: Complete, was running for 14.73ms
08-12 17:10:10.900 D/Mono (19817): GC_MAJOR: (LOS overflow) time 10.14ms, stw 11.39ms los size: 5120K in use: 2203K
08-12 17:10:10.900 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1824K in use: 798K
08-12 17:10:12.640 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:12.655 I/art (19817): Explicit concurrent mark sweep GC freed 2521(205KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 15MB/31MB, paused 234us total 10.795ms
08-12 17:10:12.655 D/Mono (19817): GC_TAR_BRIDGE bridges 111 objects 117 opaque 1 colors 111 colors-bridged 111 colors-visible 111 xref 1 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.06ms tarjan 0.06ms scc-setup 0.08ms gather-xref 0.00ms xref-setup 0.00ms cleanup 0.04ms
08-12 17:10:12.655 D/Mono (19817): GC_BRIDGE: Complete, was running for 12.40ms
08-12 17:10:12.655 D/Mono (19817): GC_MAJOR: (LOS overflow) time 8.29ms, stw 10.72ms los size: 6144K in use: 2878K
08-12 17:10:12.655 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1744K in use: 745K
08-12 17:10:14.280 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:14.295 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:14.300 I/art (19817): Explicit concurrent mark sweep GC freed 2519(205KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 15MB/31MB, paused 517us total 19.528ms
08-12 17:10:14.300 D/Mono (19817): GC_TAR_BRIDGE bridges 111 objects 117 opaque 1 colors 111 colors-bridged 111 colors-visible 111 xref 1 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.13ms tarjan 0.12ms scc-setup 0.11ms gather-xref 0.01ms xref-setup 0.00ms cleanup 0.05ms
08-12 17:10:14.300 D/Mono (19817): GC_BRIDGE: Complete, was running for 21.79ms
08-12 17:10:14.300 D/Mono (19817): GC_MAJOR: (LOS overflow) time 15.55ms, stw 16.24ms los size: 5120K in use: 2203K
08-12 17:10:14.300 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1744K in use: 745K
08-12 17:10:15.935 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:15.940 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:15.960 I/art (19817): Explicit concurrent mark sweep GC freed 2511(205KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 15MB/31MB, paused 604us total 23.034ms
08-12 17:10:15.960 D/Mono (19817): GC_TAR_BRIDGE bridges 111 objects 117 opaque 1 colors 111 colors-bridged 111 colors-visible 111 xref 1 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.16ms tarjan 0.15ms scc-setup 0.13ms gather-xref 0.01ms xref-setup 0.00ms cleanup 0.06ms
08-12 17:10:15.965 D/Mono (19817): GC_BRIDGE: Complete, was running for 26.19ms
08-12 17:10:15.965 D/Mono (19817): GC_MAJOR: (LOS overflow) time 24.60ms, stw 25.47ms los size: 4096K in use: 1528K
08-12 17:10:15.965 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1744K in use: 745K
08-12 17:10:17.740 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:17.745 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:17.750 I/art (19817): Explicit concurrent mark sweep GC freed 2108(171KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 15MB/31MB, paused 244us total 10.632ms
08-12 17:10:17.755 D/Mono (19817): GC_TAR_BRIDGE bridges 108 objects 114 opaque 1 colors 108 colors-bridged 108 colors-visible 108 xref 1 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.07ms tarjan 0.06ms scc-setup 0.08ms gather-xref 0.00ms xref-setup 0.00ms cleanup 0.03ms
08-12 17:10:17.755 D/Mono (19817): GC_BRIDGE: Complete, was running for 12.25ms
08-12 17:10:17.755 D/Mono (19817): GC_MAJOR: (LOS overflow) time 8.78ms, stw 9.83ms los size: 5120K in use: 2203K
08-12 17:10:17.755 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1824K in use: 795K
08-12 17:10:19.620 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:19.620 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:19.635 I/art (19817): Explicit concurrent mark sweep GC freed 2519(205KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 15MB/31MB, paused 358us total 13.676ms
08-12 17:10:19.635 D/Mono (19817): GC_TAR_BRIDGE bridges 111 objects 117 opaque 1 colors 111 colors-bridged 111 colors-visible 111 xref 1 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.06ms tarjan 0.08ms scc-setup 0.10ms gather-xref 0.01ms xref-setup 0.00ms cleanup 0.04ms
08-12 17:10:19.635 D/Mono (19817): GC_BRIDGE: Complete, was running for 15.59ms
08-12 17:10:19.635 D/Mono (19817): GC_MAJOR: (LOS overflow) time 11.15ms, stw 12.21ms los size: 6144K in use: 2878K
08-12 17:10:19.635 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1744K in use: 745K
08-12 17:10:21.165 D/ZXing.Net.Mobile(19817): Barcode Found
08-12 17:10:21.165 D/Camera (19817): app passed NULL surface
08-12 17:10:21.990 W/CameraBase(19817): mediaserver's remote binder Camera object died
08-12 17:10:21.990 W/CameraBase(19817): Camera service died!
08-12 17:10:21.990 W/Camera-JNI(19817): callback on dead camera object
08-12 17:10:23.400 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 0
08-12 17:10:23.525 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 1
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
08-12 17:10:23.600 D/TextView(19817): setTypeface with style : 0
08-12 17:10:23.620 D/ZXing.Net.Mobile(19817): Checking android.permission.CAMERA...
08-12 17:10:23.620 D/ZXing.Net.Mobile(19817): Checking Number of cameras...
08-12 17:10:24.050 D/ZXing.Net.Mobile(19817): Found 2 cameras...
08-12 17:10:24.050 D/ZXing.Net.Mobile(19817): Found Back Camera, opening...
08-12 17:10:24.070 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:10:24.075 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:10:24.735 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:10:24.750 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:10:24.795 I/Choreographer(19817): Skipped 69 frames! The application may be doing too much work on its main thread.
08-12 17:10:24.875 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:24.875 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:24.910 I/art (19817): Explicit concurrent mark sweep GC freed 5466(469KB) AllocSpace objects, 5(4MB) LOS objects, 50% free, 15MB/31MB, paused 415us total 33.570ms
08-12 17:10:24.910 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:24.915 D/Mono (19817): GC_TAR_BRIDGE bridges 191 objects 938 opaque 365 colors 194 colors-bridged 191 colors-visible 191 xref 5 cache-hit 0 cache-semihit 0 cache-miss 3 setup 0.29ms tarjan 5.86ms scc-setup 0.17ms gather-xref 0.02ms xref-setup 0.17ms cleanup 0.13ms
08-12 17:10:24.915 D/Mono (19817): GC_BRIDGE: Complete, was running for 38.14ms
08-12 17:10:24.915 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1792K in use: 866K
08-12 17:10:24.915 D/Mono (19817): GC_MAJOR: (LOS overflow) time 43.16ms, stw 46.96ms los size: 5120K in use: 2203K
08-12 17:10:26.610 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:26.610 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:26.635 I/art (19817): Explicit concurrent mark sweep GC freed 3262(247KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 15MB/31MB, paused 662us total 22.714ms
08-12 17:10:26.635 D/Mono (19817): GC_TAR_BRIDGE bridges 134 objects 140 opaque 1 colors 134 colors-bridged 134 colors-visible 134 xref 1 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.19ms tarjan 0.30ms scc-setup 0.08ms gather-xref 0.01ms xref-setup 0.01ms cleanup 0.06ms
08-12 17:10:26.635 D/Mono (19817): GC_BRIDGE: Complete, was running for 25.83ms
08-12 17:10:26.635 D/Mono (19817): GC_MAJOR: (LOS overflow) time 25.61ms, stw 26.72ms los size: 4096K in use: 1528K
08-12 17:10:26.635 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1728K in use: 753K
08-12 17:10:26.725 D/ZXing.Net.Mobile(19817): Barcode Found
08-12 17:10:26.730 D/Camera (19817): app passed NULL surface
08-12 17:10:27.555 W/CameraBase(19817): Camera service died!
08-12 17:10:28.585 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 0
08-12 17:10:28.645 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 1
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
08-12 17:10:28.730 D/TextView(19817): setTypeface with style : 0
08-12 17:10:28.750 D/ZXing.Net.Mobile(19817): Checking android.permission.CAMERA...
08-12 17:10:28.750 D/ZXing.Net.Mobile(19817): Checking Number of cameras...
08-12 17:10:28.750 I/ServiceManager(19817): Waiting for service media.camera...
08-12 17:10:29.760 D/ZXing.Net.Mobile(19817): Found 2 cameras...
08-12 17:10:29.775 D/ZXing.Net.Mobile(19817): Found Back Camera, opening...
08-12 17:10:29.840 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:10:29.850 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:10:30.490 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:10:30.505 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:10:30.555 I/Choreographer(19817): Skipped 107 frames! The application may be doing too much work on its main thread.
08-12 17:10:32.045 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:32.045 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:32.070 I/art (19817): Explicit concurrent mark sweep GC freed 5543(472KB) AllocSpace objects, 5(4MB) LOS objects, 50% free, 15MB/31MB, paused 721us total 25.063ms
08-12 17:10:32.075 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:32.075 D/Mono (19817): GC_TAR_BRIDGE bridges 194 objects 922 opaque 359 colors 197 colors-bridged 194 colors-visible 194 xref 4 cache-hit 0 cache-semihit 0 cache-miss 3 setup 0.15ms tarjan 1.49ms scc-setup 0.15ms gather-xref 0.02ms xref-setup 0.06ms cleanup 0.11ms
08-12 17:10:32.075 D/Mono (19817): GC_BRIDGE: Complete, was running for 29.65ms
08-12 17:10:32.075 D/Mono (19817): GC_MAJOR: (LOS overflow) time 28.34ms, stw 29.26ms los size: 3072K in use: 853K
08-12 17:10:32.075 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1776K in use: 800K
08-12 17:10:33.300 D/ZXing.Net.Mobile(19817): Barcode Found
08-12 17:10:33.300 D/Camera (19817): app passed NULL surface
08-12 17:10:33.980 W/CameraBase(19817): mediaserver's remote binder Camera object died
08-12 17:10:33.980 W/CameraBase(19817): Camera service died!
08-12 17:10:33.985 E/Camera (19817): Error 100
08-12 17:10:35.085 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 0
08-12 17:10:35.200 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 1
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
08-12 17:10:35.315 D/TextView(19817): setTypeface with style : 0
08-12 17:10:35.355 D/ZXing.Net.Mobile(19817): Checking android.permission.CAMERA...
08-12 17:10:35.360 D/ZXing.Net.Mobile(19817): Checking Number of cameras...
08-12 17:10:35.360 I/ServiceManager(19817): Waiting for service media.camera...
08-12 17:10:36.360 I/ServiceManager(19817): Waiting for service media.camera...
08-12 17:10:37.360 I/ServiceManager(19817): Waiting for service media.camera...
08-12 17:10:38.360 I/ServiceManager(19817): Waiting for service media.camera...
08-12 17:10:39.365 I/ServiceManager(19817): Waiting for service media.camera...
08-12 17:10:40.365 W/CameraBase(19817): CameraService not published, waiting...
08-12 17:10:40.865 I/ServiceManager(19817): Waiting for service media.camera...
08-12 17:10:41.865 I/ServiceManager(19817): Waiting for service media.camera...
08-12 17:10:43.005 D/ZXing.Net.Mobile(19817): Found 2 cameras...
08-12 17:10:43.010 D/ZXing.Net.Mobile(19817): Found Back Camera, opening...
08-12 17:10:43.025 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:10:43.030 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:10:43.715 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:10:43.730 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:10:43.770 I/Choreographer(19817): Skipped 497 frames! The application may be doing too much work on its main thread.
08-12 17:10:43.955 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:43.970 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:43.975 I/art (19817): Explicit concurrent mark sweep GC freed 5759(475KB) AllocSpace objects, 5(4MB) LOS objects, 50% free, 15MB/31MB, paused 256us total 21.905ms
08-12 17:10:43.980 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:43.980 D/Mono (19817): GC_TAR_BRIDGE bridges 212 objects 959 opaque 365 colors 215 colors-bridged 212 colors-visible 212 xref 5 cache-hit 0 cache-semihit 0 cache-miss 3 setup 0.07ms tarjan 0.71ms scc-setup 0.17ms gather-xref 0.01ms xref-setup 0.05ms cleanup 0.07ms
08-12 17:10:43.980 D/Mono (19817): GC_BRIDGE: Complete, was running for 24.64ms
08-12 17:10:43.980 D/Mono (19817): GC_MAJOR: (LOS overflow) time 11.05ms, stw 13.37ms los size: 5120K in use: 2203K
08-12 17:10:43.980 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1952K in use: 857K
08-12 17:10:44.820 D/ZXing.Net.Mobile(19817): Barcode Found
08-12 17:10:44.820 D/Camera (19817): app passed NULL surface
08-12 17:10:45.560 W/CameraBase(19817): Camera service died!
08-12 17:10:47.045 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 0
08-12 17:10:47.160 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 1
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
08-12 17:10:47.240 D/TextView(19817): setTypeface with style : 0
08-12 17:10:47.260 D/ZXing.Net.Mobile(19817): Checking android.permission.CAMERA...
08-12 17:10:47.260 D/ZXing.Net.Mobile(19817): Checking Number of cameras...
08-12 17:10:47.445 D/ZXing.Net.Mobile(19817): Found 2 cameras...
08-12 17:10:47.445 D/ZXing.Net.Mobile(19817): Found Back Camera, opening...
08-12 17:10:47.465 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:10:47.465 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:10:48.125 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:10:48.145 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:10:48.200 I/Choreographer(19817): Skipped 55 frames! The application may be doing too much work on its main thread.
08-12 17:10:48.930 I/art (19817): Starting a blocking GC Explicit
08-12 17:10:48.935 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:48.945 I/art (19817): Explicit concurrent mark sweep GC freed 6230(512KB) AllocSpace objects, 5(4MB) LOS objects, 50% free, 15MB/31MB, paused 339us total 16.853ms
08-12 17:10:48.950 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:10:48.950 D/Mono (19817): GC_TAR_BRIDGE bridges 218 objects 945 opaque 359 colors 221 colors-bridged 218 colors-visible 218 xref 4 cache-hit 0 cache-semihit 0 cache-miss 3 setup 0.08ms tarjan 0.87ms scc-setup 0.24ms gather-xref 0.01ms xref-setup 0.02ms cleanup 0.10ms
08-12 17:10:48.950 D/Mono (19817): GC_BRIDGE: Complete, was running for 20.44ms
08-12 17:10:48.950 D/Mono (19817): GC_MAJOR: (LOS overflow) time 12.33ms, stw 13.44ms los size: 6144K in use: 2878K
08-12 17:10:48.950 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1888K in use: 808K
08-12 17:10:50.170 D/ZXing.Net.Mobile(19817): Barcode Found
08-12 17:10:50.170 D/Camera (19817): app passed NULL surface
08-12 17:10:50.920 W/CameraBase(19817): Camera service died!
08-12 17:10:52.020 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 0
08-12 17:10:52.135 D/ViewRootImpl(19817): ViewPostImeInputStage processPointer 1
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
08-12 17:10:52.195 D/TextView(19817): setTypeface with style : 0
08-12 17:10:52.215 D/ZXing.Net.Mobile(19817): Checking android.permission.CAMERA...
08-12 17:10:52.215 D/ZXing.Net.Mobile(19817): Checking Number of cameras...
08-12 17:10:52.215 I/ServiceManager(19817): Waiting for service media.camera...
Thread finished:
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
[0:] Binding: 'DefaultOverlayTopText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.TopText'
[0:] Binding: 'DefaultOverlayBottomText' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.BottomText'
[0:] Binding: 'DefaultOverlayShowFlashButton' property not found on 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay', target property: 'ZXing.Net.Mobile.Forms.ZXingDefaultOverlay.ShowFlashButton'
08-12 17:11:51.270 D/TextView(19817): setTypeface with style : 0
08-12 17:11:51.290 D/ZXing.Net.Mobile(19817): Checking android.permission.CAMERA...
08-12 17:11:51.290 D/ZXing.Net.Mobile(19817): Checking Number of cameras...
08-12 17:11:51.290 I/ServiceManager(19817): Waiting for service media.camera...
08-12 17:11:52.290 D/ZXing.Net.Mobile(19817): Found 2 cameras...
08-12 17:11:52.295 D/ZXing.Net.Mobile(19817): Found Back Camera, opening...
08-12 17:11:52.340 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:11:52.350 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:11:53.015 D/ZXing.Net.Mobile(19817): Selected Resolution: 960x720
08-12 17:11:53.030 D/ZXing.Net.Mobile(19817): Changing Camera Orientation to: 90
08-12 17:11:53.065 I/Choreographer(19817): Skipped 104 frames! The application may be doing too much work on its main thread.
08-12 17:11:53.155 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:11:53.160 I/art (19817): Starting a blocking GC Explicit
08-12 17:11:53.185 I/art (19817): Explicit concurrent mark sweep GC freed 5473(470KB) AllocSpace objects, 5(4MB) LOS objects, 50% free, 15MB/31MB, paused 471us total 28.798ms
08-12 17:11:53.190 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:11:53.190 D/Mono (19817): GC_TAR_BRIDGE bridges 215 objects 962 opaque 365 colors 218 colors-bridged 215 colors-visible 215 xref 5 cache-hit 0 cache-semihit 0 cache-miss 3 setup 0.21ms tarjan 2.02ms scc-setup 0.24ms gather-xref 0.02ms xref-setup 0.05ms cleanup 0.16ms
08-12 17:11:53.190 D/Mono (19817): GC_BRIDGE: Complete, was running for 33.79ms
08-12 17:11:53.190 D/Mono (19817): GC_MAJOR: (LOS overflow) time 36.72ms, stw 38.08ms los size: 5120K in use: 2203K
08-12 17:11:53.190 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1872K in use: 802K
08-12 17:11:54.940 I/art (19817): Starting a blocking GC Explicit
08-12 17:11:54.950 D/Mono (19817): GC_BRIDGE waiting for bridge processing to finish
08-12 17:11:54.960 I/art (19817): Explicit concurrent mark sweep GC freed 3271(247KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 15MB/31MB, paused 302us total 16.818ms
08-12 17:11:54.960 D/Mono (19817): GC_TAR_BRIDGE bridges 158 objects 164 opaque 1 colors 158 colors-bridged 158 colors-visible 158 xref 1 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.09ms tarjan 0.14ms scc-setup 0.14ms gather-xref 0.01ms xref-setup 0.00ms cleanup 0.06ms
08-12 17:11:54.960 D/Mono (19817): GC_BRIDGE: Complete, was running for 19.66ms
08-12 17:11:54.960 D/Mono (19817): GC_MAJOR: (LOS overflow) time 13.82ms, stw 17.13ms los size: 4096K in use: 1528K
08-12 17:11:54.960 D/Mono (19817): GC_MAJOR_SWEEP: major size: 1776K in use: 755K
08-12 17:11:55.310 D/ZXing.Net.Mobile(19817): Barcode Found
08-12 17:11:55.315 D/Camera (19817): app passed NULL surface
Thread finished:
I am experiencing a similar issue on a Xamarin Android (not Xamarin Forms) app with NuGet package version 2.4.1. In my case I see the ''app passed NULL surface" message, but not the "Camera service died!" message. I cloned the project and found that the issue was actually fixed by the merge of pull request #709 for #569 on 19- Apr-2018 (commit 31cc61a), which was shortly after the 2.4.1 version of the NuGet package was released (4 Apr 2018). Testing shows that it resolves the issue for me.
+1. I am also experiencing this issue on 2.4.1. I tried upgrading to 3.0.0-beta5, but ran into another issue initializing the scanner in that version.
I circumvent this by considering the Scanner page a modal page, launched by whatever page needs to scan something, and closing it as soon as barcode is scanned. Parent/launching page interprets the barcode. (Version 2.4.1 and 3.1.0-beta2)
First off, thank you for the awesome package. Other than the issue I'm running into, it's been a real time saver!
I've got the ScannerView working well with v2.4.1 in my Xamarin.Forms app. On first load, it scans properly and all is well. While the scanner is up, if anything else uses the camera, I get "app passed NULL surface" in the console output. I've accessed the camera via:
After this message in the console, I can no longer get a scan. The camera preview is still showing and the autofocus is still working, but I do not get "barcode detected" in the output window anymore when scanning the same barcode in the same lighting / conditions that worked just prior to the "app passed NULL surface" message.
On v3.0beta5 I get the same message on first load of the ScannerView, along with the autofocus not working, and am unable to get a scan.
Testing on a Samsung Galaxy S6 device.
Issue #550 seems to explain a lot of the same symptoms, and I'm trying to implement some of their suggestions to see if it helps, but was hopeful to bring this to the author's attention since it was closed.
If I can provide any additional information please let me know.
Thank you!