React-native: [RCTImageLoader][0.33 & 0.34] Crash

Created on 13 Sep 2016  路  14Comments  路  Source: facebook/react-native

Issue Description

When scrolling a listview with items that have image views the app will eventually crash in

RCTImageLoader.m#L383 (Crashlytics Crashreport)

or in

RCTImageLoader.m#L502 (Crashlytics Crashreport)

Steps to Reproduce / Code Snippets

In our app just scroll a longer list that has remote images, eventually it will crash.

Expected Results

The app should not crash.

Additional Information

  • React Native version: 0.33.0
  • Platform: iOS
  • Operating System: macOS
Locked

Most helpful comment

We have seen these crashes disappear in v34.

All 14 comments

This seems to have been introduced in this commit going into RN 0.33: https://github.com/facebook/react-native/commit/14188289fc6254b6704460f7c58e4334f8aa1e25 at least it touches exactly the line that is crashing

Hey guys, we have a similar crash, affecting consistently a number of our users - I think related to the problems people have mentioned so far.

http://crashes.to/s/518580ef4b9 (line 383)
http://crashes.to/s/8ebd91bfbf8 (line 385)

Both crashes on React Native 0.33.

same crash issue
need your help, @javache

We were able to prevent this crash by prefetching images

We have seen these crashes disappear in v34.

@javache Great! I'll test it out and report back.

Seeing this as well - also present in 0.32.

@javache I can confirm the same severity in 0.34 as was in 0.33. In our app you just have to scroll 2 - 3 pages worth and it crashes. Very reproducible.

This has prevented us from upgrading from 0.32. :(

Same issue here, definitely excited to get this fixed and make the upgrade!

@chiplay for me Strong reference don't solve this problem :/

http://crashes.to/s/c55a4e38ab1

Closing this issue since https://github.com/facebook/react-native/issues/9849 is tracking the same bug -- subscribe to that one.

Was this page helpful?
0 / 5 - 0 ratings