Skip to content

[image_picker] 0.8.6 imageQuality set value will cause crash on iphone(ios16+ iphone xr & mini12) #117670

@zeqinjie

Description

@zeqinjie

crash info

* thread #1, stop reason = EXC_BAD_ACCESS (code=1, address=0x736152656b67d4)
    frame #0: 0x0000000192951cac libobjc.A.dylib`objc_msgSend + 172
  * frame #1: 0x000000010fb25944 image_picker_ios`+[FLTImagePickerMetaDataUtil convertImage:usingType:quality:](self=FLTImagePickerMetaDataUtil, _cmd="convertImage:usingType:quality:", image=0x000000013ef40f70, type=FLTImagePickerMIMETypeJPEG, quality=0x00000001350dadd0) at FLTImagePickerMetaDataUtil.m:86:57
    frame #2: 0x000000010fb2620c image_picker_ios`+[FLTImagePickerPhotoAssetUtil saveImageWithMetaData:image:suffix:type:imageQuality:](self=FLTImagePickerPhotoAssetUtil, _cmd="saveImageWithMetaData:image:suffix:type:imageQuality:", metaData=11 key/value pairs, image=0x000000013ef40f70, suffix=@".jpg", type=FLTImagePickerMIMETypeJPEG, imageQuality=0x00000001350dadd0) at FLTImagePickerPhotoAssetUtil.m:88:18
    frame #3: 0x000000010fb25f00 image_picker_ios`+[FLTImagePickerPhotoAssetUtil saveImageWithOriginalImageData:image:maxWidth:maxHeight:imageQuality:](self=FLTImagePickerPhotoAssetUtil, _cmd="saveImageWithOriginalImageData:image:maxWidth:maxHeight:imageQuality:", originalImageData=285437 bytes, image=0x000000013ef40f70, maxWidth=0x0000000000000000, maxHeight=0x0000000000000000, imageQuality=0x00000001350dadd0) at FLTImagePickerPhotoAssetUtil.m:57:12
    frame #4: 0x000000010fb2bfb8 image_picker_ios`__52-[FLTPHPickerSaveImageToPathOperation processImage:]_block_invoke(.block_descriptor=0x0000000116693c80, imageData=285437 bytes, dataUTI=@"public.jpeg", info=5 key/value pairs) at FLTPHPickerSaveImageToPathOperation.m:143:33
    frame #5: 0x000000010fb2c0c8 image_picker_ios`__52-[FLTPHPickerSaveImageToPathOperation processImage:]_block_invoke.15(.block_descriptor=0x000000013ff5fb10, imageData=285437 bytes, dataUTI=@"public.jpeg", orientation=kCGImagePropertyOrientationUp, info=5 key/value pairs) at FLTPHPickerSaveImageToPathOperation.m:159:38
    frame #6: 0x00000001ae408a58 Photos`__79-[PHImageManager requestImageDataAndOrientationForAsset:options:resultHandler:]_block_invoke_2 + 128
    frame #7: 0x000000010fec45a8 libdispatch.dylib`_dispatch_call_block_and_release + 32
    frame #8: 0x000000010fec605c libdispatch.dylib`_dispatch_client_callout + 20
    frame #9: 0x000000010fed6810 libdispatch.dylib`_dispatch_main_queue_drain + 1196
    frame #10: 0x000000010fed6354 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 44
    frame #11: 0x00000001997266d8 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
    frame #12: 0x000000019970803c CoreFoundation`__CFRunLoopRun + 2036
    frame #13: 0x000000019970cec0 CoreFoundation`CFRunLoopRunSpecific + 612
    frame #14: 0x00000001d3763368 GraphicsServices`GSEventRunModal + 164
    frame #15: 0x000000019bc0286c UIKitCore`-[UIApplication _run] + 888
    frame #16: 0x000000019bc024d0 UIKitCore`UIApplicationMain + 340
    frame #17: 0x000000010266fbc0 house591`main(argc=1, argv=0x000000016d7cf670) at main.m:16:16
    frame #18: 0x00000001b7f2e960 dyld`start + 2528

image

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: fatal crashCrashes that terminate the processfound in release: 3.3Found to occur in 3.3found in release: 3.7Found to occur in 3.7has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: image_pickerThe Image Picker plugin.packageflutter/packages repository. See also p: labels.platform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer version

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions