Skip to content

[Google3 Bug] _TypeError crash in _RenderObjectSemantics._buildSemanticsSubtree #184036

Description

@math1man

Help us understand the severity of this issue

  • causing severe production issues e.g. malfunctions or data loss
  • blocking next binary release
  • blocking a client feature launch within a quarter
  • nice-to-have but does not block a launch within the next quarter

Steps to reproduce

Unclear

Expected results

App does not crash

Actual results

~1000 crashes per day in production with the following stack trace:

_TypeError
at _RenderObjectSemantics._buildSemanticsSubtree	(object.dart:6235)
at PipelineOwner.flushSemantics	(object.dart:1625)
at PipelineOwner.flushSemantics	(object.dart:1642)
at RendererBinding.drawFrame	(binding.dart:636)
at WidgetsBinding.drawFrame	(binding.dart:1564)
at RendererBinding._handlePersistentFrameCallback	(binding.dart:495)
at RendererBinding._handlePersistentFrameCallback	(binding.dart:494)
at SchedulerBinding._invokeFrameCallback	(binding.dart:1430)
at SchedulerBinding.handleDrawFrame	(binding.dart:1345)
at SchedulerBinding._handleDrawFrame	(binding.dart:1198)
at SchedulerBinding._handleDrawFrame	(binding.dart:1180)
at _rootRun	(zone_root.dart:35)
at _rootRun	(zone_root.dart:26)
at _CustomZone.run	(zone.dart:726)
at _CustomZone.runGuarded	(zone.dart:625)
at _invoke	(hooks.dart:425)
at PlatformDispatcher._drawFrame	(platform_dispatcher.dart:447)
at _drawFrame	(hooks.dart:395)
at _drawFrame	(hooks.dart:393)

I believe the root cause is the geometry! invocation from https://github.com/flutter/flutter/pull/180375/changes#diff-4c298197a8aa7831a26eece096c8b8b07773ba1f5376d848ea4ef2924b606e9fR6235

Code sample

None

Screenshots or Video

None

Logs

N/A, google3 internal

Flutter Doctor output

N/A, google3 internal

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)c: crashStack traces logged to the consolecustomer: googleVarious Google teamsframeworkflutter/packages/flutter repository. See also f: labels.team-accessibilityOwned by Framework Accessibility team (i.e. responsible for accessibility code in flutter/flutter)triaged-accessibilityTriaged by Framework Accessibility team

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions