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

[Bug] Infinite loop in TMTV mode #4636

Open
salimkanoun opened this issue Dec 31, 2024 · 1 comment
Open

[Bug] Infinite loop in TMTV mode #4636

salimkanoun opened this issue Dec 31, 2024 · 1 comment
Assignees
Labels
Bug Verified Bug reported, reproducible, and verified.

Comments

@salimkanoun
Copy link
Contributor

Describe the Bug

There is an infinite loop in the TMTV causing a freeze then an error message

app.bundle.a6e79b5e27bebec65b26.js:1 Uncaught RangeError: Maximum call stack size exceeded at a (triggerEvent.js:10:16) at M.resetCamera (VolumeViewport.js:276:13) at M.applyViewOrientation (BaseVolumeViewport.js:250:18) at M.setOrientation (VolumeViewport.js:152:18) at M.setViewReference (BaseVolumeViewport.js:540:22) at M.setViewReference (BaseVolumeViewport.js:541:22) at M.setViewReference (BaseVolumeViewport.js:541:22) at M.setViewReference (BaseVolumeViewport.js:541:22) at M.setViewReference (BaseVolumeViewport.js:541:22) at M.setViewReference (BaseVolumeViewport.js:541:22)

Steps to Reproduce

  1. go to https://viewer-dev.ohif.org/tmtv?StudyInstanceUIDs=1.3.6.1.4.1.14519.5.2.1.7009.2403.871108593056125491804754960339
  2. Once image loaded, turn the MIP with the scroll wheel
  3. Double click on the CT viewport to make it toogle one up
  4. Double click to exit the toogle one up
  5. The error occurs and console shows infinite loop related to camera after a freeze

The current behavior

Throws error

The expected behavior

Should avoid infinit loop

OS

Windows

Node version

Node 20

Browser

Chrome 131

@salimkanoun salimkanoun added the Awaiting Reproduction Can we reproduce the reported bug? label Dec 31, 2024
@sedghi sedghi self-assigned this Jan 6, 2025
Copy link
Member

sedghi commented Jan 15, 2025

Hmm it is indeed related to MIP manipulation

@sedghi sedghi added the Bug Verified Bug reported, reproducible, and verified. label Jan 15, 2025 — with Linear
@sedghi sedghi removed the Awaiting Reproduction Can we reproduce the reported bug? label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Verified Bug reported, reproducible, and verified.
Projects
None yet
Development

No branches or pull requests

2 participants