Skip to content

Exception in Semantics library running Jim's demo in the iOS simulator #4150

@eseidelGoogle

Description

@eseidelGoogle

I'm hitting this when running @jimbeveridge's demo. Previously I was seeing it crash the iOS port with a null pointer in c++ code, but I think that's now fixed and we're just hitting a non-fatal Dart exception.

I can provide you the source code if needed.

@Hixie @tvolkert

══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during a scheduler callback:
'package:flutter/src/rendering/semantics.dart': Failed assertion: line 414 pos 14:
'node.parent?._dirty != true' is not true.
Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new
When the exception was thrown, this was the stack:
#0      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:27)
#1      SemanticsNode.sendSemanticsTree (package:flutter/src/rendering/semantics.dart:414:14)
#2      BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding.beginFrame (package:flutter/src/rendering/binding.dart:158:21)
#3      BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.beginFrame (package:flutter/src/widgets/binding.dart:205:21)
#4      BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:144:5)
#5      BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:423:15)
#6      BindingBase&SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:383:7)
#7      _beginFrame (file:///b/build/slave/Mac_Engine/build/src/out/ios_sim_Release/gen/sky/bindings/hooks.dart:48)
════════════════════════════════════════════════════════════════════════════════════════════════════

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: accessibilityAccessibility, e.g. VoiceOver or TalkBack. (aka a11y)frameworkflutter/packages/flutter repository. See also f: labels.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions