Credntia / MVBarcodeReader

A Barcode scanner library for Android. Uses the Google Play Services' mobile vision api for barcode detection.
Apache License 2.0
68 stars 22 forks source link

BarcodeCaptureFragment crash #36

Open Glexium opened 6 years ago

Glexium commented 6 years ago

Hello! I'm using your BarcodeCaptureFragment and I've found a bug, if you leave it open for a couple of minutes (on some smartphones it takes 30 seconds) without scanning anything, it crash, before that, the logcat show this:

04-11 17:08:04.796 3802-3819/devliving.online.mvbarcodereadersample E/IMemory: cannot dup fd=1023, size=3112960, err=0 (Too many open files) cannot map BpMemoryHeap (binder=0xb810abe8), size=3112960, fd=-1 (Bad file number) 04-11 17:08:04.861 3802-3819/devliving.online.mvbarcodereadersample A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xffffffff in tid 3819 (Binder_1)