Skip to content
New issue

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

DevTools occasionally freezes when using WASM #8355

Open
elliette opened this issue Sep 26, 2024 · 3 comments
Open

DevTools occasionally freezes when using WASM #8355

elliette opened this issue Sep 26, 2024 · 3 comments
Labels
cross-screen Issues that affect multiple DevTools screens, i.e. shared functionality and widgets P1 high priority issues at the top of the work list, actively being worked on.

Comments

@elliette
Copy link
Member

I've managed to rather reliably get DevTools to freeze when compliling to WASM.

Steps to repro:

  • Run devtools with devtools_tool serve --wasm --no-strip-wasm
  • Enable the WASM setting (in the settings dialog), and wait for window to reload
  • Navigate to the Debugger panel, and click on the file name to open the file picker
  • Click another file name in the dropdown to open that file
  • Repeat a few times (rather quickly), eventually DevTools will freeze

debugger_broken_wasm

@elliette
Copy link
Member Author

Note: I tried to unfreeze DevTools by force-refreshing the page, it took ~minute to reload, and Chrome DevTools console filled up with the following messages:

main.dart.wasm:1 Uncaught RuntimeError: table index is out of bounds
    at module0.ListBase.isEmpty (main.dart.wasm)
    at module0.ListBase.isNotEmpty (main.dart.wasm)
    at module0.LayerBuilder.flushSlices (main.dart.wasm)
    at module0.LayerBuilder.build (main.dart.wasm)
    at module0.EngineSceneBuilder.pop (main.dart.wasm)
    at module0.ClipRRectLayer.addToScene (main.dart.wasm)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm)
    at module0.OffsetLayer.addToScene (main.dart.wasm)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm)
    at module0.ClipRectLayer.addToScene (main.dart.wasm)
$ListBase.isEmpty @ main.dart.wasm:1
$ListBase.isNotEmpty @ main.dart.wasm:1
$LayerBuilder.flushSlices @ main.dart.wasm:1
$LayerBuilder.build @ main.dart.wasm:1
$EngineSceneBuilder.pop @ main.dart.wasm:1
$ClipRRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OpacityLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$TransformLayer.addToScene @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback tear-off trampoline @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._invokeFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding.handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame tear-off trampoline @ main.dart.wasm:1
$invoke @ main.dart.wasm:1
$initializeEngineServices closure at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 @ main.dart.wasm:1
$closure wrapper at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 trampoline @ main.dart.wasm:1
$_1723 @ main.dart.wasm:1
(anonymous) @ main.dart.mjs:227
skwasm.wasm:1 Uncaught RuntimeError: memory access out of bounds
    at skwasm.wasm
    at module0.RenderBox.constraints (main.dart.wasm)
    at module0.RenderParagraph.paint (main.dart.wasm)
    at module0.RenderObject._paintWithContext (main.dart.wasm)
    at module0.PaintingContext.paintChild (main.dart.wasm)
    at module0.RenderStack.paintStack (main.dart.wasm)
    at module0.RenderStack.paint (main.dart.wasm)
    at module0.RenderObject._paintWithContext (main.dart.wasm)
    at module0.PaintingContext.paintChild (main.dart.wasm)
    at module0.RenderShiftedBox.paint (main.dart.wasm)
