Open kaili211 opened 3 years ago
Hi, I also met a similar problem. Have you solved it again? this image
Not yet. My solution is to decode each image in different processes, so if one crashed others won't be affected. But of course, it will cost more running time.
Thank you. But the same problem still exists for me.
I have run into the same issue. It makes Pyzbar unusable.
I also got the same issue.
+1
We have the same error.
By enabling faulthandler.enable()
, the following logs appeared.
Fatal Python error: Aborted
Current thread 0x00007fe908226740 (most recent call first):
File "/usr/local/lib/python3.9/site-packages/pyzbar/pyzbar.py", line 230 in decode
Fatal Python error: Segmentation fault
It seems that some errors are inside wrapper.zbar_scan_image()
.
https://github.com/NaturalHistoryMuseum/pyzbar/blob/ff2892666fa7cd305f0a95f9808159809c6fc222/pyzbar/pyzbar.py#L230
Just FYI:
Hi, I got the
double free or corruption (!prev)
error when I was decoding this image. I don't know how to solve it, can you help me? Here are my codes:My python version is
3.7.3
and the version ofpyzbar
is0.1.8
.Thanks.