Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rapid panning can cause WDZT to crash when filters are enabled #51

Open
MyleneSimon opened this issue Jul 25, 2019 · 0 comments
Open

Rapid panning can cause WDZT to crash when filters are enabled #51

MyleneSimon opened this issue Jul 25, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@MyleneSimon
Copy link
Collaborator

Summary

Rapid panning can cause WDZT to crash when filters are enabled.

What is the current bug behavior?

The web page starts lagging and eventually crashes (Chrome will display an "Aw snap" error page)

What is the expected correct behavior?

Web page does not crash, user can pan around smoothly while filters are enabled

Steps to reproduce

Go to a pyramid view, zoom in, enable filters (tested with Brightness and Contrast both enabled), pan around a lot trying to go toward the edges really fast, until WDZT starts lagging and web page crashes.
Not always easy to reproduce.

Relevant screenshots and/or logs
Chrome dev console logs:
Screenshot from 2019-07-25 11-39-19

ERROR RangeError: Failed to execute 'getImageData' on 
'CanvasRenderingContext2D' : OutOfMemory at ImageData creation

Screenshot from 2019-07-25 11-56-14

ERROR RangeError: Array buffer allocation failed
    at new ArrayBuffer (<anonymous>)
    at new Uint8Array (<anonymous>)
    at Function.e.dataArray (scripts.bbe2fff076b6aac980c8.js:1)
    at n.finishInit (scripts.bbe2fff076b6aac980c8.js:1)
    at n.initCanvas (scripts.bbe2fff076b6aac980c8.js:1)
    at n.setup (scripts.bbe2fff076b6aac980c8.js:1)
    at n.<anonymous> (scripts.bbe2fff076b6aac980c8.js:1)
    at scripts.bbe2fff076b6aac980c8.js:1
    at e.invokeTask (polyfills.e3633a42d1123afc5fc9.js:1)
    at Object.onInvokeTask (main.5e27f782d3f1dd388555.js:1)

No significant logs seen in backend and frontend containers for now.

Environment info

I was able to reproduce a couple of times on the AWS instance using Chrome from a Ubuntu 18.04 machine.
@Nicholas-Schaub is also reporting being able to reproduce on his local instance.

Possible fixes

Possible explanation: from the console logs, it may be that the browser is overwhelmed and the web page crashes when trying to keep up with the computations due to the filters, but needs to be investigated more.

cc @pbajcsy @Nicholas-Schaub

@MyleneSimon MyleneSimon added the bug Something isn't working label Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant