Skip to content

[Bug] [Segmentation][Label map tools]Using Labelmap Assistant freezes the viewer #6132

Description

@hongxiao-gif

Describe the Bug

When click on Labelmap Assistant, the viewere is freeze.
Different error shows up:
Error #1: AbortError: Failed to execute 'mapAsync' on 'GPUBuffer': A valid external Instance reference no longer exists.
Error #2: Cannot read properties of underfined (reading 'rejectPreview').

Steps to Reproduce

  1. Open an imaging study in Segmentation.
    https://viewer-dev.ohif.org/segmentation?StudyInstanceUIDs=1.3.6.1.4.1.14519.5.2.1.3098.5025.285242291560760827564488897577
  2. Load the 'SEG AIMI lung and FDG tumor AI segmentation
  3. Scroll to the last segmentation: slice#99
  4. Then go to the next slice that has no segmentation
  5. Click on the Labelmap Assistant.

The current behavior

The page becomes unresponsive (freezes).
User interaction is blocked.
Error shows up

The expected behavior

The Labelmap Assistant should do something
The viewer should remain responsive.
The user should be able to continue interacting with the application.

viewer-dev.ohif.org-1783683490284.log
Image
viewer-dev.ohif.org-1783684594380.log

Image Image
LabelmapAssistant.webm

System Information

C:\Windows\System32>npx envinfo --system --browsers

System:
OS: Windows 11 10.0.26200
CPU: (8) x64 Intel(R) Core(TM) Ultra 5 226V
Memory: 3.30 GB / 15.67 GB
Browsers:
Chrome: 149.0.7827.201
Edge: Spartan (24.13.1), Chromium (24.13.1), ChromiumDev (24.13.1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions