We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════ The following assertion was thrown building Builder: Looking up a deactivated widget's ancestor is unsafe. At this point the state of the widget's element tree is no longer stable. To safely refer to a widget's ancestor in its dispose() method, save a reference to the ancestor by calling dependOnInheritedWidgetOfExactType() in the widget's didChangeDependencies() method. The relevant error-causing widget was: Material Material:file:///Users/veloce/dev/mobile/lib/src/app.dart:225:28 When the exception was thrown, this was the stack: #0 Element._debugCheckStateIsActiveForAncestorLookup.<anonymous closure> (package:flutter/src/widgets/framework.dart:4893:9) #1 Element._debugCheckStateIsActiveForAncestorLookup (package:flutter/src/widgets/framework.dart:4907:6) #2 Element.dependOnInheritedWidgetOfExactType (package:flutter/src/widgets/framework.dart:4927:12) #3 Localizations.of (package:flutter/src/widgets/localizations.dart:536:48) #4 AppLocalizations.of (package:lichess_mobile/l10n/l10n.dart:123:26) #5 LocalizedBuildContext.l10n (package:lichess_mobile/src/utils/l10n_context.dart:5:49) #6 _GameBottomBar._showGameMenu.<anonymous closure>.<anonymous closure> (package:lichess_mobile/src/view/game/game_body.dart:701:36) #7 MaterialPageRoute.buildContent (package:flutter/src/material/page.dart:53:55) #8 MaterialRouteTransitionMixin.buildPage (package:flutter/src/material/page.dart:111:27) #9 _ModalScopeState.build.<anonymous closure>.<anonymous closure> (package:flutter/src/widgets/routes.dart:1107:53) #10 Builder.build (package:flutter/src/widgets/basic.dart:7710:48) #11 StatelessElement.build (package:flutter/src/widgets/framework.dart:5707:49) #12 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5637:15) #13 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #14 StatelessElement.update (package:flutter/src/widgets/framework.dart:5713:5) #15 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #16 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6927:14) #17 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #18 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6927:14) #19 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #20 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #21 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #22 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #23 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #24 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #25 Element.updateChildren (package:flutter/src/widgets/framework.dart:4098:32) #26 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:7080:17) #27 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #28 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #29 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #30 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #31 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #32 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #33 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6927:14) #34 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #35 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #36 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #37 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #38 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #39 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #40 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6927:14) #41 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #42 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #43 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #44 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #45 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #46 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #47 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6927:14) #48 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #49 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #50 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #51 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #52 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #53 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #54 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #55 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #56 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #57 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #58 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #59 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #60 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #61 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #62 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #63 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #64 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #65 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #66 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #67 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #68 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #69 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6927:14) #70 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #71 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #72 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #73 ProxyElement.update (package:flutter/src/widgets/framework.dart:5966:5) #74 _InheritedNotifierElement.update (package:flutter/src/widgets/inherited_notifier.dart:112:11) #75 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #76 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6927:14) #77 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #78 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #79 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #80 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #81 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #82 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #83 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #84 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #85 ProxyElement.update (package:flutter/src/widgets/framework.dart:5966:5) #86 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #87 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #88 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #89 ProxyElement.update (package:flutter/src/widgets/framework.dart:5966:5) #90 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #91 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #92 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #93 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #94 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #95 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #96 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #97 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #98 StatelessElement.update (package:flutter/src/widgets/framework.dart:5713:5) #99 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #100 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #101 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #102 StatelessElement.update (package:flutter/src/widgets/framework.dart:5713:5) #103 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #104 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:6927:14) #105 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #106 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #107 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #108 ProxyElement.update (package:flutter/src/widgets/framework.dart:5966:5) #109 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #110 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #111 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #112 ProxyElement.update (package:flutter/src/widgets/framework.dart:5966:5) #113 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #114 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #115 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #116 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #117 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #118 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #119 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #120 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #121 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #122 StatefulElement.update (package:flutter/src/widgets/framework.dart:5823:5) #123 Element.updateChild (package:flutter/src/widgets/framework.dart:3949:15) #124 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5662:16) #125 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5800:11) #126 Element.rebuild (package:flutter/src/widgets/framework.dart:5353:7) #127 BuildScope._tryRebuild (package:flutter/src/widgets/framework.dart:2701:15) #128 BuildScope._flushDirtyElements (package:flutter/src/widgets/framework.dart:2760:11) #129 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:3056:18) #130 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:1176:21) #131 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:475:5) #132 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397:15) #133 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1318:9) #134 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1176:5) #135 _invoke (dart:ui/hooks.dart:312:13) #136 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:419:5) #137 _drawFrame (dart:ui/hooks.dart:283:31) ════════════════════════════════════════════════════════════════════════════ ════════════════════════ Another exception was thrown: Looking up a deactivated widget's ancestor is unsafe.
The text was updated successfully, but these errors were encountered:
Fix a crash on iOS when putting app in background
f4b9855
This is a workaround fix. Crash is investigated in #973. Closes #970.
No branches or pull requests
The text was updated successfully, but these errors were encountered: