[DCMEE-1804] Transient failures on decompression Created: 21/Feb/12  Updated: 28/Nov/18  Resolved: 28/Nov/18

Status: Closed
Project: dcm4chee
Components: None
Affects versions: dcm4chee-2.17.1
Fix versions: None

Type: Bug Priority: Minor
Reporter: Brendan Moloney Assignee: Gunter Zeilinger
Resolution: Won't Fix Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified
Environment:

Linux 64-bit (Debian)


Testing Assignee: Peter Heiles
Tracking Status:
Risk Analysis - Todo, Test Spec - ToReview, Test State - Not tested
Sprint:

 Description   

Several compression algorithms (at least JPEG LS and JPEG Lossless) have transient failures on decompression. The causes the retrieved DICOM data to have no pixel data. I have taken a number of steps to eliminate faulty hardware as a root cause. See this thread for details: http://forums.dcm4che.org/jiveforums/thread.jspa?threadID=4452&tstart=0

I see the following error in the logs:

2012-02-16 05:30:47,937 INFO COUCH->AUTOTRAN2 (Thread-2891) http://org.dcm4cheri.net.FsmImpl sending pc-3 123:C_STORE_RQ with Dataset
class: 1.2.840.10008.5.1.4.1.1.4/MR Image Storage
inst: 1.3.12.2.1107.5.2.32.35139.2011051917293341093627539/?
2012-02-16 05:30:47,937 INFO COUCH->AUTOTRAN2 (Thread-2891) http://org.dcm4chex.archive.util.FileDataSource M-READ file:/dicom/2012/2/16/5/3EAA02D8/193A7A25/81629CB8
2012-02-16 05:30:47,938 INFO COUCH->AUTOTRAN2 (Thread-2891) http://org.dcm4chex.archive.codec.CodecCmd start decompression of image: 120x120x1 (current codec tasks: compress&decompress:1 decompress:1)
2012-02-16 05:30:47,999 INFO COUCH->AUTOTRAN2 (Thread-2891) http://org.dcm4chex.archive.codec.CodecCmd finished decompression in 61ms. (remaining codec tasks: compress&decompress:0 decompress:0)
2012-02-16 05:30:48,000 ERROR -> (Thread-2891) http://org.dcm4chex.archive.dcm.qrscp.QueryRetrieveScpService Exception during move of 1.3.12.2.1107.5.2.32.35139.2011051917293341093627539
javax.imageio.IIOException: Decoder cannot decode input.
at com.sun.media.imageioimpl.plugins.jpeg.CLibJPEGImageReader.decode(CLibJPEGImageReader.java:134)
at com.sun.media.imageioimpl.plugins.clib.CLibImageReader.getImage(CLibImageReader.java:497)
at com.sun.media.imageioimpl.plugins.clib.CLibImageReader.read(CLibImageReader.java:575)
at org.dcm4chex.archive.codec.DecompressCmd.decompress(DecompressCmd.java:230)
at org.dcm4chex.archive.util.FileDataSource.writeTo(FileDataSource.java:494)
at org.dcm4cheri.net.DimseImpl.writeTo(DimseImpl.java:128)
at org.dcm4cheri.net.DimseWriterImpl.write(DimseWriterImpl.java:92)
at org.dcm4cheri.net.AssociationImpl.write(AssociationImpl.java:327)
at org.dcm4cheri.net.ActiveAssociationImpl.invoke(ActiveAssociationImpl.java:182)
at org.dcm4chex.archive.dcm.qrscp.MoveTask.retrieveLocal(MoveTask.java:425)
at org.dcm4chex.archive.dcm.qrscp.MoveTask.run(MoveTask.java:355)
at java.lang.Thread.run(Thread.java:662)
2012-02-16 05:30:48,000 INFO COUCH->AUTOTRAN2 (ActiveAssoc-3074) http://org.dcm4cheri.net.FsmImpl received pc-3 123:C_STORE_RSP
class: 1.2.840.10008.5.1.4.1.1.4/MR Image Storage
inst: 1.3.12.2.1107.5.2.32.35139.2011051917293341093627539/?
status: 0



 Comments   
Comment by Edu Arcusa [ 05/Mar/15 ]

Hi, the problem persist with:

Centos 5 64 bits
dcm4chee 2.17.3
Java 6 64 bits (1.6.0_45)

I tried to change in the jmx console the default compression JLSL to JPLL and then the bug occurs less. But is not perfect.

The final solution:

"I would recommend to use the version Java Advanced Imaging Image I/O Tools 1.2-b04 (not available any more on java.net) because there are some bug fixes. Download libclib_jiio-1.2-b04-linux-x86-64.so, rename to libclib_jiio.so and copy it dcm4chee/bin/native"

http://dicom.vital-it.ch:8087/nexus/content/repositories/releases/org/weasis/thirdparty/com/sun/media/libclib_jiio/1.2-b04/

And now everything is working fine. No more decoder cannot decode input bug.

The only thing that don't like is that java.net has removed version 1.2-b04.

Edu

Generated at Sat Apr 20 01:12:41 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100250-rev:2b88e55752dc82be8616a67bc2b73a87c8e22b48.