zbar icon indicating copy to clipboard operation
zbar copied to clipboard

Assertion seg->finder in Databar

Open dabaer opened this issue 3 years ago • 1 comments

Good Afternoon,

I'm getting an assertion while attempting to process a barcode:

WARNING:
zbar/decoder/databar.c:1249:
    _zbar_decode_databar:
        Assertion "seg->finder >= 0" failed. i=26 f=-1(000) part=1

The barcode in question: Screen Shot 2021-04-21 at 12 55 48

I have many others that are of the same type that scan perfectly, except for two, including this one. They are all scanned from the same machine to the same format etc, however the two fail 100% of the time.

Could this be an oddity with the file, or maybe this has been fixed in a newer version of zbar? I'm currently running 0.22.2.

dabaer avatar Apr 21 '21 18:04 dabaer

Having the same issue, and am using zbar from the Debian Buster repository which is 0.22. In my case, I think there's actually no barcode in the image, but it's spamming the warnings. Is there a way to silence it?

Rosuav avatar Dec 23 '21 08:12 Rosuav