crash on QT android 5.15.13 QZXingFilter
psioka opened this issue · 1 comments
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
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?