<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello,<div><br></div><div>Are you able to get a stack trace to determine where the issue is? Perhaps compiled in debug mode.</div><div><br></div><div>Also there is the ITK Module IOPhilipsREC which may need to be turn on for this type of file. This module is not on by default. During your cmake configuration you need to turn on Module_ITKIOPhilipsREC.</div><div><br></div><div>If turning on this module solves your problem, then there is still a bug in ITK/GDCM that is causing this segmentation fault.</div><div><br></div><div>Brad</div><div><br><div><div>On Mar 19, 2014, at 8:31 AM, Pölönen Harri <<a href="mailto:Harri.Polonen@vtt.fi">Harri.Polonen@vtt.fi</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div lang="FI" link="blue" vlink="purple" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">Hi all,<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">I came across some pretty old DICOM data from Philips Panorama 0.6 T magnetic resonance scanner. The DICOM files can be loaded on ITK 3.20 with GDCM 1.2.4 without any problems. However, the most recent ITK 4.5.1 with GDCM 2.0.17 crashes while trying to read any of those DICOM files. My best guess is that the output from the old Panorama scanner violates modern DICOM standards, and GDCM crashes because it tries to follow the current standard.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">Any suggestions on how to read that old DICOM data into ITK 4.5.1?<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">Going back to using GDCM 1.2x is not an option, because I need the support for the modern DICOM data as well. Should I report this as a bug to GDCM developers?<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">The crash occurs even with the simple “DicomSeriesReadImageWrite” example while running “reader->update()” line, i.e. probably inside some GDCM function. The error cannot be caught into itk::ExceptionObject.<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">Thanks!<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB"> </span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">/Harri Pölönen<o:p></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-GB">Finland<o:p></o:p></span></div></div>_______________________________________________<br>Community mailing list<br><a href="mailto:Community@itk.org" style="color: purple; text-decoration: underline;">Community@itk.org</a><br><a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" style="color: purple; text-decoration: underline;">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a></div></blockquote></div><br></div></body></html>