blinkid-in-browser icon indicating copy to clipboard operation
blinkid-in-browser copied to clipboard

Reload in chrome while video scanning results in frozen browser

Open sveres opened this issue 3 years ago • 2 comments

Hi,

I run into an issue with version 5.12.0. While using successFrameRecognizer, if I reload the page in Chrome v91.0.4472.114 on a Macbook, the whole browser freezes. The tab takes up 100% of the CPU and it hangs until I kill the process in Chrome's task manager.

  • reproducible every time, although not on every machine
  • only happens if dev tools is open, with the dev tools being closed, I couldn't reproduce the problem

I suspect that the sdk changed in a way that it triggers this behaviour, as with the same implementation, but an older version of the sdk (5.10.2) reloading the page while capturing worked fine.

Is there any other info I can provide that might be helpful?

sveres avatar Jul 20 '21 09:07 sveres

Hi @sveres,

Thank you for the report. We're going to investigate this behaviour and report the status here.

Sincerely, Vjekoslav

vjekoart avatar Jul 27 '21 12:07 vjekoart

Hi @sveres ,

this could possibly be a bug in Chrome triggered by advanced usage of its engine by our SDK.

Can you tell us what is the value of loadedWasmType in your app?

Also, does the hang happen if you force using of basic wasm by forcing the wasmType to Basic (it will be the slowest, but a most compatible option)?

Also, does it happen with newer versions of Chrome (93 and 94)?

DoDoENT avatar Sep 27 '21 08:09 DoDoENT