Your message dated Fri, 07 Jun 2019 20:49:24 +0000
with message-id <e1hzlng-000aa0...@fasolo.debian.org>
and subject line Bug#923433: fixed in dcmtk 3.6.4-2.1
has caused the Debian Bug report #923433,
regarding EncoderStrategy::Flush (this=0x5555557452f0) at 
./src/encoderstrategy.h:156
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
923433: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923433
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dcmtk
Version: 3.6.4-2

It seems there is a regression in the JPEG-LS/CharLS encoder at least
for some files. dcmcrle / dcmcjpeg seems to be ok. GDCM is able to
compress it:

$ gdcmconv --jpegls /tmp/foo.dcm /tmp/o.dcm

Steps:

$ cd /tmp
$ curl 
https://raw.githubusercontent.com/neurolabusc/dcm_qa/master/In/Orientation/ax/axasc35/MR.1.3.12.2.1107.5.2.32.35131.2014031012493950715786673
> foo.dcm
$ gdb dcmcjpls
(gdb) r /tmp/foo.dcm /tmp/o.dcm
...
Starting program: /usr/bin/dcmcjpls /tmp/foo.dcm /tmp/o.dcm
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff76dd3b3 in EncoderStrategy::Flush (this=0x5555557452f0) at
./src/encoderstrategy.h:156
156                 *_position = static_cast<uint8_t>(_bitBuffer >> 24);
(gdb) bt full
#0  0x00007ffff76dd3b3 in EncoderStrategy::Flush (this=0x5555557452f0)
at ./src/encoderstrategy.h:156
        i = 0
        i = <optimized out>
#1  0x00007ffff76dd555 in EncoderStrategy::AppendToBitStream
(this=0x5555557452f0, bits=93, bitCount=<optimized out>) at
./src/encoderstrategy.h:87
        mask = <optimized out>
        __PRETTY_FUNCTION__ = "void
EncoderStrategy::AppendToBitStream(int32_t, int32_t)"
#2  0x00007ffff76edfb8 in JlsCodec<LosslessTraitsT<unsigned short,
16>, EncoderStrategy>::EncodeMappedValue (limit=64,
mappedError=<optimized out>,
    k=<optimized out>, this=0x5555557452f0) at ./src/losslesstraits.h:112
        highbits = <optimized out>
        highbits = <optimized out>
#3  JlsCodec<LosslessTraitsT<unsigned short, 16>,
EncoderStrategy>::DoRegular (pred=<optimized out>, x=112,
Qs=<optimized out>, this=0x5555557452f0)
    at ./src/scan.h:271
        ctx = @0x555555745ad4: {A = 1573, B = -7, C = -1, N = 8}
        k = <optimized out>
        Px = 159
        ErrVal = -47
        sign = <optimized out>
        __PRETTY_FUNCTION__ = "typename TRAITS::SAMPLE