$func1097 @ skwasm.wasm:1
$RenderBox.constraints @ main.dart.wasm:1
$RenderParagraph.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderStack.paintStack @ main.dart.wasm:1
$RenderStack.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderShiftedBox.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.repaintCompositedChild @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderSliverMultiBoxAdaptor.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderSliverEdgeInsetsPadding.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderViewportBase._paintContents @ main.dart.wasm:1
$RenderViewportBase._paintContents tear-off trampoline @ main.dart.wasm:1
$PaintingContext.pushLayer @ main.dart.wasm:1
$PaintingContext.pushClipRect @ main.dart.wasm:1
$RenderViewportBase.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.repaintCompositedChild @ main.dart.wasm:1
$PipelineOwner.flushPaint @ main.dart.wasm:1
$PipelineOwner.flushPaint @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback tear-off trampoline @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._invokeFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding.handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame tear-off trampoline @ main.dart.wasm:1
$invoke @ main.dart.wasm:1
$initializeEngineServices closure at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 @ main.dart.wasm:1
$closure wrapper at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 trampoline @ main.dart.wasm:1
$_1723 @ main.dart.wasm:1
(anonymous) @ main.dart.mjs:227
2main.dart.wasm:1 Uncaught RuntimeError: table index is out of bounds
    at module0.ListBase.isEmpty (main.dart.wasm)
    at module0.ListBase.isNotEmpty (main.dart.wasm)
    at module0.LayerBuilder.flushSlices (main.dart.wasm)
    at module0.LayerBuilder.build (main.dart.wasm)
    at module0.EngineSceneBuilder.pop (main.dart.wasm)
    at module0.ClipRRectLayer.addToScene (main.dart.wasm)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm)
    at module0.OffsetLayer.addToScene (main.dart.wasm)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm)
    at module0.ClipRectLayer.addToScene (main.dart.wasm)
$ListBase.isEmpty @ main.dart.wasm:1
$ListBase.isNotEmpty @ main.dart.wasm:1
$LayerBuilder.flushSlices @ main.dart.wasm:1
$LayerBuilder.build @ main.dart.wasm:1
$EngineSceneBuilder.pop @ main.dart.wasm:1
$ClipRRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OpacityLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$TransformLayer.addToScene @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback tear-off trampoline @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._invokeFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding.handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame tear-off trampoline @ main.dart.wasm:1
$invoke @ main.dart.wasm:1
$initializeEngineServices closure at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 @ main.dart.wasm:1
$closure wrapper at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 trampoline @ main.dart.wasm:1
$_1723 @ main.dart.wasm:1
(anonymous) @ main.dart.mjs:227
skwasm.wasm:1 Uncaught RuntimeError: memory access out of bounds
    at skwasm.wasm
    at module0.RenderBox.constraints (main.dart.wasm)
    at module0.RenderParagraph.paint (main.dart.wasm)
    at module0.RenderObject._paintWithContext (main.dart.wasm)
    at module0.PaintingContext.paintChild (main.dart.wasm)
    at module0.RenderStack.paintStack (main.dart.wasm)
    at module0.RenderStack.paint (main.dart.wasm)
    at module0.RenderObject._paintWithContext (main.dart.wasm)
    at module0.PaintingContext.paintChild (main.dart.wasm)
    at module0.RenderShiftedBox.paint (main.dart.wasm)
$func1097 @ skwasm.wasm:1
$RenderBox.constraints @ main.dart.wasm:1
$RenderParagraph.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderStack.paintStack @ main.dart.wasm:1
$RenderStack.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderShiftedBox.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.repaintCompositedChild @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderSliverMultiBoxAdaptor.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderSliverEdgeInsetsPadding.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderViewportBase._paintContents @ main.dart.wasm:1
$RenderViewportBase._paintContents tear-off trampoline @ main.dart.wasm:1
$PaintingContext.pushLayer @ main.dart.wasm:1
$PaintingContext.pushClipRect @ main.dart.wasm:1
$RenderViewportBase.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.repaintCompositedChild @ main.dart.wasm:1
$PipelineOwner.flushPaint @ main.dart.wasm:1
$PipelineOwner.flushPaint @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback tear-off trampoline @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._invokeFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding.handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame tear-off trampoline @ main.dart.wasm:1
$invoke @ main.dart.wasm:1
$initializeEngineServices closure at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 @ main.dart.wasm:1
$closure wrapper at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 trampoline @ main.dart.wasm:1
$_1723 @ main.dart.wasm:1
(anonymous) @ main.dart.mjs:227
11main.dart.wasm:1 Uncaught RuntimeError: table index is out of bounds
    at module0.ListBase.isEmpty (main.dart.wasm)
    at module0.ListBase.isNotEmpty (main.dart.wasm)
    at module0.LayerBuilder.flushSlices (main.dart.wasm)
    at module0.LayerBuilder.build (main.dart.wasm)
    at module0.EngineSceneBuilder.pop (main.dart.wasm)
    at module0.ClipRRectLayer.addToScene (main.dart.wasm)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm)
    at module0.OffsetLayer.addToScene (main.dart.wasm)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm)
    at module0.ClipRectLayer.addToScene (main.dart.wasm)
