[Web] CanvasKit error on web app after hot restart/hot reload
### Is there an existing issue for this? - [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues) - [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports) ### Steps to reproduce After performing multiple hot restarts or hot reloads in web app occurs error of CanvasKit. It doesn't crash the app, but it always persists in console. I have seen old issues from 2021: #https://github.com/flutter/flutter/issues/90231 #https://github.com/flutter/flutter/issues/90236 Both are closed as resolved in: #flutter/engine#28675 But in my case problem occurs now with the latest version of Flutter. ### Expected results No errors ### Actual results Error of CanvasKit ### Code sample Just run any Flutter web app and preform multiple restarts/reloads. The problem occurs randomly after these steps. ### Screenshots or Video <details> <summary>Screenshots / Video demonstration</summary> [Upload media here] </details> ### Logs <details><summary>Logs</summary> ```console Error: Assertion failed: org-dartlang-sdk:///lib/_engine/engine/canvaskit/surface_factory.dart:148:12 _cache.contains(surface) is not true dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 288:49 throw_ dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3 assertFailed lib/_engine/engine/canvaskit/surface_factory.dart 148:35 isLive lib/_engine/engine/canvaskit/surface.dart
Posted by abigotado on Jun 1, 2023, 5:10 PM
Tags
Related issues
- Many devs love to shit on the guy from the 'I just want the exe.
- Now imagine how poor people stress if their smartphone bricks or gets damaged or lost.
- Resuming an extended-thinking session fails permanently with 400 "thinking blocks cannot be modified" (transcript stores thinking text as empty but keeps signat
- I'll preface this with a statement that as a European I want European alternatives to succeed, and MS-owned GitHub to shrivel and disappear.
- Yeah, but there’s a world of difference between “not perfect” and “we rounded a few sliders, and now the modal is a nightmare to use”.
- I used to write a lot of native Windows corporate software in the 90's and 2000's and my standard login window was a floating draggable o...
Raise real-world problems, find people facing the same issue, and discuss solutions.2,500 issues0 comments
reliability (SaaS)
Many devs love to shit on the guy from the 'I just want the exe.
Now imagine how poor people stress if their smartphone bricks or gets damaged or lost.
Resuming an extended-thinking session fails permanently with 400 "thinking blocks cannot be modified" (transcript stores thinking text as empty but keeps signat
I'll preface this with a statement that as a European I want European alternatives to succeed, and MS-owned GitHub to shrivel and disappear.
Yeah, but there’s a world of difference between “not perfect” and “we rounded a few sliders, and now the modal is a nightmare to use”.
I used to write a lot of native Windows corporate software in the 90's and 2000's and my standard login window was a floating draggable o...
App broken with Mosquitto broker 7.0.0
[BUG] Remote Control: automatic reconnection doesn't work -- connection drops silently with no recovery
[Web] CanvasKit error on web app after hot restart/hot reload
### Is there an existing issue for this? - [X] I have searched the [existing issues](https://github.com/flutter/flutter/issues) - [X] I have read the [guide to filing a bug](https://flutter.dev/docs/resources/bug-reports) ### Steps to reproduce After performing multiple hot restarts or hot reloads in web app occurs error of CanvasKit. It doesn't crash the app, but it always persists in console. I have seen old issues from 2021: #https://github.com/flutter/flutter/issues/90231 #https://github.com/flutter/flutter/issues/90236 Both are closed as resolved in: #flutter/engine#28675 But in my case problem occurs now with the latest version of Flutter. ### Expected results No errors ### Actual results Error of CanvasKit ### Code sample Just run any Flutter web app and preform multiple restarts/reloads. The problem occurs randomly after these steps. ### Screenshots or Video <details> <summary>Screenshots / Video demonstration</summary> [Upload media here] </details> ### Logs <details><summary>Logs</summary> ```console Error: Assertion failed: org-dartlang-sdk:///lib/_engine/engine/canvaskit/surface_factory.dart:148:12 _cache.contains(surface) is not true dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 288:49 throw_ dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 29:3 assertFailed lib/_engine/engine/canvaskit/surface_factory.dart 148:35 isLive lib/_engine/engine/canvaskit/surface.dart
Comments (0)
No comments yet. Start the discussion.