Your message dated Wed, 17 Nov 2021 10:48:46 +0000
with message-id <[email protected]>
and subject line Bug#988417: fixed in dcmtk 3.6.6-1
has caused the Debian Bug report #988417,
regarding dcmtk: Memory leak in OFCharacterEncoding::selectEncoding
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 [email protected]
immediately.)


-- 
988417: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988417
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dcmtk
Version: 3.6.4-2.1
Severity: normal

Dear Maintainer,

The DCMTK library seems to leaves memory around after the end of the
process.

Steps:

% valgrind --show-leak-kinds=all --leak-check=full dcmconv +U8 input.dcm 
output.dcm
==5076== Memcheck, a memory error detector
==5076== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==5076== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
==5076== Command: dcmconv +U8 input.dcm output.dcm
==5076==
==5076==
==5076== HEAP SUMMARY:
==5076==     in use at exit: 112 bytes in 2 blocks
==5076==   total heap usage: 77,131 allocs, 77,129 frees, 5,392,709 bytes 
allocated
==5076==
==5076== 56 bytes in 1 blocks are still reachable in loss record 1 of 2
==5076==    at 0x483577F: malloc (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==5076==    by 0x50FD389: UDataMemory_createNewInstance_63 (udatamem.cpp:47)
==5076==    by 0x50FB0FA: setCommonICUData(UDataMemory*, signed char, 
UErrorCode*) (udata.cpp:173)
==5076==    by 0x50FBE5D: setCommonICUDataPointer (udata.cpp:217)
==5076==    by 0x50FBE5D: openCommonData(char const*, int, UErrorCode*) 
(udata.cpp:718)
==5076==    by 0x50FBF7C: doLoadFromCommonData(signed char, char const*, char 
const*, char const*, char const*, char const*, char const*, char const*, signed 
char (*)(void*, char const*, char const*, UDataInfo const*), void*, 
UErrorCode*, UErrorCode*) [clone .constprop.10] (udata.cpp:1065)
==5076==    by 0x50FCA36: doOpenChoice(char const*, char const*, char const*, 
signed char (*)(void*, char const*, char const*, UDataInfo const*), void*, 
UErrorCode*) (udata.cpp:1347)
==5076==    by 0x51096E9: initAliasData(UErrorCode&) (ucnv_io.cpp:242)
==5076==    by 0x5109F57: umtx_initOnce (umutex.h:274)
==5076==    by 0x5109F57: umtx_initOnce (umutex.h:268)
==5076==    by 0x5109F57: haveAliasData (ucnv_io.cpp:314)
==5076==    by 0x5109F57: ucnv_io_getConverterName_63 (ucnv_io.cpp:754)
==5076==    by 0x5107E16: ucnv_loadSharedData_63 (ucnv_bld.cpp:784)
==5076==    by 0x51082C3: ucnv_createConverter_63 (ucnv_bld.cpp:839)
==5076==    by 0x4AC4B68: create (ofchrenc.cc:73)
==5076==    by 0x4AC4B68: OFCharacterEncoding::selectEncoding(OFString const&, 
OFString const&) (ofchrenc.cc:693)
==5076==    by 0x49A991C: 
DcmSpecificCharacterSet::selectCharacterSetWithoutCodeExtensions() 
(dcspchrs.cc:292)
==5076==
==5076== 56 bytes in 1 blocks are still reachable in loss record 2 of 2
==5076==    at 0x483577F: malloc (in 
/usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==5076==    by 0x50FD389: UDataMemory_createNewInstance_63 (udatamem.cpp:47)
==5076==    by 0x50FC030: checkDataItem (udata.cpp:967)
==5076==    by 0x50FC030: checkDataItem (udata.cpp:944)
==5076==    by 0x50FC030: doLoadFromCommonData(signed char, char const*, char 
const*, char const*, char const*, char const*, char const*, char const*, signed 
char (*)(void*, char const*, char const*, UDataInfo const*), void*, 
UErrorCode*, UErrorCode*) [clone .constprop.10] (udata.cpp:1077)
==5076==    by 0x50FCA36: doOpenChoice(char const*, char const*, char const*, 
signed char (*)(void*, char const*, char const*, UDataInfo const*), void*, 
UErrorCode*) (udata.cpp:1347)
==5076==    by 0x51096E9: initAliasData(UErrorCode&) (ucnv_io.cpp:242)
==5076==    by 0x5109F57: umtx_initOnce (umutex.h:274)
==5076==    by 0x5109F57: umtx_initOnce (umutex.h:268)
==5076==    by 0x5109F57: haveAliasData (ucnv_io.cpp:314)
==5076==    by 0x5109F57: ucnv_io_getConverterName_63 (ucnv_io.cpp:754)
==5076==    by 0x5107E16: ucnv_loadSharedData_63 (ucnv_bld.cpp:784)
==5076==    by 0x51082C3: ucnv_createConverter_63 (ucnv_bld.cpp:839)
==5076==    by 0x4AC4B68: create (ofchrenc.cc:73)
==5076==    by 0x4AC4B68: OFCharacterEncoding::selectEncoding(OFString const&, 
OFString const&) (ofchrenc.cc:693)
==5076==    by 0x49A991C: 
DcmSpecificCharacterSet::selectCharacterSetWithoutCodeExtensions() 
(dcspchrs.cc:292)
==5076==    by 0x49ABFFC: DcmSpecificCharacterSet::selectCharacterSet(OFString 
const&, OFString const&) (dcspchrs.cc:147)
==5076==    by 0x497C7F3: DcmItem::convertCharacterSet(OFString const&, 
OFString const&, unsigned long, bool) (dcitem.cc:4174)
==5076==
==5076== LEAK SUMMARY:
==5076==    definitely lost: 0 bytes in 0 blocks
==5076==    indirectly lost: 0 bytes in 0 blocks
==5076==      possibly lost: 0 bytes in 0 blocks
==5076==    still reachable: 112 bytes in 2 blocks
==5076==         suppressed: 0 bytes in 0 blocks
==5076==
==5076== For counts of detected and suppressed errors, rerun with: -v
==5076== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

-- System Information:
Debian Release: 10.9
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 
'proposed-updates-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-0.bpo.5-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dcmtk depends on:
ii  adduser     3.118
ii  libc6       2.28-10
ii  libdcmtk14  3.6.4-2.1
ii  libgcc1     1:8.3.0-6
ii  libstdc++6  8.3.0-6
ii  libxml2     2.9.4+dfsg1-7+deb10u1
ii  zlib1g      1:1.2.11.dfsg-1

dcmtk recommends no packages.

dcmtk suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: dcmtk
Source-Version: 3.6.6-1
Done: Mathieu Malaterre <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mathieu Malaterre <[email protected]> (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 [email protected])


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

Format: 1.8
Date: Wed, 17 Nov 2021 11:07:39 +0100
Source: dcmtk
Architecture: source
Version: 3.6.6-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Mathieu Malaterre <[email protected]>
Closes: 988417 993025
Changes:
 dcmtk (3.6.6-1) unstable; urgency=medium
 .
   [ Andreas Tille ]
   * Team upload.
   * Remove patches thanks to a hint by Jörg Riesmeier (see #981326)
   * Rename debian/.gitlab-ci.yml to debian/salsa-ci.yml to use a unique
     name in all Debian Med packages
 .
   [ Mathieu Malaterre ]
   * d/rules: Set ICONV to OFF
   * d/rules: Remove bogus setting of c++11 in d/rules
   * d/rules: Prefer stdlibc (iconv) setting over ICU. Closes: #988417
   * d/rules: Prefer STL over DCMTK convenient copy
   * d/rules: DCMTK_ENABLE_CHARSET_CONVERSION is an internal variable
   * d/patches: Properly install dcm2xml.dtd/dumppat.txt. Closes: #993025
Checksums-Sha1:
 8e5bb7f1b80a37298499b9195f8c3d64226d45b4 2219 dcmtk_3.6.6-1.dsc
 ad8dcb9319696736aebcb2e8dbe0dd64b200787a 28620 dcmtk_3.6.6-1.debian.tar.xz
 75e064df9902c4fdd13738fde29ded77ec35ab1d 7809 dcmtk_3.6.6-1_source.buildinfo
Checksums-Sha256:
 9defe95249dc9c874c0bdf01d636d7f0d30da9085c837aa9dc2f6ff86448a137 2219 
dcmtk_3.6.6-1.dsc
 e6bb4d7cae8e51dbdd4826ff2e25b770ad92af34aa513824a377f4ab81a3cbe2 28620 
dcmtk_3.6.6-1.debian.tar.xz
 cc5bb21fa691276a8ec7d262203cad6d01b2855ef1c2848ef92aaff878de9ca8 7809 
dcmtk_3.6.6-1_source.buildinfo
Files:
 bc68dcb41a88c109ed00eb7947bd7057 2219 science optional dcmtk_3.6.6-1.dsc
 99794032da6d0e55d39b6369857e3ded 28620 science optional 
dcmtk_3.6.6-1.debian.tar.xz
 5a15d7fded0b2f584ee96bb91e61c760 7809 science optional 
dcmtk_3.6.6-1_source.buildinfo

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

iQJFBAEBCgAvFiEEaTNn/67NjqrNHwY7AXHhgorgk0UFAmGU1NgRHG1hbGF0QGRl
Ymlhbi5vcmcACgkQAXHhgorgk0UNrRAAi8RXMcd4xhaC39toLZr4LIvcOCr1qp2Z
Mv2mkXUQMwe2s+inz1mqVGbkAS7MsdVlMw481bNx7VvBdw8DXwW62SB9BeyzGfk8
rnZFO/xq2AwyPSHtZuAoI84v0eXsLSmn2KUfZJZ31X7AOClAZfnuPe6C01VvZ2cR
1D9lPDyi0M7zE6SMivksWjf/nWaYBg4cmtweMmSfk2vNXp0EbNgP7djvcsRvqeH6
Ng4548KmSY4nYOy6SiUAnn7BWIJiBOPEPyZ76tIUILYo/vLbSbF/pLSjDFVqw1K1
Znaxoee9I8zRodvieTEV31Hra/13wDsmpAik9KyCpKK3RjN6EBR9RhJIcK5yqirn
5ME5RuJBQS2XHWFVTBNVmfYRPhQHrOd4i7e/dGyG4YZuPYUf1fuA7NZAklEAX3UZ
p5yU6eUMwvWi/SLdmLDm6GUt8iMcClwpIckKgMxRb3hYEWKlJ7b9wFQJTHZ+B6YG
OkU08KPnUBKhna0OmzCwvRVf030m2qwzoReqYM5KLliGpEbOvw87dLrhHONUkLQe
yGutG5IMswO+lX6oNEQk+O1pGK0Sbpok8Yxw7E8dsG2J6dF9OxArlvkEndjOnCWa
8J2Ng+K7mah6L0zxGHRrSRNAw94atGE9rTkTY7d/gnruxOXakmHfZp4MncV50IH1
e2Zw6w+V5Zs=
=wsU4
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to