$ListBase.isEmpty @ main.dart.wasm:1
$ListBase.isNotEmpty @ main.dart.wasm:1
$LayerBuilder.flushSlices @ main.dart.wasm:1
$LayerBuilder.build @ main.dart.wasm:1
$EngineSceneBuilder.pop @ main.dart.wasm:1
$ClipRRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OpacityLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$TransformLayer.addToScene @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback tear-off trampoline @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._invokeFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding.handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame tear-off trampoline @ main.dart.wasm:1
$invoke @ main.dart.wasm:1
$initializeEngineServices closure at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 @ main.dart.wasm:1
$closure wrapper at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 trampoline @ main.dart.wasm:1
$_1723 @ main.dart.wasm:1
(anonymous) @ main.dart.mjs:227
skwasm.wasm:1 Uncaught RuntimeError: memory access out of bounds
    at skwasm.wasm
    at module0.RenderBox.constraints (main.dart.wasm)
    at module0.RenderParagraph.paint (main.dart.wasm)
    at module0.RenderObject._paintWithContext (main.dart.wasm)
    at module0.PaintingContext.paintChild (main.dart.wasm)
    at module0.RenderStack.paintStack (main.dart.wasm)
    at module0.RenderStack.paint (main.dart.wasm)
    at module0.RenderObject._paintWithContext (main.dart.wasm)
    at module0.PaintingContext.paintChild (main.dart.wasm)
    at module0.RenderShiftedBox.paint (main.dart.wasm)
$func1097 @ skwasm.wasm:1
$RenderBox.constraints @ main.dart.wasm:1
$RenderParagraph.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderStack.paintStack @ main.dart.wasm:1
$RenderStack.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderShiftedBox.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.repaintCompositedChild @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderSliverMultiBoxAdaptor.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderSliverEdgeInsetsPadding.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderViewportBase._paintContents @ main.dart.wasm:1
$RenderViewportBase._paintContents tear-off trampoline @ main.dart.wasm:1
$PaintingContext.pushLayer @ main.dart.wasm:1
$PaintingContext.pushClipRect @ main.dart.wasm:1
$RenderViewportBase.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.repaintCompositedChild @ main.dart.wasm:1
$PipelineOwner.flushPaint @ main.dart.wasm:1
$PipelineOwner.flushPaint @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback tear-off trampoline @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._invokeFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding.handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame tear-off trampoline @ main.dart.wasm:1
$invoke @ main.dart.wasm:1
$initializeEngineServices closure at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 @ main.dart.wasm:1
$closure wrapper at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 trampoline @ main.dart.wasm:1
$_1723 @ main.dart.wasm:1
(anonymous) @ main.dart.mjs:227
99main.dart.wasm:1 Uncaught RuntimeError: table index is out of bounds
    at module0.ListBase.isEmpty (main.dart.wasm)
    at module0.ListBase.isNotEmpty (main.dart.wasm)
    at module0.LayerBuilder.flushSlices (main.dart.wasm)
    at module0.LayerBuilder.build (main.dart.wasm)
    at module0.EngineSceneBuilder.pop (main.dart.wasm)
    at module0.ClipRRectLayer.addToScene (main.dart.wasm)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm)
    at module0.OffsetLayer.addToScene (main.dart.wasm)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm)
    at module0.ClipRectLayer.addToScene (main.dart.wasm)
