electrum icon indicating copy to clipboard operation
electrum copied to clipboard

zbar crashes when seeing multiple qr codes in image

Open TARS-bot opened this issue 3 years ago • 2 comments

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

Traceback (most recent call last):
  File "electrum\gui\qt\qrreader\qtmultimedia\camera_dialog.py", line 406, in _on_frame_available
  File "electrum\qrreader\zbar.py", line 155, in read_qr_code
OSError: exception: access violation reading 0xFFFFFFFF

OSError: exception: access violation reading 0xFFFFFFFF

Reporter

This issue was reported by 6 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.3.1 3.9.11 (tags/v3.9.11:2de452f, Mar 16 2022, 14:21:37) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19044-SP0 imported ru_RU
4.3.4 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] Windows-8.1-6.3.9600-SP0 imported,standard ru_RU
4.3.4 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 imported ru_RU
4.4.0 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19044-SP0 imported ru_UA
4.4.6 3.9.13 (tags/v3.9.13:6de2ca5, May 17 2022, 16:24:45) [MSC v.1929 32 bit (Intel)] Windows-8.1-6.3.9600-SP0 standard ja_JP
4.5.2 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:20:04) [MSC v.1929 32 bit (Intel)] Windows-10-10.0.19045-SP0 standard ru_RU

Additional Information

QRを読み取るとエラー


TARS-bot avatar Sep 21 '22 20:09 TARS-bot

I can reproduce this on Windows: try scanning qr codes from the screen (input_qr_from_screenshot) when there are multiple qr codes visible on the same screen.

SomberNight avatar Aug 15 '23 01:08 SomberNight

try scanning qr codes from the screen (input_qr_from_screenshot) when there are multiple qr codes visible on the same screen.

This also affects macOS. There the program segfaults.

This must be a bug in zbar.

SomberNight avatar Dec 24 '23 08:12 SomberNight