JlsCodec<TRAITS, STRATEGY>::DoRegular(int32_t, int32_t, int32_t,
EncoderStrategy*) [with TRAITS = LosslessTraitsT<short unsigned int,
16>; STRATEGY = EncoderStrategy; typename "...
        sign = <optimized out>
        ctx = <optimized out>
        k = <optimized out>
        Px = <optimized out>
        ErrVal = <optimized out>
#4  JlsCodec<LosslessTraitsT<unsigned short, 16>,
EncoderStrategy>::DoLine (this=this@entry=0x5555557452f0) at
./src/scan.h:660
        Ra = <optimized out>
        Rc = <optimized out>
        Qs = <optimized out>
        index = 162
        Rb = 59
        Rd = 79
#5  0x00007ffff76ee16a in JlsCodec<LosslessTraitsT<unsigned short,
16>, EncoderStrategy>::DoScan (this=this@entry=0x5555557452f0)
    at /usr/include/c++/8/bits/stl_vector.h:930
        component = <optimized out>
        line = <optimized out>
        pixelstride = 388
        components = 1
        vectmp = std::vector of length 776, capacity 776 = {0, 0, 25,
21, 18, 23, 23, 22, 25, 23, 27, 41, 69, 73, 93, 78, 72, 43, 231, 216,
92, 88, 128, 87,
          85, 54, 50, 22, 15, 26, 37, 32, 31, 33, 43, 60, 16, 36, 33,
53, 24, 43, 49, 88, 47, 49, 47, 121, 100, 124, 174, 100, 90, 47, 53,
39, 15, 20, 20,
          20, 20, 20, 25, 15, 20, 0, 24, 23, 25, 29, 22, 16, 33, 30,
24, 19, 54, 44, 126, 171, 191, 83, 87, 47, 30, 113, 51, 37, 131, 232,
53, 39, 33, 26,
          52, 43, 26, 18, 24, 43, 28, 30, 22, 32, 29, 65, 57, 55, 85,
49, 68, 80, 39, 97, 162, 92, 72, 85, 57, 39, 21, 19, 20, 15, 30, 24,
32, 22, 16, 0,

--- End Message ---
--- Begin Message ---
Source: dcmtk
Source-Version: 3.6.4-2.1

We believe that the bug you reported is fixed in the latest version of
dcmtk, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 923...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mathieu Malaterre <ma...@debian.org> (supplier of updated dcmtk package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 28 May 2019 21:39:19 +0200
Source: dcmtk
Binary: dcmtk libdcmtk14 libdcmtk-dev dcmtk-doc
Architecture: source
Version: 3.6.4-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<debian-med-packag...@lists.alioth.debian.org>
Changed-By: Mathieu Malaterre <ma...@debian.org>
Description:
 dcmtk      - OFFIS DICOM toolkit command line utilities
 dcmtk-doc  - OFFIS DICOM toolkit documentation
 libdcmtk-dev - OFFIS DICOM toolkit development libraries and headers
 libdcmtk14 - OFFIS DICOM toolkit runtime libraries
Closes: 923433
Changes:
 dcmtk (3.6.4-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Revert to convenient charls copy for now. Closes: #923433
Checksums-Sha1:
 b4e841c28d221faa4dc08351bfae87755ac5e935 2269 dcmtk_3.6.4-2.1.dsc
 e29bc18693e696f4665a469541154b7dd2262566 29728 dcmtk_3.6.4-2.1.debian.tar.xz
 74979b740f9833e1a31721ab81bdced1346ed6a4 7727 dcmtk_3.6.4-2.1_source.buildinfo
Checksums-Sha256:
 ab7d7d977c84e0dd196475561f28216f0b8114d6a10b1a32d988781006857fd1 2269 
dcmtk_3.6.4-2.1.dsc
 2d6672e2fe5872c18e61dc899b9a94e632cbbe339100a256972a6ab43219d520 29728 
dcmtk_3.6.4-2.1.debian.tar.xz
 647de43a5c7da67fe7e44b555dcc5add44f93f6239783d44e7bfc697275c1aae 7727 
dcmtk_3.6.4-2.1_source.buildinfo
Files:
 112ded561f12551fc6897971f3a5678f 2269 science optional dcmtk_3.6.4-2.1.dsc
 ed38e8be99f5ac64b40ecb271df3656a 29728 science optional 
dcmtk_3.6.4-2.1.debian.tar.xz
 fe0a58e991eb65f3a216cc594d1a8836 7727 science optional 
dcmtk_3.6.4-2.1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEaTNn/67NjqrNHwY7AXHhgorgk0UFAlztjnsRHG1hbGF0QGRl
Ymlhbi5vcmcACgkQAXHhgorgk0XFig/9Fi3JjV5zpuBdW9QSrxvNi+ZM89ITdx3V
icYpY2fsyHEpTlMC0ew30eeipLvnzOMh/EqWyPHFsILoujRdERQsuy00tc908nI/
+j5gF+tMp0LIzySPrZtnk+f4/m8nwNSY8iN+guQVkuB1orVmZ3zDlDfEfqOO0i5l
nUabCj96xOH2hr9TqUjvbtsupWzzyhUvBuDRXXFJrCZGT8vGm4GFJEbGxR/R9Uf3
cF+SZ3qsEtR5ksojpT1N2DoUki1ulfv/VL/OXBqvBgd1KxmI3afxQBCdFMGfDaOG
viaOvEA15B99uPOsRTz/Gz4HkMc47h4MwBGRxm0W1SET+7hzCGcb+ofDIkJUqXvO
JuB0ve1trTQXifgXO9pXyDITbf+Rv7+7RMx3tPmL6b95LRmGWbUTpIGnFvLzShfi
hbM08YTepA4YOnCCJtixYDy6whoJrNM2lchAYglu2sWRMbJoTrZBChBXzLJB/weg
gYTDUqUX4SkBE+3xI8hiEPntB8e8E+9we5svCNnUz2peh184wyBoXnqDABEf1hln
mc8ZruoiGyKpCCfLPt6PbCt4KUh9s9sDqsr0ZhXPzfYYf6Pp/VZMwJVyXKtHwBMG
kMf/ffMqn8I+S20CaflZ3dLb2lDKzeS8J+TYqLk8f84lovW6UDOqEjdFrAO5+v03
73yge1NV+ck=
=hlBG
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to