Skip to content

runtime: exceeded thread wakeup limitation on iOS #29284

Open
@hajimehoshi

Description

@hajimehoshi

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.

Metadata

Metadata

Assignees

Labels

compiler/runtimeIssues related to the Go compiler and/or runtime.mobileAndroid, iOS, and x/mobile

Type

No type

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions