triniwiz / triniwiz/nativescript-plugins
[image-cache-it] enableAutoMM causes infinite recursion in v8.0.1 (iOS)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 87
- Forks
- 57
- Avg merge
- 1h 36m
- Merged PRs (30d)
- 4
Description
Calling ImageCacheIt.enableAutoMM() on iOS results in a "RangeError: Maximum call stack size exceeded" crash on startup due to infinite recursion. Android works fine.
Prior to v8.x, enableAutoMM() registered a low-memory handler using SDWebImageManager. In v8.x it appears to just call itself recursively.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the iOS implementation of ImageCacheIt.enableAutoMM() and compare its v8.x behavior with the prior SDWebImageManager low-memory handler described in the issue. Reproduce the startup crash on iOS, then verify that enableAutoMM() no longer recurses and that the low-memory handling works without the call-stack error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100