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

x/mobile: thread wakeup limitation on iOS #29284

Open
hajimehoshi opened this issue Dec 15, 2018 · 2 comments
Labels
Milestone

Comments

@hajimehoshi
Copy link
Contributor

@hajimehoshi hajimehoshi commented Dec 15, 2018

We found my gomobile iOS application crash with the below message:

Event:           wakeups
Action taken:    none
Wakeups:         45001 wakeups over the last 64 seconds (704 wakeups per second average), exceeding limit of 150 wakeups per second over 300 seconds
Wakeups limit:   45000
Limit duration:  300s
Wakeups caused:  45001
Duration:        17.04s
Steps:           18

Hardware model:  iPhone8,1
Active cpus:     2
Boot args: 

I guess Go runtime switched threads so many times that iOS complained, but I am not sure. It is hard to create a minimal code to reproduce this problem, but I'd like to report this (potential) problem in gomobile.

@gopherbot gopherbot added this to the Unreleased milestone Dec 15, 2018
@gopherbot gopherbot added the mobile label Dec 15, 2018
@eliasnaur

This comment has been minimized.

Copy link
Contributor

@eliasnaur eliasnaur commented Dec 17, 2018

Please do try to figure out a way to reproduce the error; fixing the problem will be much more likely if you do.

@eliasnaur

This comment has been minimized.

Copy link
Contributor

@eliasnaur eliasnaur commented Dec 18, 2018

I found a thread with a similar issue: https://forum.unity.com/threads/the-weird-ios8-unity3d-hiccup.273186/. It seems that Unity apps don't actually crash, only freezes while the exception report is generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.