Skip to content

iOS back gesture causes corruption and crash. #5973

@dragostis

Description

@dragostis

On iOS Gallery, do the following:

  1. Go into slow animation mode.
  2. Select any demo.
  3. As the animation is about half-way through, try to do a back gesture. You'll notice how the who demo glitches.
  4. After the demo disappears, select a demo again. This time, the demo will load from the right.
  5. Dismiss it with a back gesture.
  6. Select a demo and notice the crash.

Trace:

I/flutter : The following assertion was thrown during a scheduler callback:
I/flutter : 'package:flutter/src/widgets/heroes.dart': Failed assertion: line 578 pos 12: '_from.subtreeContext
I/flutter : != null' is not true.
I/flutter : When the exception was thrown, this was the stack:
I/flutter : #2      HeroController._updateQuest (package:flutter/src/widgets/heroes.dart:578:12)
I/flutter : #3      BindingBase&SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:608:15)
I/flutter : #4      BindingBase&SchedulerBinding.handleBeginFrame (package:flutter/src/scheduler/binding.dart:551:9)
I/flutter : #5      _beginFrame (file:///b/build/slave/Linux_Engine/build/src/flutter/lib/ui/hooks.dart:48)
I/flutter : (elided 2 frames from class _AssertionError)

Metadata

Metadata

Assignees

Labels

c: crashStack traces logged to the consolecustomer: galleryRelating to flutter/gallery repository. Please transfer non-framework issues there.f: material designflutter/packages/flutter/material repository.platform-iosiOS applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions