Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on QT android 5.15.13 QZXingFilter #240

Open
psioka opened this issue Jun 22, 2023 · 1 comment
Open

crash on QT android 5.15.13 QZXingFilter #240

psioka opened this issue Jun 22, 2023 · 1 comment

Comments

@psioka
Copy link

psioka commented Jun 22, 2023

Hi, using the latest version of QZXING, I have a crash when I use a QZXingFilter into the VideoOutput filter property.
VideoOutput
{
id: videoOutput
source: camera
anchors.fill:parent
autoOrientation: true
fillMode: VideoOutput.PreserveAspectCrop
filters: [ zxingFilter ]
...

QZXingFilter
{
	id: zxingFilter
	captureRect:
	{
		// setup bindings
		videoOutput.contentRect;
		videoOutput.sourceRect;
		return videoOutput.mapRectToSource(videoOutput.mapNormalizedRectToItem(Qt.rect(0.3,0.1,0.4,0.8))) ;
	}
	decoder
	{
		enabledDecoders: QZXing.DecoderFormat_CODE_128 | QZXing.DecoderFormat_EAN_13 | QZXing.DecoderFormat_QR_CODE
		onTagFound:
		{
			root.lastTagType = decoder.foundedFormat()
			root.lastTagValue = tag;
			console.log("BARCODESCANNER: "+lastTagValue+"-"+lastTagType)
			root.newTag(lastTagValue,lastTagType)
		}
		tryHarder: true
		tryHarderType: QZXing.TryHarderBehaviour_ThoroughScanning | QZXing.TryHarderBehaviour_Rotate
	}
}

I tried it on a pixel android 13 and galaxy S22+ android 13 as well..

do you have any clue?

thanks

@leamus
Copy link

leamus commented Jan 30, 2024

I have also encountered an error message that crashes under arm64-v8a (armeabi is missing normally):

W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
W google-breakpad: Chrome build fingerprint:
W google-breakpad: 70.0.3538.110
W google-breakpad: 353811050
W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
F libc : Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7923be4570 in tid 25000 (Thread (pooled)), pid 24657 (amus.MakerFrame)

How can I solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants