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] Deallocation of non-allocated memory error occurs when loading an image from some link. #3623

Open
sadbull opened this issue Oct 13, 2023 · 1 comment

Comments

@sadbull
Copy link

sadbull commented Oct 13, 2023

Issue Info

Info Value
Platform Name iOS
Platform Version 17.0
SDWebImage Version 5.0.0
Integration Method cocoapods
Xcode Version Xcode 15
Repro rate all the time (100%)

Issue Description and Steps

A crash occurs when trying to load the image from the link below.

Error details

SDImageCoderHelper.m / line 30 - 'Deallocation of non-allocated memory' error occurred

Occurrence situation

  1. Error occurs when building in XCode15(MacOS14) and operating on iOS17 real device with debug mode.
  2. No errors occur when building in XCode15(MacOS14) and operating in the simulator with debug mode..
  3. No errors occur when building in XCode15(MacOS13.5) and operating on iOS16.6 real device with debug mode..
  4. No errors occur when building in XCode15(MacOS13.5) and operating on iOS17 real device with testflight.
  5. No errors occur when building in XCode15(MacOS14) and operating on iOS16.6 real device with debug mode..
  6. Error occurs when building in XCode15(MacOS13.5) and operating on iOS17 real device with debug mode.
  7. No error occurs when building in XCode15(MacOS14) and operating on iOS17 real device with testflight.
@dreampiggy
Copy link
Contributor

dreampiggy commented Oct 13, 2023

SDWebImage Version | 5.0.0 ?Can you have a try with the latest 5.18.3.

There are 2 years ago for the 5.0.0 version. I don't even know whether it's compilable on Xcode 15 or not.

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