BlinkID / blinkid-in-browser

BlinkID In-browser SDK for WebAssembly-enabled browsers.
https://microblink.com/blinkid
59 stars 30 forks source link

Reload in chrome while video scanning results in frozen browser #55

Open sveres opened 3 years ago

sveres commented 3 years ago

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.

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?

vjekoart commented 3 years ago

Hi @sveres,

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

Sincerely, Vjekoslav

DoDoENT commented 2 years ago

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)?