android-vision icon indicating copy to clipboard operation
android-vision copied to clipboard

Crash when trying to recognize barcode

Open IvanShafran opened this issue 9 years ago • 8 comments
trafficstars

Hi!

I use barcode reader in my project. Yesterday I noticed crash when app was trying to recognize certain barcode(attached below). Then I tested this barcode on google vision barcode sample and got the same result.

May be it can help you

crash

IvanShafran avatar Oct 02 '16 07:10 IvanShafran

Crashing on our app too... even if the code we use is intended to recognize a precise pattern. What is the data contained by this barcode? How is it encoded?

ggirard07 avatar Oct 03 '16 12:10 ggirard07

Generated by http://goqr.me/de/qr-code-visitenkarte-vcard/ and contains fax(it's important)

IvanShafran avatar Oct 03 '16 12:10 IvanShafran

This is crashing somewhere in the barcode library. I made a Gist of the SIGSEV available here if someone knows how to symbolicate it.

ggirard07 avatar Oct 03 '16 13:10 ggirard07

Thanks for reporting this crash.

That site appears to be generating non-standard VCard data with empty parameters ("TEL;;FAX:"), which triggers a bug in our parser. We will fix this in a future release.

pchx-zz avatar Oct 03 '16 17:10 pchx-zz

has this issue been fixed yet ?

KingsMentor avatar Aug 14 '17 14:08 KingsMentor

What is the status with this? 😞

safaorhan avatar May 27 '19 13:05 safaorhan

The above QR code still gives me crashes with the latest libraries, as do QR codes from https://businesscards.tec-it.com/it Is anyone working on the problem? The bug has been around for years now.

seeingwithsound avatar Jul 04 '19 18:07 seeingwithsound

As I know this library is not under active development. If the crash is not acceptable for you then better find another library. Disclaimer: I am not connected to the library developers. Just my perosnal observations

IvanShafran avatar Jul 04 '19 21:07 IvanShafran