horosproject / horos

Horos™ is a free, open source medical image viewer. The goal of the Horos Project is to develop a fully functional, 64-bit medical image viewer for OS X. Horos is based upon OsiriX and other open source medical imaging libraries. Horos is made freely available under the GNU Lesser General Public License, Version 3 (LGPL-3.0). Horos is linked against the Grok JPEG 2000 library, for fast viewing of JPEG 2000 images. This library is licensed under the terms of the GNU Affero General Public License.
http://www.horosproject.org
Other
474 stars 142 forks source link

WebPortal connection thread crash when using JlsCodec #187

Open mdevans opened 7 years ago

mdevans commented 7 years ago

Thread 5 Crashed:: WebPortal connection thread 0 com.macrad.dcmframework 0x0000000112813b2c ProcessTransformed<TransformNone >::DecodeTransform(void const, void, int, int) + 194 1 com.macrad.dcmframework 0x0000000112815133 ProcessTransformed<TransformNone >::NewLineDecoded(void const, int, int) + 115 2 com.macrad.dcmframework 0x000000011282f4c0 JlsCodec<DefaultTraitsT<unsigned char, unsigned char>, DecoderStrategy>::DoScan() + 502 3 com.macrad.dcmframework 0x0000000112818842 JlsCodec<DefaultTraitsT<unsigned char, unsigned char>, DecoderStrategy>::DecodeScan(std::auto_ptr, JlsRect const&, ByteStreamInfo, bool) + 146 4 com.macrad.dcmframework 0x000000011280fe09 JpegMarkerReader::Read(ByteStreamInfo) + 455 5 com.macrad.dcmframework 0x0000000112810df3 JpegLsDecode + 179 6 com.macrad.dcmframework 0x0000000112788037 -[DCMPixelDataAttribute convertJPEGLSToHost:] + 247 7 com.macrad.dcmframework 0x000000011278eda2 -[DCMPixelDataAttribute decodeFrameAtIndex:] + 2530 8 Horos 0x000000010c26c767 -[DCMPix loadDICOMDCMFramework] + 10519 9 Horos 0x000000010c26eb02 -[DCMPix CheckLoadIn] + 898 10 Horos 0x000000010c271f61 -[DCMPix CheckLoad] + 65 11 Horos 0x000000010c295509 -[DicomSeries thumbnail] + 2265 12 Horos 0x000000010c51db86 -[WebPortalConnection(Data) processThumbnail] + 278 13 Horos 0x000000010c47b967 -[WebPortalConnection httpResponseForMethod:URI:] + 2775 14 Horos 0x000000010c42ad0f -[HTTPConnection replyToHTTPRequest] + 255 15 Horos 0x000000010c47f523 -[WebPortalConnection replyToHTTPRequest] + 595 16 Horos 0x000000010c42787a -[AsyncSocket completeCurrentRead] + 458 17 Horos 0x000000010c4275d5 -[AsyncSocket doBytesAvailable] + 1141 18 Horos 0x000000010c426ffa -[AsyncSocket maybeDequeueRead] + 410

aglv commented 7 years ago

Please kindly provide a failing DICOM file we can test with.

mdevans commented 7 years ago

Apologies for the delay - find attached an ultrasound image in JPEGLSLossy format 2668.dcm.zip