[Debian-med-packaging] Bug#1056048:

Mathieu Malaterre malat at debian.org
Mon Jul 8 12:38:36 BST 2024


Control: found -1 3.6.8-5

% valgrind  --leak-check=full --show-leak-kinds=all dcm2json
charsettests/SCSARAB  output.json
==58329== Memcheck, a memory error detector
==58329== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==58329== Using Valgrind-3.20.0 and LibVEX; rerun with -h for copyright info
==58329== Command: dcm2json charsettests/SCSARAB output.json
==58329==
==58329==
==58329== HEAP SUMMARY:
==58329==     in use at exit: 842 bytes in 2 blocks
==58329==   total heap usage: 80,063 allocs, 80,061 frees, 2,121,516
bytes allocated
==58329==
==58329== 26 bytes in 1 blocks are still reachable in loss record 1 of 2
==58329==    at 0x4840808: malloc (in
/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==58329==    by 0x4E5EC19: strdup (strdup.c:42)
==58329==    by 0x4FB9CC9: ??? (in
/usr/lib/x86_64-linux-gnu/liboficonv.so.18.3.6.8)
==58329==    by 0x4FB454D: ??? (in
/usr/lib/x86_64-linux-gnu/liboficonv.so.18.3.6.8)
==58329==    by 0x4FB145B: ??? (in
/usr/lib/x86_64-linux-gnu/liboficonv.so.18.3.6.8)
==58329==    by 0x4FB75DF: ??? (in
/usr/lib/x86_64-linux-gnu/liboficonv.so.18.3.6.8)
==58329==    by 0x4AE71C6:
OFCharacterEncoding::selectEncoding(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&) (in
/usr/lib/x86_64-linux-gnu/libofstd.so.18.3.6.8)
==58329==    by 0x49B2337:
DcmSpecificCharacterSet::selectCharacterSetWithoutCodeExtensions() (in
/usr/lib/x86_64-linux-gnu/libdcmdata.so.18.3.6.8)
==58329==    by 0x49B291F:
DcmSpecificCharacterSet::selectCharacterSet(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&) (in
/usr/lib/x86_64-linux-gnu/libdcmdata.so.18.3.6.8)
==58329==    by 0x498BBBA:
DcmItem::convertCharacterSet(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, unsigned long, bool) (in
/usr/lib/x86_64-linux-gnu/libdcmdata.so.18.3.6.8)
==58329==    by 0x498905A:
DcmItem::convertCharacterSet(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned long,
bool) (in /usr/lib/x86_64-linux-gnu/libdcmdata.so.18.3.6.8)
==58329==    by 0x4986CF0: DcmItem::convertToUTF8() (in
/usr/lib/x86_64-linux-gnu/libdcmdata.so.18.3.6.8)
==58329==
==58329== 816 bytes in 1 blocks are still reachable in loss record 2 of 2
==58329==    at 0x4840808: malloc (in
/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==58329==    by 0x4FB9CB5: ??? (in
/usr/lib/x86_64-linux-gnu/liboficonv.so.18.3.6.8)
==58329==    by 0x4FB454D: ??? (in
/usr/lib/x86_64-linux-gnu/liboficonv.so.18.3.6.8)
==58329==    by 0x4FB145B: ??? (in
/usr/lib/x86_64-linux-gnu/liboficonv.so.18.3.6.8)
==58329==    by 0x4FB75DF: ??? (in
/usr/lib/x86_64-linux-gnu/liboficonv.so.18.3.6.8)
==58329==    by 0x4AE71C6:
OFCharacterEncoding::selectEncoding(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&) (in
/usr/lib/x86_64-linux-gnu/libofstd.so.18.3.6.8)
==58329==    by 0x49B2337:
DcmSpecificCharacterSet::selectCharacterSetWithoutCodeExtensions() (in
/usr/lib/x86_64-linux-gnu/libdcmdata.so.18.3.6.8)
==58329==    by 0x49B291F:
DcmSpecificCharacterSet::selectCharacterSet(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&) (in
/usr/lib/x86_64-linux-gnu/libdcmdata.so.18.3.6.8)
==58329==    by 0x498BBBA:
DcmItem::convertCharacterSet(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, unsigned long, bool) (in
/usr/lib/x86_64-linux-gnu/libdcmdata.so.18.3.6.8)
==58329==    by 0x498905A:
DcmItem::convertCharacterSet(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, unsigned long,
bool) (in /usr/lib/x86_64-linux-gnu/libdcmdata.so.18.3.6.8)
==58329==    by 0x4986CF0: DcmItem::convertToUTF8() (in
/usr/lib/x86_64-linux-gnu/libdcmdata.so.18.3.6.8)
==58329==    by 0x10C248: ??? (in /usr/bin/dcm2json)
==58329==
==58329== LEAK SUMMARY:
==58329==    definitely lost: 0 bytes in 0 blocks
==58329==    indirectly lost: 0 bytes in 0 blocks
==58329==      possibly lost: 0 bytes in 0 blocks
==58329==    still reachable: 842 bytes in 2 blocks
==58329==         suppressed: 0 bytes in 0 blocks
==58329==
==58329== For lists of detected and suppressed errors, rerun with: -s
==58329== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)



More information about the Debian-med-packaging mailing list