flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.59k stars 327 forks source link

DevTools occasionally freezes when using WASM #8355

Open elliette opened 1 month ago

elliette commented 1 month ago

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

Steps to repro:

debugger_broken_wasm

elliette commented 1 month ago

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 commented 1 month ago

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 commented 1 month ago

This could be related to https://github.com/flutter/flutter/issues/155411