$ListBase.isEmpty @ main.dart.wasm:1
$ListBase.isNotEmpty @ main.dart.wasm:1
$LayerBuilder.flushSlices @ main.dart.wasm:1
$LayerBuilder.build @ main.dart.wasm:1
$EngineSceneBuilder.pop @ main.dart.wasm:1
$ClipRRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OpacityLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$OffsetLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$ClipRectLayer.addToScene @ main.dart.wasm:1
$ContainerLayer.addChildrenToScene @ main.dart.wasm:1
$TransformLayer.addToScene @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback tear-off trampoline @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._invokeFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding.handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame tear-off trampoline @ main.dart.wasm:1
$invoke @ main.dart.wasm:1
$initializeEngineServices closure at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 @ main.dart.wasm:1
$closure wrapper at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 trampoline @ main.dart.wasm:1
$_1723 @ main.dart.wasm:1
(anonymous) @ main.dart.mjs:227
skwasm.wasm:1 Uncaught RuntimeError: memory access out of bounds
    at skwasm.wasm
    at module0.RenderBox.constraints (main.dart.wasm)
    at module0.RenderParagraph.paint (main.dart.wasm)
    at module0.RenderObject._paintWithContext (main.dart.wasm)
    at module0.PaintingContext.paintChild (main.dart.wasm)
    at module0.RenderStack.paintStack (main.dart.wasm)
    at module0.RenderStack.paint (main.dart.wasm)
    at module0.RenderObject._paintWithContext (main.dart.wasm)
    at module0.PaintingContext.paintChild (main.dart.wasm)
    at module0.RenderShiftedBox.paint (main.dart.wasm)
$func1097 @ skwasm.wasm:1
$RenderBox.constraints @ main.dart.wasm:1
$RenderParagraph.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderStack.paintStack @ main.dart.wasm:1
$RenderStack.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderShiftedBox.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.repaintCompositedChild @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$_RenderProxyBox&RenderBox&RenderObjectWithChildMixin&RenderProxyBoxMixin.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderSliverMultiBoxAdaptor.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderSliverEdgeInsetsPadding.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.paintChild @ main.dart.wasm:1
$RenderViewportBase._paintContents @ main.dart.wasm:1
$RenderViewportBase._paintContents tear-off trampoline @ main.dart.wasm:1
$PaintingContext.pushLayer @ main.dart.wasm:1
$PaintingContext.pushClipRect @ main.dart.wasm:1
$RenderViewportBase.paint @ main.dart.wasm:1
$RenderObject._paintWithContext @ main.dart.wasm:1
$PaintingContext.repaintCompositedChild @ main.dart.wasm:1
$PipelineOwner.flushPaint @ main.dart.wasm:1
$PipelineOwner.flushPaint @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding&ServicesBinding&PaintingBinding&SemanticsBinding&RendererBinding._handlePersistentFrameCallback tear-off trampoline @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._invokeFrameCallback @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding.handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame @ main.dart.wasm:1
$_WidgetsFlutterBinding&BindingBase&GestureBinding&SchedulerBinding._handleDrawFrame tear-off trampoline @ main.dart.wasm:1
$invoke @ main.dart.wasm:1
$initializeEngineServices closure at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 @ main.dart.wasm:1
$closure wrapper at org-dartlang-sdk:///lib/_engine/engine/initialization.dart:154:39 trampoline @ main.dart.wasm:1
$_1723 @ main.dart.wasm:1
(anonymous) @ main.dart.mjs:227
3423main.dart.wasm:1 Uncaught RuntimeError: table index is out of bounds
    at module0.ListBase.isEmpty (main.dart.wasm)
    at module0.ListBase.isNotEmpty (main.dart.wasm)
    at module0.LayerBuilder.flushSlices (main.dart.wasm)
    at module0.LayerBuilder.build (main.dart.wasm)
    at module0.EngineSceneBuilder.pop (main.dart.wasm)
    at module0.ClipRRectLayer.addToScene (main.dart.wasm)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm)
    at module0.OffsetLayer.addToScene (main.dart.wasm)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm)
    at module0.ClipRectLayer.addToScene (main.dart.wasm)

