Last modified: 2014-04-15 21:53:23 UTC
Pages with animated gifs, such as the the following code, cause the Android alpha app to crash: [[Image:Chicxulub-animation.gif|thumb|right|An animation showing the impact, and subsequent crater formation (University of Arizona, Space Imagery Center). [[Media:Chicxulub-animation.gif|Click here to see the animation]]]] That gif is found in https://en.wikipedia.org/wiki/Chicxulub_crater and I was able to recreate it with only the gif code here: https://en.wikipedia.org/w/index.php?title=User:Ragesoss/test&oldid=604083070 Two stack traces: USER_COMMENT=this article crashes the app every time, on multiple devices. ANDROID_VERSION=4.4.2 APP_VERSION_NAME=2.0-alpha-2014-04-11 BRAND=google PHONE_MODEL=Nexus 5 CUSTOM_DATA= STACK_TRACE=java.lang.RuntimeException: FIX THIS YUVI! at org.wikipedia.Utils$2.onMessage(Utils.java:150) at org.wikipedia.CommunicationBridge$2.handleMessage(CommunicationBridge.java:90) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5017) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) USER_COMMENT=reading an article ANDROID_VERSION=4.4.2 APP_VERSION_NAME=2.0-alpha-2014-04-11 BRAND=google PHONE_MODEL=Nexus 7 CUSTOM_DATA= STACK_TRACE=java.lang.RuntimeException: FIX THIS YUVI! at org.wikipedia.Utils$2.onMessage(Utils.java:150) at org.wikipedia.CommunicationBridge$2.handleMessage(CommunicationBridge.java:90) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5081) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
That thumb URL does not exist at the moment - going to https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Chicxulub-animation.gif/220px-Chicxulub-animation.gif tells me 'failed to render in last 5 attempts, blacklisted' or somesuch. Hence the problem is more general, modifying bug title to match.
Change 125985 had a related patch set uploaded by Yuvipanda: Fix crash when loading unreachable image https://gerrit.wikimedia.org/r/125985
Change 125985 merged by jenkins-bot: Fix crash when loading unreachable image https://gerrit.wikimedia.org/r/125985