Skip to content

High frequency crash - _TypeError at State.setState #138588

@jacobsimionato

Description

@jacobsimionato

Copied from Google bug b/310712894:

An internal Google team is seeing as crash with over 5000 instances per day with this stack trace:

_TypeError
at State.setState (framework.dart:1223 )
at _AnimatedState._handleChange (transitions.dart:129 )
at _AnimatedState._handleChange (transitions.dart:128 )
at AnimationLocalListenersMixin.notifyListeners (listener_helpers.dart:161 )
at AnimationController._tick (animation_controller.dart:852 )
at AnimationController._tick (animation_controller.dart:841 )
at Ticker._tick (ticker.dart:249 )
at Ticker._tick (ticker.dart:243 )
at SchedulerBinding._invokeFrameCallback (binding.dart:1371 )
at SchedulerBinding.handleBeginFrame.<anonymous closure> (binding.dart:1218 )
at _LinkedHashMapMixin.forEach (compact_hash.dart:633 )
at SchedulerBinding.handleBeginFrame (binding.dart:1216 )
at SchedulerBinding._handleBeginFrame (binding.dart:1133 )
at SchedulerBinding._handleBeginFrame (binding.dart:1124 )
at _rootRunUnary (zone.dart:1415 )
at _rootRunUnary (zone.dart:1405 )
at _CustomZone.runUnary (zone.dart:1308 )
at _CustomZone.runUnaryGuarded (zone.dart:1217 )
at _invoke1 (hooks.dart:330 )
at PlatformDispatcher._beginFrame (platform_dispatcher.dart:350 )
at _beginFrame (hooks.dart:272 )
at _beginFrame (hooks.dart:270 )

We don't have a reproduction for this, but it's quite frequent, so I'm wondering if someone on the framework team could take a look in case it seems related to any recent changes.

This is occurring within a stack of completely Flutter framework code and the error message does not provide much context, so it's tricky to know where to start with reproducing this in the app. Any tips would be much appreciated here!

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: crashStack traces logged to the consolecustomer: huggsy (g3)frameworkflutter/packages/flutter repository. See also f: labels.r: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions