- cords, build #006, valgrind mem leaks:
- ==485488== HEAP SUMMARY:
- ==485488== in use at exit: 1,526,955 bytes in 51,505 blocks
- ==485488== total heap usage: 1,986,052 allocs, 1,934,547 frees, 108,799,373 bytes allocated
- ==485488==
- ==485488== Thread 1:
- ==485488== 20 bytes in 1 blocks are indirectly lost in loss record 1 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x49BD34B: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x813BFD2: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (basic_string.tcc:138)
- ==485488== by 0x49BF977: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x40F64BE: C_Thread::C_Thread(char const*, int) (Thread.cpp:176)
- ==485488== by 0x40F6CD5: C_Thread::GetCurrentThreadPtr() (Thread.cpp:408)
- ==485488== by 0x40F3AB7: C_PosixSystem::LogMsgVar(std::string const&, int, char*) (PosixSystem.cpp:618)
- ==485488== by 0x40F3A08: C_PosixSystem::LogMsg(std::string const&, int, ...) (PosixSystem.cpp:595)
- ==485488== by 0x40EF287: C_MsgQue::~C_MsgQue() (RMsgQue.cpp:281)
- ==485488== by 0x4C1879D: ??? (in /usr/lib32/libc-2.31.so)
- ==485488== by 0x4C18970: exit (in /usr/lib32/libc-2.31.so)
- ==485488== by 0x4BFFE51: (below main) (in /usr/lib32/libc-2.31.so)
- ==485488==
- ==485488== 24 bytes in 1 blocks are still reachable in loss record 2 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x49BD34B: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x813BFD2: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (basic_string.tcc:138)
- ==485488== by 0x49BF977: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x818966F: C_RdsLogList::StartWrite2FileTask() (RdsLoglist.cpp:166)
- ==485488== by 0x8121C90: C_RdsBase::C_RdsBase() (RdsBase.cpp:97)
- ==485488== by 0x8164E06: C_RdsData::C_RdsData() (RdsData.h:133)
- ==485488== by 0x8164E70: C_RdsDataStruct::C_RdsDataStruct() (RdsDataStruct.h:66)
- ==485488== by 0x8164E8C: C_RdsDataSearch::C_RdsDataSearch() (RdsDataSearch.h:42)
- ==485488== by 0x8164F0D: C_RdsDataInform::C_RdsDataInform() (RdsDataInform.h:71)
- ==485488== by 0x8164FB8: C_RdsDataFile::C_RdsDataFile() (RdsDataFile.h:45)
- ==485488== by 0x8165022: C_RdsDataLgLst::C_RdsDataLgLst() (RdsDataLoglist.h:93)
- ==485488== by 0x815C0C0: C_RdsDataStream::C_RdsDataStream() (RdsDataStream.cpp:142)
- ==485488== by 0x8156868: C_RdsDataProcess::C_RdsDataProcess() (RdsDataProcess.cpp:619)
- ==485488== by 0x814693D: C_Rds::C_Rds() (Rds.cpp:63)
- ==485488== by 0x8193DE6: main (RdsMain.cpp:1322)
- ==485488==
- ==485488== 24 bytes in 1 blocks are still reachable in loss record 3 of 31
- ==485488== at 0x403663B: malloc (vg_replace_malloc.c:307)
- ==485488== by 0x40F49DF: C_PosixSystem::CreateCriticalSection() (PosixSystem.cpp:995)
- ==485488== by 0x8141017: C_RdsClientLocal::C_RdsClientLocal() (RdsClientLocal.cpp:155)
- ==485488== by 0x8172EDB: C_RdsInform::createStaticMembers(C_Rds*) (RdsInform.cpp:78)
- ==485488== by 0x8146A09: C_Rds::C_Rds() (Rds.cpp:91)
- ==485488== by 0x8193DE6: main (RdsMain.cpp:1322)
- ==485488==
- ==485488== 28 bytes in 1 blocks are still reachable in loss record 4 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x422B41F: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== 29 bytes in 1 blocks are still reachable in loss record 5 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x49BD34B: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BE498: std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BE54C: std::string::reserve(unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BE857: std::string::append(char const*, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BE9C7: std::string::operator+=(char const*) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x81413AB: C_RdsClientLocal::startInformTask() (RdsClientLocal.cpp:264)
- ==485488== by 0x813F4F1: C_RdsClient::setClientSpecification(C_Rds*, short, char const*, unsigned char, unsigned int, bool&, bool) (RdsClient.cpp:230)
- ==485488== by 0x8172F34: C_RdsInform::createStaticMembers(C_Rds*) (RdsInform.cpp:95)
- ==485488== by 0x8146A09: C_Rds::C_Rds() (Rds.cpp:91)
- ==485488== by 0x8193DE6: main (RdsMain.cpp:1322)
- ==485488==
- ==485488== 30 bytes in 2 blocks are still reachable in loss record 6 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x49BD34B: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x81BB518: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (basic_string.tcc:138)
- ==485488== by 0x49BF254: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned int, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BF2B0: std::string::substr(unsigned int, unsigned int) const (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x422EE67: C_Language::readLangCode(std::string) (Language.cpp:104)
- ==485488== by 0x422AFF4: C_TextSource::C_TextSource(char const*) (TextSource.cpp:81)
- ==485488== by 0x422B430: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== 30 bytes in 2 blocks are still reachable in loss record 7 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x49BD34B: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x81BB518: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (basic_string.tcc:138)
- ==485488== by 0x49BF254: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned int, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BF2B0: std::string::substr(unsigned int, unsigned int) const (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x422EE67: C_Language::readLangCode(std::string) (Language.cpp:104)
- ==485488== by 0x422E8F8: C_Language::C_Language(std::string&) (Language.cpp:43)
- ==485488== by 0x422B0C4: C_TextSource::C_TextSource(char const*) (TextSource.cpp:85)
- ==485488== by 0x422B430: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== 48 bytes in 2 blocks are still reachable in loss record 8 of 31
- ==485488== at 0x403663B: malloc (vg_replace_malloc.c:307)
- ==485488== by 0x40F49DF: C_PosixSystem::CreateCriticalSection() (PosixSystem.cpp:995)
- ==485488== by 0x422E72D: C_Language::C_Language(std::string&) (Language.cpp:26)
- ==485488== by 0x422B0C4: C_TextSource::C_TextSource(char const*) (TextSource.cpp:85)
- ==485488== by 0x422B430: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== 48 bytes in 2 blocks are still reachable in loss record 9 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x4230A9F: __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const, std::string> > >::allocate(unsigned int, void const*) (new_allocator.h:104)
- ==485488== by 0x423071A: std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::string>, std::_Select1st<std::pair<unsigned int const, std::string> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::string> > >::_M_get_node() (stl_tree.h:370)
- ==485488== by 0x422FEF6: std::_Rb_tree_node<std::pair<unsigned int const, std::string> >* std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::string>, std::_Select1st<std::pair<unsigned int const, std::string> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::string> > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<unsigned int&&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<unsigned int&&>&&, std::tuple<>&&) (stl_tree.h:403)
- ==485488== by 0x422FA2F: std::_Rb_tree_iterator<std::pair<unsigned int const, std::string> > std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::string>, std::_Select1st<std::pair<unsigned int const, std::string> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::string> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<unsigned int&&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<unsigned int const, std::string> >, std::piecewise_construct_t const&, std::tuple<unsigned int&&>&&, std::tuple<>&&) (stl_tree.h:1669)
- ==485488== by 0x422F3AF: std::map<unsigned int, std::string, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::string> > >::operator[](unsigned int&&) (stl_map.h:484)
- ==485488== by 0x422E781: C_Language::C_Language(std::string&) (Language.cpp:30)
- ==485488== by 0x422B0C4: C_TextSource::C_TextSource(char const*) (TextSource.cpp:85)
- ==485488== by 0x422B430: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== 48 bytes in 2 blocks are still reachable in loss record 10 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x422E17D: __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::string const, C_Language*> > >::allocate(unsigned int, void const*) (new_allocator.h:104)
- ==485488== by 0x422DDCC: std::_Rb_tree<std::string, std::pair<std::string const, C_Language*>, std::_Select1st<std::pair<std::string const, C_Language*> >, std::less<std::string>, std::allocator<std::pair<std::string const, C_Language*> > >::_M_get_node() (stl_tree.h:370)
- ==485488== by 0x422D49C: std::_Rb_tree_node<std::pair<std::string const, C_Language*> >* std::_Rb_tree<std::string, std::pair<std::string const, C_Language*>, std::_Select1st<std::pair<std::string const, C_Language*> >, std::less<std::string>, std::allocator<std::pair<std::string const, C_Language*> > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<std::string const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<std::string const&>&&, std::tuple<>&&) (stl_tree.h:403)
- ==485488== by 0x422CC17: std::_Rb_tree_iterator<std::pair<std::string const, C_Language*> > std::_Rb_tree<std::string, std::pair<std::string const, C_Language*>, std::_Select1st<std::pair<std::string const, C_Language*> >, std::less<std::string>, std::allocator<std::pair<std::string const, C_Language*> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<std::string const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<std::string const, C_Language*> >, std::piecewise_construct_t const&, std::tuple<std::string const&>&&, std::tuple<>&&) (stl_tree.h:1669)
- ==485488== by 0x422C5A6: std::map<std::string, C_Language*, std::less<std::string>, std::allocator<std::pair<std::string const, C_Language*> > >::operator[](std::string const&) (stl_map.h:465)
- ==485488== by 0x422B0DC: C_TextSource::C_TextSource(char const*) (TextSource.cpp:85)
- ==485488== by 0x422B430: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== 68 bytes in 1 blocks are still reachable in loss record 11 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x818967E: C_RdsLogList::StartWrite2FileTask() (RdsLoglist.cpp:166)
- ==485488== by 0x8121C90: C_RdsBase::C_RdsBase() (RdsBase.cpp:97)
- ==485488== by 0x8164E06: C_RdsData::C_RdsData() (RdsData.h:133)
- ==485488== by 0x8164E70: C_RdsDataStruct::C_RdsDataStruct() (RdsDataStruct.h:66)
- ==485488== by 0x8164E8C: C_RdsDataSearch::C_RdsDataSearch() (RdsDataSearch.h:42)
- ==485488== by 0x8164F0D: C_RdsDataInform::C_RdsDataInform() (RdsDataInform.h:71)
- ==485488== by 0x8164FB8: C_RdsDataFile::C_RdsDataFile() (RdsDataFile.h:45)
- ==485488== by 0x8165022: C_RdsDataLgLst::C_RdsDataLgLst() (RdsDataLoglist.h:93)
- ==485488== by 0x815C0C0: C_RdsDataStream::C_RdsDataStream() (RdsDataStream.cpp:142)
- ==485488== by 0x8156868: C_RdsDataProcess::C_RdsDataProcess() (RdsDataProcess.cpp:619)
- ==485488== by 0x814693D: C_Rds::C_Rds() (Rds.cpp:63)
- ==485488== by 0x8193DE6: main (RdsMain.cpp:1322)
- ==485488==
- ==485488== 68 bytes in 1 blocks are still reachable in loss record 12 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x81413F0: C_RdsClientLocal::startInformTask() (RdsClientLocal.cpp:274)
- ==485488== by 0x813F4F1: C_RdsClient::setClientSpecification(C_Rds*, short, char const*, unsigned char, unsigned int, bool&, bool) (RdsClient.cpp:230)
- ==485488== by 0x8172F34: C_RdsInform::createStaticMembers(C_Rds*) (RdsInform.cpp:95)
- ==485488== by 0x8146A09: C_Rds::C_Rds() (Rds.cpp:91)
- ==485488== by 0x8193DE6: main (RdsMain.cpp:1322)
- ==485488==
- ==485488== 72 bytes in 2 blocks are still reachable in loss record 13 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x422B0B0: C_TextSource::C_TextSource(char const*) (TextSource.cpp:85)
- ==485488== by 0x422B430: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== 88 (68 direct, 20 indirect) bytes in 1 blocks are definitely lost in loss record 14 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x40F6CB9: C_Thread::GetCurrentThreadPtr() (Thread.cpp:408)
- ==485488== by 0x40F3AB7: C_PosixSystem::LogMsgVar(std::string const&, int, char*) (PosixSystem.cpp:618)
- ==485488== by 0x40F3A08: C_PosixSystem::LogMsg(std::string const&, int, ...) (PosixSystem.cpp:595)
- ==485488== by 0x40EF287: C_MsgQue::~C_MsgQue() (RMsgQue.cpp:281)
- ==485488== by 0x4C1879D: ??? (in /usr/lib32/libc-2.31.so)
- ==485488== by 0x4C18970: exit (in /usr/lib32/libc-2.31.so)
- ==485488== by 0x4BFFE51: (below main) (in /usr/lib32/libc-2.31.so)
- ==485488==
- ==485488== 119 bytes in 3 blocks are still reachable in loss record 15 of 31
- ==485488== at 0x40373CB: operator new[](unsigned int) (vg_replace_malloc.c:425)
- ==485488== by 0x40EC795: C_RovTool::strAlloc(unsigned int, bool) (RovTool.cpp:155)
- ==485488== by 0x40EC88E: C_RovTool::strCopy(char const*, bool) (RovTool.cpp:200)
- ==485488== by 0x814AFCD: C_RdsData::getNodeName(unsigned int, char*&, bool&, unsigned int, C_RdsClient const*) const (RdsData.cpp:262)
- ==485488== by 0x81BBFFB: (anonymous namespace)::getTransparentListPositionDataDirectory(C_Rds&, unsigned int) (FormatListExport.cpp:80)
- ==485488== by 0x81BC1EA: (anonymous namespace)::getFormatListPositions(C_Rds&, unsigned int, CoRds::LanguageResolver const&) (FormatListExport.cpp:118)
- ==485488== by 0x81BC44F: (anonymous namespace)::getFormatLists(C_Rds&, CoRds::LanguageResolver&) (FormatListExport.cpp:150)
- ==485488== by 0x81BC976: (anonymous namespace)::loadFormatListsFromRecipes(C_Rds&, CoRds::LanguageResolver&) (FormatListExport.cpp:221)
- ==485488== by 0x81BCF3E: CoRds::FormatListExport::exportCSV(C_Rds&, std::string const&, CoRds::LanguageResolver&) (FormatListExport.cpp:288)
- ==485488== by 0x81BAA18: CoRds::CoRds::exportFormatLists(unsigned int, bool) (CoRds.cpp:126)
- ==485488== by 0x8193F2F: main (RdsMain.cpp:1338)
- ==485488==
- ==485488== 124 bytes in 3 blocks are possibly lost in loss record 16 of 31
- ==485488== at 0x40373CB: operator new[](unsigned int) (vg_replace_malloc.c:425)
- ==485488== by 0x40EC795: C_RovTool::strAlloc(unsigned int, bool) (RovTool.cpp:155)
- ==485488== by 0x40EC88E: C_RovTool::strCopy(char const*, bool) (RovTool.cpp:200)
- ==485488== by 0x814AFCD: C_RdsData::getNodeName(unsigned int, char*&, bool&, unsigned int, C_RdsClient const*) const (RdsData.cpp:262)
- ==485488== by 0x81BBFFB: (anonymous namespace)::getTransparentListPositionDataDirectory(C_Rds&, unsigned int) (FormatListExport.cpp:80)
- ==485488== by 0x81BC1EA: (anonymous namespace)::getFormatListPositions(C_Rds&, unsigned int, CoRds::LanguageResolver const&) (FormatListExport.cpp:118)
- ==485488== by 0x81BC44F: (anonymous namespace)::getFormatLists(C_Rds&, CoRds::LanguageResolver&) (FormatListExport.cpp:150)
- ==485488== by 0x81BC976: (anonymous namespace)::loadFormatListsFromRecipes(C_Rds&, CoRds::LanguageResolver&) (FormatListExport.cpp:221)
- ==485488== by 0x81BCF3E: CoRds::FormatListExport::exportCSV(C_Rds&, std::string const&, CoRds::LanguageResolver&) (FormatListExport.cpp:288)
- ==485488== by 0x81BAA18: CoRds::CoRds::exportFormatLists(unsigned int, bool) (CoRds.cpp:126)
- ==485488== by 0x8193F2F: main (RdsMain.cpp:1338)
- ==485488==
- ==485488== 156 bytes in 1 blocks are still reachable in loss record 17 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x81413B7: C_RdsClientLocal::startInformTask() (RdsClientLocal.cpp:268)
- ==485488== by 0x813F4F1: C_RdsClient::setClientSpecification(C_Rds*, short, char const*, unsigned char, unsigned int, bool&, bool) (RdsClient.cpp:230)
- ==485488== by 0x8172F34: C_RdsInform::createStaticMembers(C_Rds*) (RdsInform.cpp:95)
- ==485488== by 0x8146A09: C_Rds::C_Rds() (Rds.cpp:91)
- ==485488== by 0x8193DE6: main (RdsMain.cpp:1322)
- ==485488==
- ==485488== 160 bytes in 1 blocks are possibly lost in loss record 18 of 31
- ==485488== at 0x4038A16: calloc (vg_replace_malloc.c:760)
- ==485488== by 0x4013B0C: allocate_dtv (dl-tls.c:343)
- ==485488== by 0x4013B0C: _dl_allocate_tls (dl-tls.c:589)
- ==485488== by 0x48AFD64: pthread_create@@GLIBC_2.1 (in /usr/lib32/libpthread-2.31.so)
- ==485488== by 0x40F2EDD: C_PosixSystem::CreateThread(C_Thread&, std::string const&, void* (*)(void*), unsigned int, unsigned int, unsigned int, unsigned int&, unsigned int&) (PosixSystem.cpp:182)
- ==485488== by 0x40F611F: C_Thread::C_Thread(std::string const&, void* (*)(void*), unsigned int, unsigned int, unsigned int) (Thread.cpp:101)
- ==485488== by 0x81896AC: C_RdsLogList::StartWrite2FileTask() (RdsLoglist.cpp:166)
- ==485488== by 0x8121C90: C_RdsBase::C_RdsBase() (RdsBase.cpp:97)
- ==485488== by 0x8164E06: C_RdsData::C_RdsData() (RdsData.h:133)
- ==485488== by 0x8164E70: C_RdsDataStruct::C_RdsDataStruct() (RdsDataStruct.h:66)
- ==485488== by 0x8164E8C: C_RdsDataSearch::C_RdsDataSearch() (RdsDataSearch.h:42)
- ==485488== by 0x8164F0D: C_RdsDataInform::C_RdsDataInform() (RdsDataInform.h:71)
- ==485488== by 0x8164FB8: C_RdsDataFile::C_RdsDataFile() (RdsDataFile.h:45)
- ==485488== by 0x8165022: C_RdsDataLgLst::C_RdsDataLgLst() (RdsDataLoglist.h:93)
- ==485488== by 0x815C0C0: C_RdsDataStream::C_RdsDataStream() (RdsDataStream.cpp:142)
- ==485488== by 0x8156868: C_RdsDataProcess::C_RdsDataProcess() (RdsDataProcess.cpp:619)
- ==485488== by 0x814693D: C_Rds::C_Rds() (Rds.cpp:63)
- ==485488== by 0x8193DE6: main (RdsMain.cpp:1322)
- ==485488==
- ==485488== 160 bytes in 1 blocks are possibly lost in loss record 19 of 31
- ==485488== at 0x4038A16: calloc (vg_replace_malloc.c:760)
- ==485488== by 0x4013B0C: allocate_dtv (dl-tls.c:343)
- ==485488== by 0x4013B0C: _dl_allocate_tls (dl-tls.c:589)
- ==485488== by 0x48AFD64: pthread_create@@GLIBC_2.1 (in /usr/lib32/libpthread-2.31.so)
- ==485488== by 0x40F2EDD: C_PosixSystem::CreateThread(C_Thread&, std::string const&, void* (*)(void*), unsigned int, unsigned int, unsigned int, unsigned int&, unsigned int&) (PosixSystem.cpp:182)
- ==485488== by 0x40F611F: C_Thread::C_Thread(std::string const&, void* (*)(void*), unsigned int, unsigned int, unsigned int) (Thread.cpp:101)
- ==485488== by 0x8141420: C_RdsClientLocal::startInformTask() (RdsClientLocal.cpp:274)
- ==485488== by 0x813F4F1: C_RdsClient::setClientSpecification(C_Rds*, short, char const*, unsigned char, unsigned int, bool&, bool) (RdsClient.cpp:230)
- ==485488== by 0x8172F34: C_RdsInform::createStaticMembers(C_Rds*) (RdsInform.cpp:95)
- ==485488== by 0x8146A09: C_Rds::C_Rds() (Rds.cpp:91)
- ==485488== by 0x8193DE6: main (RdsMain.cpp:1322)
- ==485488==
- ==485488== 166 bytes in 5 blocks are still reachable in loss record 20 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x49BD34B: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BD535: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BD74B: std::string::_M_leak_hard() (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BD7F5: std::string::operator[](unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x422EA8A: C_Language::C_Language(std::string&) (Language.cpp:65)
- ==485488== by 0x422B0C4: C_TextSource::C_TextSource(char const*) (TextSource.cpp:85)
- ==485488== by 0x422B430: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== 216 bytes in 1 blocks are still reachable in loss record 21 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x8172ED1: C_RdsInform::createStaticMembers(C_Rds*) (RdsInform.cpp:78)
- ==485488== by 0x8146A09: C_Rds::C_Rds() (Rds.cpp:91)
- ==485488== by 0x8193DE6: main (RdsMain.cpp:1322)
- ==485488==
- ==485488== 282 bytes in 79 blocks are definitely lost in loss record 22 of 31
- ==485488== at 0x40373CB: operator new[](unsigned int) (vg_replace_malloc.c:425)
- ==485488== by 0x40EC795: C_RovTool::strAlloc(unsigned int, bool) (RovTool.cpp:155)
- ==485488== by 0x40EC88E: C_RovTool::strCopy(char const*, bool) (RovTool.cpp:200)
- ==485488== by 0x81B3E78: C_RdsString::readNodeDataFromString(C_RdsLoadFlags&, std::string&, T_SoftwareVersion const&) (RdsString.cpp:234)
- ==485488== by 0x815EA82: C_RdsDataStream::readLine(C_RdsLoadFlags&, std::string&, C_RdsDirectory*, C_RdsDirectory*&) (RdsDataStream.cpp:733)
- ==485488== by 0x815EE3E: C_RdsDataStream::readStream(C_RdsLoadFlags&, std::istream&, char const*, C_RdsDirectory*, bool, char const*) (RdsDataStream.cpp:796)
- ==485488== by 0x81BA2C3: CoRds::initRds(C_Rds&, std::string const&, std::string const&) (CoRds.cpp:31)
- ==485488== by 0x8193ED2: main (RdsMain.cpp:1330)
- ==485488==
- ==485488== 800 bytes in 44 blocks are definitely lost in loss record 23 of 31
- ==485488== at 0x40373CB: operator new[](unsigned int) (vg_replace_malloc.c:425)
- ==485488== by 0x40EC795: C_RovTool::strAlloc(unsigned int, bool) (RovTool.cpp:155)
- ==485488== by 0x40EC88E: C_RovTool::strCopy(char const*, bool) (RovTool.cpp:200)
- ==485488== by 0x81B39F9: C_RdsString::_setValue(char const*) (RdsString.cpp:118)
- ==485488== by 0x814D305: C_RdsData::setString(unsigned int, char const*, bool&, char const*, C_RdsClient const*) const (RdsData.cpp:1274)
- ==485488== by 0x8161936: C_RdsDataStream::loadRecipConf(C_RdsDirectory*, unsigned int, char const*, char const*, C_RdsClient const*) (RdsDataStream.cpp:1800)
- ==485488== by 0x815FFE4: C_RdsDataStream::_loadRecipe(C_RdsNode const*, char const*, int, C_RdsClient const*) (RdsDataStream.cpp:1197)
- ==485488== by 0x81AF79E: C_RdsRmaService::serviceThread(unsigned int) (RdsRmaService.cpp:138)
- ==485488== by 0x40F3232: C_PosixSystem::threadEntry(void*) (PosixSystem.cpp:267)
- ==485488== by 0x48AF0B3: start_thread (in /usr/lib32/libpthread-2.31.so)
- ==485488== by 0x4CE5255: clone (in /usr/lib32/libc-2.31.so)
- ==485488==
- ==485488== 2,068 bytes in 44 blocks are definitely lost in loss record 24 of 31
- ==485488== at 0x40373CB: operator new[](unsigned int) (vg_replace_malloc.c:425)
- ==485488== by 0x40EC795: C_RovTool::strAlloc(unsigned int, bool) (RovTool.cpp:155)
- ==485488== by 0x40EC88E: C_RovTool::strCopy(char const*, bool) (RovTool.cpp:200)
- ==485488== by 0x816D0A2: C_RdsFile::getPathFileName(char*&) const (RdsFile.cpp:202)
- ==485488== by 0x8161AD5: C_RdsDataStream::loadRecipConf(C_RdsDirectory*, unsigned int, char const*, char const*, C_RdsClient const*) (RdsDataStream.cpp:1828)
- ==485488== by 0x815FFE4: C_RdsDataStream::_loadRecipe(C_RdsNode const*, char const*, int, C_RdsClient const*) (RdsDataStream.cpp:1197)
- ==485488== by 0x81AF79E: C_RdsRmaService::serviceThread(unsigned int) (RdsRmaService.cpp:138)
- ==485488== by 0x40F3232: C_PosixSystem::threadEntry(void*) (PosixSystem.cpp:267)
- ==485488== by 0x48AF0B3: start_thread (in /usr/lib32/libpthread-2.31.so)
- ==485488== by 0x4CE5255: clone (in /usr/lib32/libc-2.31.so)
- ==485488==
- ==485488== 8,173 bytes in 79 blocks are still reachable in loss record 25 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x49BD34B: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BD535: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BDD89: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BF4CF: std::string::replace(unsigned int, unsigned int, char const*, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BF689: std::string::replace(unsigned int, unsigned int, std::string const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x422EB63: C_Language::C_Language(std::string&) (Language.cpp:75)
- ==485488== by 0x422B0C4: C_TextSource::C_TextSource(char const*) (TextSource.cpp:85)
- ==485488== by 0x422B430: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== 8,470 bytes in 27 blocks are still reachable in loss record 26 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x49BD34B: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BD535: std::string::_M_mutate(unsigned int, unsigned int, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BDD89: std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BF4CF: std::string::replace(unsigned int, unsigned int, char const*, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BF72E: std::string::replace(unsigned int, unsigned int, char const*) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x422EA6C: C_Language::C_Language(std::string&) (Language.cpp:63)
- ==485488== by 0x422B0C4: C_TextSource::C_TextSource(char const*) (TextSource.cpp:85)
- ==485488== by 0x422B430: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== 11,913 bytes in 3,397 blocks are definitely lost in loss record 27 of 31
- ==485488== at 0x40373CB: operator new[](unsigned int) (vg_replace_malloc.c:425)
- ==485488== by 0x40EC795: C_RovTool::strAlloc(unsigned int, bool) (RovTool.cpp:155)
- ==485488== by 0x40EC88E: C_RovTool::strCopy(char const*, bool) (RovTool.cpp:200)
- ==485488== by 0x81B3E78: C_RdsString::readNodeDataFromString(C_RdsLoadFlags&, std::string&, T_SoftwareVersion const&) (RdsString.cpp:234)
- ==485488== by 0x815EA82: C_RdsDataStream::readLine(C_RdsLoadFlags&, std::string&, C_RdsDirectory*, C_RdsDirectory*&) (RdsDataStream.cpp:733)
- ==485488== by 0x815EE3E: C_RdsDataStream::readStream(C_RdsLoadFlags&, std::istream&, char const*, C_RdsDirectory*, bool, char const*) (RdsDataStream.cpp:796)
- ==485488== by 0x8161B0C: C_RdsDataStream::loadRecipConf(C_RdsDirectory*, unsigned int, char const*, char const*, C_RdsClient const*) (RdsDataStream.cpp:1830)
- ==485488== by 0x815FFE4: C_RdsDataStream::_loadRecipe(C_RdsNode const*, char const*, int, C_RdsClient const*) (RdsDataStream.cpp:1197)
- ==485488== by 0x81AF79E: C_RdsRmaService::serviceThread(unsigned int) (RdsRmaService.cpp:138)
- ==485488== by 0x40F3232: C_PosixSystem::threadEntry(void*) (PosixSystem.cpp:267)
- ==485488== by 0x48AF0B3: start_thread (in /usr/lib32/libpthread-2.31.so)
- ==485488== by 0x4CE5255: clone (in /usr/lib32/libc-2.31.so)
- ==485488==
- ==485488== 12,000 bytes in 1 blocks are still reachable in loss record 28 of 31
- ==485488== at 0x40373CB: operator new[](unsigned int) (vg_replace_malloc.c:425)
- ==485488== by 0x40EEDEC: C_MsgQue::C_MsgQue(int, int, char const*) (RMsgQue.cpp:250)
- ==485488== by 0x81413DB: C_RdsClientLocal::startInformTask() (RdsClientLocal.cpp:268)
- ==485488== by 0x813F4F1: C_RdsClient::setClientSpecification(C_Rds*, short, char const*, unsigned char, unsigned int, bool&, bool) (RdsClient.cpp:230)
- ==485488== by 0x8172F34: C_RdsInform::createStaticMembers(C_Rds*) (RdsInform.cpp:95)
- ==485488== by 0x8146A09: C_Rds::C_Rds() (Rds.cpp:91)
- ==485488== by 0x8193DE6: main (RdsMain.cpp:1322)
- ==485488==
- ==485488== 440,352 bytes in 18,348 blocks are still reachable in loss record 29 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x4230A9F: __gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<unsigned int const, std::string> > >::allocate(unsigned int, void const*) (new_allocator.h:104)
- ==485488== by 0x423071A: std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::string>, std::_Select1st<std::pair<unsigned int const, std::string> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::string> > >::_M_get_node() (stl_tree.h:370)
- ==485488== by 0x42303DC: std::_Rb_tree_node<std::pair<unsigned int const, std::string> >* std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::string>, std::_Select1st<std::pair<unsigned int const, std::string> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::string> > >::_M_create_node<std::piecewise_construct_t const&, std::tuple<unsigned int const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<unsigned int const&>&&, std::tuple<>&&) (stl_tree.h:403)
- ==485488== by 0x422FB4D: std::_Rb_tree_iterator<std::pair<unsigned int const, std::string> > std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::string>, std::_Select1st<std::pair<unsigned int const, std::string> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::string> > >::_M_emplace_hint_unique<std::piecewise_construct_t const&, std::tuple<unsigned int const&>, std::tuple<> >(std::_Rb_tree_const_iterator<std::pair<unsigned int const, std::string> >, std::piecewise_construct_t const&, std::tuple<unsigned int const&>&&, std::tuple<>&&) (stl_tree.h:1669)
- ==485488== by 0x422F566: std::map<unsigned int, std::string, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, std::string> > >::operator[](unsigned int const&) (stl_map.h:465)
- ==485488== by 0x422E8A0: C_Language::C_Language(std::string&) (Language.cpp:40)
- ==485488== by 0x422B0C4: C_TextSource::C_TextSource(char const*) (TextSource.cpp:85)
- ==485488== by 0x422B430: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== 442,529 bytes in 11,214 blocks are definitely lost in loss record 30 of 31
- ==485488== at 0x40373CB: operator new[](unsigned int) (vg_replace_malloc.c:425)
- ==485488== by 0x40EC795: C_RovTool::strAlloc(unsigned int, bool) (RovTool.cpp:155)
- ==485488== by 0x40EC88E: C_RovTool::strCopy(char const*, bool) (RovTool.cpp:200)
- ==485488== by 0x814AFCD: C_RdsData::getNodeName(unsigned int, char*&, bool&, unsigned int, C_RdsClient const*) const (RdsData.cpp:262)
- ==485488== by 0x81BBFFB: (anonymous namespace)::getTransparentListPositionDataDirectory(C_Rds&, unsigned int) (FormatListExport.cpp:80)
- ==485488== by 0x81BC1EA: (anonymous namespace)::getFormatListPositions(C_Rds&, unsigned int, CoRds::LanguageResolver const&) (FormatListExport.cpp:118)
- ==485488== by 0x81BC44F: (anonymous namespace)::getFormatLists(C_Rds&, CoRds::LanguageResolver&) (FormatListExport.cpp:150)
- ==485488== by 0x81BC976: (anonymous namespace)::loadFormatListsFromRecipes(C_Rds&, CoRds::LanguageResolver&) (FormatListExport.cpp:221)
- ==485488== by 0x81BCF3E: CoRds::FormatListExport::exportCSV(C_Rds&, std::string const&, CoRds::LanguageResolver&) (FormatListExport.cpp:288)
- ==485488== by 0x81BAA18: CoRds::CoRds::exportFormatLists(unsigned int, bool) (CoRds.cpp:126)
- ==485488== by 0x8193F2F: main (RdsMain.cpp:1338)
- ==485488==
- ==485488== 598,662 bytes in 18,237 blocks are still reachable in loss record 31 of 31
- ==485488== at 0x4036CAB: operator new(unsigned int) (vg_replace_malloc.c:336)
- ==485488== by 0x49BD34B: std::string::_Rep::_S_create(unsigned int, unsigned int, std::allocator<char> const&) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x81BB518: char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag) (basic_string.tcc:138)
- ==485488== by 0x49BF254: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&, unsigned int, unsigned int) (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x49BF2B0: std::string::substr(unsigned int, unsigned int) const (in /usr/lib32/libstdc++.so.6.0.28)
- ==485488== by 0x422E888: C_Language::C_Language(std::string&) (Language.cpp:40)
- ==485488== by 0x422B0C4: C_TextSource::C_TextSource(char const*) (TextSource.cpp:85)
- ==485488== by 0x422B430: C_TextSource::getTextSource(char const*) (TextSource.cpp:114)
- ==485488== by 0x81BA80A: CoRds::CoRds::CoRds(C_Rds&) (CoRds.cpp:100)
- ==485488== by 0x8193EEC: main (RdsMain.cpp:1331)
- ==485488==
- ==485488== LEAK SUMMARY:
- ==485488== definitely lost: 457,660 bytes in 14,779 blocks
- ==485488== indirectly lost: 20 bytes in 1 blocks
- ==485488== possibly lost: 444 bytes in 5 blocks
- ==485488== still reachable: 1,068,831 bytes in 36,720 blocks
- ==485488== of which reachable via heuristic:
- ==485488== stdstring : 615,240 bytes in 18,349 blocks
- ==485488== suppressed: 0 bytes in 0 blocks
cords, build #006, valgrind mem leaks
Posted by Anonymous on Tue 7th Sep 2021 10:47
raw | new post
view followups (newest first): cords, build #006/svnrev 9277, valgrind output by Anonymous
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.