Last modified: 2014-04-15 21:53:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T65890, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 63890 - Images that aren't found crash the Android app
Images that aren't found crash the Android app
Status: RESOLVED FIXED
Product: Wikipedia App
Classification: Unclassified
Generic (Other open bugs)
Android (alpha)
All All
: Unprioritized major
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-14 00:09 UTC by Sage Ross
Modified: 2014-04-15 21:53 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sage Ross 2014-04-14 00:09:45 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)
Comment 1 Yuvi Panda 2014-04-15 13:16:33 UTC
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.
Comment 2 Gerrit Notification Bot 2014-04-15 13:21:40 UTC
Change 125985 had a related patch set uploaded by Yuvipanda:
Fix crash when loading unreachable image

https://gerrit.wikimedia.org/r/125985
Comment 3 Gerrit Notification Bot 2014-04-15 19:58:14 UTC
Change 125985 merged by jenkins-bot:
Fix crash when loading unreachable image

https://gerrit.wikimedia.org/r/125985

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links