darowsluk / JordanProject

Phone app to help grow in the relationship with God.
1 stars 1 forks source link

App hangs after multiple saint card clicks #21

Open darowsluk opened 3 years ago

darowsluk commented 3 years ago

Describe the bug App hangs when the said card is clicked fast multiple times

To Reproduce

  1. Click the saint card
  2. Click quickly multiple times on the card back (prayer) and forth (picture)
  3. See system hang

Debug output

Launching lib\main.dart on Chrome in debug mode...
This app is linked to the debug service: ws://127.0.0.1:64624/g1TCEHjPzfM%3D/ws
Debug service listening on ws://127.0.0.1:64624/g1TCEHjPzfM=/ws
Running with unsound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety
Connecting to VM Service at ws://127.0.0.1:64624/g1TCEHjPzfM=/ws

════════ Exception caught by scheduler library ═════════════════════════════════
The following NativeJavaScriptObject object was thrown during a scheduler callback:
  RuntimeError: memory access out of bounds

When the exception was thrown, this was the stack
https://unpkg.com/canvaskit-wasm@0.25.1/bin/canvaskit.js 1:1                                                     Canvas$drawPicture
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/canvas.dart 206:14     drawPicture
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/layer.dart 441:17      paint
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/layer.dart 136:14      paintChildren
C:/b/s/w/ir/cache/builder/src/out/host_debug/flutter_web_sdk/lib/_engine/engine/canvaskit/layer.dart 510:5       paint
...
════════════════════════════════════════════════════════════════════════════════

Device

darowsluk commented 3 years ago

Not reproducible on physical device (Nokia 6.1) or emulator.