Project

General

Profile

Actions

Bug #1188

closed

Assertion failure in JPEG-LS encoder

Added by Marco Eichelberg 3 months ago. Updated 20 days ago.

Status:
Closed
Priority:
High
Category:
Library and Apps
Target version:
Start date:
2026-01-28
Due date:
% Done:

100%

Estimated time:
3:00 h
Module:
dcmapps, dcmjpls
Operating System:
Compiler:

Description

The JPEG-LS encoder in module dcmjpls crashes with an assertion failure when the following command line is executed:

dcm2img --write-jpls --true-lossless ct_acme.dcm ct_acme.jls

The failed assertion is located in dcmjpls/libcharls/deftrait.h:85:
ASSERT(ABS(Errval) <= RANGE);

In this case, RANGE is 16384 and Errval is 64512.


Files

ct_acme.dcm (514 KB) ct_acme.dcm Marco Eichelberg, 2026-01-28 13:20
Actions #1

Updated by Jörg Riesmeier 22 days ago

  • Priority changed from Normal to High
Actions #2

Updated by Marco Eichelberg 20 days ago

  • Status changed from New to Closed
  • Assignee set to Marco Eichelberg
  • % Done changed from 0 to 100
  • Estimated time set to 3:00 h

Closed by commit #08c4c8734.

Actions

Also available in: Atom PDF