Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: iOS 9 beta, max digest iterations reached #4151

Closed
zarko-tg opened this issue Jul 27, 2015 · 5 comments
Closed

bug: iOS 9 beta, max digest iterations reached #4151

zarko-tg opened this issue Jul 27, 2015 · 5 comments

Comments

@zarko-tg
Copy link

Type: bug

Platform: ios 9 webview

Steps to reproduce:

  1. Create a simple app based on the sidemenu template (for example: ionic start -a smapp smapp sidemenu)
  2. Add iOS platform, build and then run on an iPhone with iOS 9 beta (ver 4, build 13A4305g).
  3. Open the app side menu and click for example on "Browse"

This will immediately output:

0     261349   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.3.13/$rootScope/infdig?p0=10&p1=%5B%5D
http://192.168.1.45:8100/lib/ionic/js/ionic.bundle.js:8890:32
$digest@http://192.168.1.45:8100/lib/ionic/js/ionic.bundle.js:23108:35
$apply@http://192.168.1.45:8100/lib/ionic/js/ionic.bundle.js:23333:31
http://192.168.1.45:8100/lib/ionic/js/ionic.bundle.js:20191:30
eventHandler@http://192.168.1.45:8100/lib/ionic/js/ionic.bundle.js:11841:25
dispatchEvent@[native code]
triggerMouseEvent@http://192.168.1.45:8100/lib/ionic/js/ionic.bundle.js:2865:20
tapClick@http://192.168.1.45:8100/lib/ionic/js/ionic.bundle.js:2854:20
tapTouchEnd@http://192.168.1.45:8100/lib/ionic/js/ionic.bundle.js:2977:13
1     261351   error    Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
Watchers fired in the last 5 iterations: []
http://errors.angularjs.org/1.3.13/$rootScope/infdig?p0=10&p1=%5B%5D, http://192.168.1.45:8100/lib/ionic/js/ionic.bundle.js, Line: 23336

Using the side menu further results in an erratic and faulty behaviour.

Your system information:

Cordova CLI: 5.1.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic Version: 1.0.1
Ionic CLI Version: 1.6.1
Ionic App Lib Version: 0.3.3
ios-deploy version: 1.7.0
ios-sim version: 4.1.1
OS: Mac OS X Yosemite
Node Version: v0.12.7
Xcode version: Xcode 6.4 Build version 6E35b

@zarko-tg zarko-tg changed the title iOS 9 beta, max digest iterations reached bug: iOS 9 beta, max digest iterations reached Jul 27, 2015
@zarko-tg
Copy link
Author

cc @mhartington

@mhartington
Copy link
Contributor

duplicate of #4082

@zarko-tg
Copy link
Author

Here's a video showing the basic problem with this particular app. It's a very simple app so the chances of things going wrong in a more complex one are much higher.
@mhartington
https://www.youtube.com/watch?v=6H4TwUeaWA0

@mhartington
Copy link
Contributor

Please see #4082 and the patch at the end. Test that out

@zarko-tg
Copy link
Author

Yep, I'm on it already and the patch appears to be working.
The video should make it clearer what the problem is/was for people that haven't been able to see it.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants