filamentgroup / Overthrow

A tiny, no-frills, framework-independent, targeted overflow: auto polyfill for use in responsive design.
MIT License
906 stars 94 forks source link

Overthrow crashing iOS Safari 6.0 #65

Closed davidtheclark closed 1 year ago

davidtheclark commented 10 years ago

I'm having a strange issue with Overthrow. If I include the Overthrow script, my site crashes on my iPod touch's Safari 6.0 (iOS 6.1.3 10B329). If I remove the script, the site works fine. (I have tried the same removal-trial with the few other assets on the site, and Overthrow seems to be the culprit.)

I have not been able to reproduce the crash on Xcode simulators. Previously, I had the same crash on an iPad's iOS7; but when I made other efforts at optimizing, linting, validating, etc., that crash stopped happening.

I have pasted below a log of the crash. I'm afraid I don't know what this stuff means, and searched for help to no avail --- so I'm hoping you know more about this than I do (more than nothing?).

If it helps at all, this is the site I'm having the trouble with: http://davidtheclark.github.io/scut/

Oct 26 19:43:20 the-touchpod MobileSafari[830] <Warning>: Warning: Attempt to dismiss from view controller <BrowserRootViewController: 0x1fd82780> while a presentation or dismiss is in progress!
Oct 26 19:43:34 the-touchpod com.apple.launchd[1] (com.apple.coreservices.appleid.authentication[824]) <Notice>: (com.apple.coreservices.appleid.authentication) Idle-exit job was jettisoned. Will bypass throttle interval for next on-demand launch.
Oct 26 19:43:34 the-touchpod com.apple.launchd[1] (com.apple.coreservices.appleid.authentication[824]) <Notice>: (com.apple.coreservices.appleid.authentication) Exited: Killed: 9
Oct 26 19:43:34 the-touchpod com.apple.launchd[1] (com.apple.networkd_privileged[821]) <Notice>: (com.apple.networkd_privileged) Idle-exit job was jettisoned. Will bypass throttle interval for next on-demand launch.
Oct 26 19:43:34 the-touchpod com.apple.launchd[1] (com.apple.networkd_privileged[821]) <Notice>: (com.apple.networkd_privileged) Exited: Killed: 9
Oct 26 19:43:34 the-touchpod com.apple.launchd[1] (com.apple.mobile.installd[832]) <Notice>: (com.apple.mobile.installd) Idle-exit job was jettisoned. Will bypass throttle interval for next on-demand launch.
Oct 26 19:43:34 the-touchpod com.apple.launchd[1] (com.apple.mobile.installd[832]) <Notice>: (com.apple.mobile.installd) Exited: Killed: 9
Oct 26 19:43:34 the-touchpod com.apple.launchd[1] (com.apple.accountsd[834]) <Notice>: (com.apple.accountsd) Idle-exit job was jettisoned. Will bypass throttle interval for next on-demand launch.
Oct 26 19:43:34 the-touchpod com.apple.launchd[1] (com.apple.accountsd[834]) <Notice>: (com.apple.accountsd) Exited: Killed: 9
Oct 26 19:43:34 the-touchpod UserEventAgent[13] <Notice>: jetsam: kernel termination snapshot being created
Oct 26 19:43:35 the-touchpod MobileSafari[830] <Warning>: Received memory warning.
Oct 26 19:43:36 the-touchpod com.apple.launchd[1] (com.apple.lsd[835]) <Notice>: (com.apple.lsd) Idle-exit job was jettisoned. Will bypass throttle interval for next on-demand launch.
Oct 26 19:43:36 the-touchpod com.apple.launchd[1] (com.apple.lsd[835]) <Notice>: (com.apple.lsd) Exited: Killed: 9
Oct 26 19:43:36 the-touchpod com.apple.launchd[1] (UIKitApplication:com.apple.mobilesafari[0xbf7e][830]) <Notice>: (UIKitApplication:com.apple.mobilesafari[0xbf7e]) Exited: Killed: 9
Oct 26 19:43:36 the-touchpod backboardd[26] <Warning>: Application 'UIKitApplication:com.apple.mobilesafari[0xbf7e]' exited abnormally with signal 9: Killed: 9
Oct 26 19:43:37 the-touchpod ReportCrash[836] <Error>: libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
Oct 26 19:43:37 the-touchpod ReportCrash[836] <Notice>: Saved crashreport to /Library/Logs/CrashReporter/LowMemory-2013-10-26-194337.plist using uid: 0 gid: 0, synthetic_euid: 0 egid: 0
Oct 26 19:43:37 the-touchpod UserEventAgent[13] <Notice>: jetsam: kernel termination snapshot being created
Oct 26 19:43:47 the-touchpod ReportCrash[838] <Notice>: Not saving Jetsam log because no data from the kernel.
szalishchuk commented 10 years ago

Wow, thanks for spotting this. I came here with another overthrow issue in mind, but this is definitely something my projects are also suffering from. I just did not think that overthrow is the issue.

It is reproducible not only in Safari, but in Chrome for iOS as well.