Page MenuHomePhabricator

DICOM Editor: Crash while loading DICOM files
Closed, ResolvedPublic

Description

The View button is enabled for patients and studies.
On "viewing" a patient or study, MITK is trying to load all series and images
and crashs

Event Timeline

Testdata: E130-Daten/DICOMrt/Crashdata_L_H
-> loading the RTImage causes a crash

The crash occurs upon loading DICOM RT images in debug mode. If the image is loaded by the mitk::DicomSeriesReader it expects more than one file. If only one file is found the application quits on the assert in line 1665.

The error is thrown if only one file is in the list and the tag: { 0x0020, 0x0032, 'DS', "Image Position (Patient)" }, is not defined.

User heime has pushed new remote branch:

bug-18216-dicom-crash

"is only not fully supported yet." -> "is not fully supported yet"

[cdfed9]: Merge branch 'bug-18216-dicom-crash'

Merged commits:

2014-11-05 16:11:05 Eric Heim [2522e6]
changed typo in warning


2014-11-05 15:10:48 Eric Heim [8d490e]
added warning


2014-11-05 14:47:30 Eric Heim [a5c725]
Checking DICOM modality to prevent crash