@kenzieschmoll
Copy link
Member

kenzieschmoll commented Sep 26, 2024

I just got a repro of this as well:

main.dart.wasm:0x1cef61 Uncaught RuntimeError: table index is out of bounds
    at module0.ListBase.isEmpty (main.dart.wasm:0x1cef61)
    at module0.ListBase.isNotEmpty (main.dart.wasm:0x1cec08)
    at module0.LayerBuilder.flushSlices (main.dart.wasm:0x396a89)
    at module0.LayerBuilder.build (main.dart.wasm:0x396877)
    at module0.EngineSceneBuilder.pop (main.dart.wasm:0x396838)
    at module0.OffsetLayer.addToScene (main.dart.wasm:0x398a63)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm:0x397662)
    at module0.OffsetLayer.addToScene (main.dart.wasm:0x398a5d)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm:0x397662)
    at module0.OffsetLayer.addToScene (main.dart.wasm:0x398a5d)Understand this error
32main.dart.wasm:0x1cef61 Uncaught RuntimeError: table index is out of bounds
    at module0.ListBase.isEmpty (main.dart.wasm:0x1cef61)
    at module0.ListBase.isNotEmpty (main.dart.wasm:0x1cec08)
    at module0.LayerBuilder.flushSlices (main.dart.wasm:0x396a89)
    at module0.LayerBuilder.build (main.dart.wasm:0x396877)
    at module0.EngineSceneBuilder.pop (main.dart.wasm:0x396838)
    at module0.OpacityLayer.addToScene (main.dart.wasm:0x3986c0)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm:0x397662)
    at module0.OffsetLayer.addToScene (main.dart.wasm:0x398a5d)
    at module0.ContainerLayer.addChildrenToScene (main.dart.wasm:0x397662)
    at module0.ClipRectLayer.addToScene (main.dart.wasm:0x39cdd6)Understand this error
main.dart.mjs:744 [zoneGuarded]: Null check operator used on a null value
_1987 @ main.dart.mjs:744Understand this error
main.dart.mjs:53 Null check operator used on a null value
main.dart.mjs:53     at module0.Overlay.of (http://127.0.0.1:9105/main.dart.wasm:wasm-function[7735]:0x260742)
    at module0.new HoverCard (constructor body) (http://127.0.0.1:9105/main.dart.wasm:wasm-function[17214]:0x33a3a9)
    at module0.HoverCard.fromHoverEvent (http://127.0.0.1:9105/main.dart.wasm:wasm-function[17208]:0x33a0b0)
    at module0._HoverCardTooltipState._showAsyncHoverCard inner (http://127.0.0.1:9105/main.dart.wasm:wasm-function[17225]:0x33a81d)
    at module0._HoverCardTooltipState._onHover closure at file:///Users/kenzieschmoll/develop/devtools/packages/devtools_app/lib/src/shared/ui/hover.dart:385:54 (http://127.0.0.1:9105/main.dart.wasm:wasm-function[17204]:0x339e40)
    at module0.closure wrapper at file:///Users/kenzieschmoll/develop/devtools/packages/devtools_app/lib/src/shared/ui/hover.dart:385:54 trampoline (http://127.0.0.1:9105/main.dart.wasm:wasm-function[17206]:0x339e65)
    at module0._rootRun (http://127.0.0.1:9105/main.dart.wasm:wasm-function[1531]:0x1cbde6)
    at module0._rootRun tear-off trampoline (http://127.0.0.1:9105/main.dart.wasm:wasm-function[34823]:0x4e5a55)

@eyebrowsoffire

@kenzieschmoll
Copy link
Member

This could be related to flutter/flutter#155411

@elliette elliette added P1 high priority issues at the top of the work list, actively being worked on. cross-screen Issues that affect multiple DevTools screens, i.e. shared functionality and widgets labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cross-screen Issues that affect multiple DevTools screens, i.e. shared functionality and widgets P1 high priority issues at the top of the work list, actively being worked on.
Projects
None yet
Development

No branches or pull requests

2 participants