4

Is it just me that crashes when viewing this question on the iPhone app? I can view the page fine in Chrome, but every time I navigate to this page in the app, it crashes. Can anyone reproduce?

iPhone 6; iOS 8.4.1; App 1.3.2

5
  • Do you get any sort of error message? If yes, please add the screenshot / write it in the post. Commented Aug 29, 2015 at 12:11
  • 1
    No @HackerKarma. Just an app crash.
    – RubberDuck
    Commented Aug 29, 2015 at 12:16
  • 2
    Confirmed this bug on the latest beta. Commented Aug 29, 2015 at 12:24
  • SE uses Crashlytics and crash reports will be automatically reported back to them.Meanwhile, try this and see it shows anything. Commented Aug 29, 2015 at 12:24
  • 1
    No-repro in 1.3.2.218 (beta)
    – grg
    Commented Aug 29, 2015 at 12:37

1 Answer 1

4

You've just hit a special category of bug, viewing a post that straight up consumes all available memory and forces the OS to terminate the app. Here's another such example.

This kind of crash is the worst because there's no way Crashlytics, or even Apple, can generate a meaningful bug report and there's really no way for us to avoid it. We just have to live with it.

Fun graphs:

Just a UIWebView rending the desktop version:

memory spiking at 50%

You'll notice that the memory maxes out at half of the available RAM.

Throw in a the fact we're scaling the image, holding multiple web views, keeping more web view layers in memory than we probably should, etc, the real app looks more like this when displaying the image:

Real app peaking at 80% memory

This second graph hits 80% memory usage, just in the app, so it's no wonder that the OS would kill it.

1
  • Cool. Thanks for looking into it Brian. It's nice to know what caused it, even if it's a [can't-fix].
    – RubberDuck
    Commented Sep 2, 2015 at 22:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .