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

React UI crash: "Canvas is busy. Action: resize" #1371

Closed
2 tasks done
subdavis opened this issue Apr 6, 2020 · 8 comments
Closed
2 tasks done

React UI crash: "Canvas is busy. Action: resize" #1371

subdavis opened this issue Apr 6, 2020 · 8 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@subdavis
Copy link
Contributor

subdavis commented Apr 6, 2020

My actions before raising this issue

Steps to Reproduce (for bugs)

  1. Create an interpolated track shape
  2. Press and hold the 'f' key to advance frame-by-frame
  3. click any of the drag points of the track shape.
  4. Screen becomes white and unresponsive, requires reload.

Screenshot from 2020-04-06 11-28-41

Context

This looks like exacly the same issue as #1216, but with a different error message. cc @bsekachev because they implemented the last set of related fixes.

Your Environment

CHROME ONLY, this does not happen on firefox. Chrome version: Version 80.0.3987.162 (Official Build) (64-bit)

  • Git hash commit (git log -1): 39eb9c5
  • Docker version docker version (e.g. Docker 17.0.05): Docker version 19.03.8, build afacb8b7f0
  • Are you using Docker Swarm or Kubernetes? no
  • Operating System and version (e.g. Linux, Windows, MacOS): Ubuntu 18.04
  • Code example or link to GitHub repo or gist to reproduce problem: See linked issue above.

Next steps

You may join our Gitter channel for community support.

@subdavis subdavis changed the title Full page crash: "Canvas is busy. Action: resize" React UI crash: "Canvas is busy. Action: resize" Apr 6, 2020
@bsekachev
Copy link
Member

@subdavis

Hi, similar issue (moving between frames during resizing/dragging) has been fixed here #1370
Could you please check if it helps you?

@bsekachev bsekachev self-assigned this Apr 6, 2020
@bsekachev bsekachev added the bug Something isn't working label Apr 6, 2020
@bsekachev bsekachev added this to the 1.0.0 - Beta milestone Apr 6, 2020
@subdavis
Copy link
Contributor Author

subdavis commented Apr 6, 2020

I don't think so.

git checkout bs/batch_of_fixes
docker-compose build cvat_ui
docker-compose restart

I shift-reloaded the browser window to double-check.

@bsekachev
Copy link
Member

@subdavis

I am able to reproduce issue you described without the fix above and unable to reproduce it with the fix. I haven't used rebuild, restart before and I am not sure whether they do the same what docker-compose up --build -d do.
Just in case try do git pull origin bs/batch_of_fixes before build and be sure you have the latest commit the same like in remote branch.

@subdavis
Copy link
Contributor Author

subdavis commented Apr 6, 2020

docker-compose up --build -d

This apparently did something my other command did not. Issue fixed for me. Thanks for the quick response!

@Octoslav
Copy link

Octoslav commented Oct 24, 2024

Hi

I have encountered with this issue on the v2.21.1. I am using this command to start the server:

docker-compose up --build -d

The issue has also been reproduced on https://app.cvat.ai/. Consider it critical, an annotator gets the error very often during the day and loses his work.

Could you please help? @bsekachev

@bsekachev
Copy link
Member

@Octoslav
any steps to reproduce on v2.21.1?

@Octoslav
Copy link

Octoslav commented Oct 25, 2024

@bsekachev

  1. Draw a rectangle or polygon in track mode
  2. Drag one of it's points. Don't release the left mouse button
  3. Press F or D key
  4. Get an error:
Error
Canvas is busy. Action: resize

Error: Canvas is busy. Action: resize
    at m.setup (https://app.cvat.ai/assets/cvat-ui.3f8ec489bebd1c377b91.min.js:2:2965130)
    at Ue.setup (https://app.cvat.ai/assets/cvat-ui.3f8ec489bebd1c377b91.min.js:2:3157389)
    at Kae.updateCanvas (https://app.cvat.ai/assets/cvat-ui.3f8ec489bebd1c377b91.min.js:2:9119645)
    at Kae.componentDidUpdate (https://app.cvat.ai/assets/cvat-ui.3f8ec489bebd1c377b91.min.js:2:9116194)
    at _l (https://app.cvat.ai/assets/cvat-ui.3f8ec489bebd1c377b91.min.js:2:6536406)
    at Al (https://app.cvat.ai/assets/cvat-ui.3f8ec489bebd1c377b91.min.js:2:6536092)
    at yl (https://app.cvat.ai/assets/cvat-ui.3f8ec489bebd1c377b91.min.js:2:6535636)
    at https://app.cvat.ai/assets/cvat-ui.3f8ec489bebd1c377b91.min.js:2:6547293
    at wc (https://app.cvat.ai/assets/cvat-ui.3f8ec489bebd1c377b91.min.js:2:6547795)
    at cc (https://app.cvat.ai/assets/cvat-ui.3f8ec489bebd1c377b91.min.js:2:6541611)
   

@bsekachev
Copy link
Member

Thanks, I will take a look

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

3 participants