DKImagePickerController icon indicating copy to clipboard operation
DKImagePickerController copied to clipboard

App Crashes When Scrolling Images Quickly

Open mogis94 opened this issue 6 years ago • 6 comments

Hi there, iv been getting this crash lately. When I scroll down images too quickly…

Error: Message from debugger: Terminated due to memory issue

I also get an error before the crash:

[ImageManager] Unable to load image data, /var/mobile/Media/DCIM/122APPLE/IMG_2374.HEIC

any ideas of why my app crashes?

Thanks In Advance.

Keep up the good work!

mogis94 avatar Apr 01 '18 02:04 mogis94

I am getting this issue too @mogis94 .... did you get it fixed ?

nikeshakya avatar May 21 '18 17:05 nikeshakya

Hey, I’m glad that I’m not the only one that’s experiencing this problem... but unfortunately I haven’t fixed it yet. I don’t know what the problem is tho.

Sent from my iPhone

On 21 May 2018, at 18:07, Nikesh Shakya <[email protected]mailto:[email protected]> wrote:

I am getting this issue too @mogis94https://github.com/mogis94 .... did you get it fixed ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/zhangao0086/DKImagePickerController/issues/451#issuecomment-390718363, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AiGDJRH7zmIFbIIp0EKF3LpFmAbqrqtBks5t0vRFgaJpZM4TCrsz.

mogis94 avatar May 21 '18 18:05 mogis94

@mogis94 i am facing the same issue

hardikdevios avatar May 22 '18 06:05 hardikdevios

same here

ghost avatar Aug 31 '18 09:08 ghost

Seeing a crash sometimes when scrolling the image picker in version 3.8.1 Not necessarily fast scrolling.

Here's a stack trace

Just a quick guess: Perhaps there is a memory leak or threading issue when accessing a CGImage? Or there is a force unwrap and the data is bad?

0  CoreGraphics                   0x18361b818 ERROR_CGDataProvider_BufferIsNotReadable + 16
1  CoreGraphics                   0x18361b538 CGDataProviderRetainBytePtr + 216
2  QuartzCore                     0x185cf9774 CA::Render::(anonymous namespace)::create_image_from_image_data(CGImage*, CGColorSpace*, unsigned int, unsigned int, double) + 196
3  QuartzCore                     0x185cf79ac CA::Render::create_image(CGImage*, CGColorSpace*, unsigned int, double) + 868
4  QuartzCore                     0x185cfa5cc CA::Render::copy_image(CGImage*, CGColorSpace*, unsigned int, double, double) + 472
5  QuartzCore                     0x185cfa990 CA::Render::prepare_image(CGImage*, CGColorSpace*, unsigned int, double) + 20
6  QuartzCore                     0x185e0a704 CA::Layer::prepare_commit(CA::Transaction*) + 420
7  QuartzCore                     0x185d6c7c8 CA::Context::commit_transaction(CA::Transaction*) + 576
8  QuartzCore                     0x185d941b0 CA::Transaction::commit() + 580
9  QuartzCore                     0x185d95030 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92

n8tr avatar Sep 04 '18 15:09 n8tr

Is there any update on this ?

bkunarola avatar Jul 25 '19 12:07 bkunarola