Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLIS mem leaks #3

Open
svigerske opened this issue Mar 1, 2019 · 3 comments
Open

BLIS mem leaks #3

svigerske opened this issue Mar 1, 2019 · 3 comments

Comments

@svigerske
Copy link
Member

Issue created by migration from Trac.

Original creator: @mgalati13

Original creation time: 2006-10-24 17:55:51

Assignee: @yanxu55

Version: 1.0

CC: @mgalati13

Keywords: mem leaks

magh@dolphin:~/COIN_NEW/Coin-BlisTrunk/Blis/examples$ valgrind --tool=memcheck - -leak-check=yes ./blis -param blis.par > t
==28752== Memcheck, a memory error detector.
==28752== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==28752== Using LibVEX rev 1606, a library for dynamic binary translation.
==28752== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==28752== Using valgrind-3.2.0-Debian, a dynamic binary instrumentation framewor k.
==28752== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==28752== For more details, rerun with: -v
==28752==
==28752==
==28752== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 17 from 1)
==28752== malloc/free: in use at exit: 5,870,574 bytes in 201,944 blocks.
==28752== malloc/free: 1,012,981 allocs, 811,037 frees, 3,387,914,450 bytes allocated.
==28752== For counts of detected errors, rerun with: -v
==28752== searching for pointers to 201,944 not-freed blocks.
==28752== checked 120,248 bytes.
==28752==
==28752== 20 bytes in 2 blocks are possibly lost in loss record 3 of 39
==28752== at 0x401CD95: operator new (vg_replace_malloc.c:195)
==28752== by 0x804C6DE: AlpsParameterSet::AlpsParameterSet(int, int, int, int, int) (AlpsParameterBase.h:241)
==28752== by 0x804C879: AlpsParams::AlpsParams() (AlpsParams.h:173)
==28752== by 0x804C90F: AlpsModel::AlpsModel() (AlpsModel.h:51)
==28752== by 0x804C980: BcpsModel::BcpsModel() (BcpsModel.h:46)
==28752== by 0x804C9C7: BlisModel::BlisModel() (BlisModel.h:269)
==28752== by 0x8050BA6: BlisModel::registerKnowledge() (BlisModel.cpp:1442)
==28752== by 0x8087C77: AlpsKnowledgeBrokerSerial::initializeSearch(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.cpp:153)
==28752== by 0x804CAAF: AlpsKnowledgeBrokerSerial::AlpsKnowledgeBrokerSerial(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.h:46)
==28752== by 0x804AB3E: main (BlisMain.cpp:62)
==28752==
==28752==
==28752== 32 bytes in 2 blocks are possibly lost in loss record 8 of 39
==28752== at 0x401CD95: operator new (vg_replace_malloc.c:195)
==28752== by 0x804C747: AlpsParameterSet::AlpsParameterSet(int, int, int, int, int) (AlpsParameterBase.h:241)
==28752== by 0x804C879: AlpsParams::AlpsParams() (AlpsParams.h:173)
==28752== by 0x804C90F: AlpsModel::AlpsModel() (AlpsModel.h:51)
==28752== by 0x804C980: BcpsModel::BcpsModel() (BcpsModel.h:46)
==28752== by 0x804C9C7: BlisModel::BlisModel() (BlisModel.h:269)
==28752== by 0x8050BA6: BlisModel::registerKnowledge() (BlisModel.cpp:1442)
==28752== by 0x8087C77: AlpsKnowledgeBrokerSerial::initializeSearch(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.cpp:153)
==28752== by 0x804CAAF: AlpsKnowledgeBrokerSerial::AlpsKnowledgeBrokerSerial(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.h:46)
==28752== by 0x804AB3E: main (BlisMain.cpp:62)
==28752==
==28752==
==28752== 48 bytes in 2 blocks are possibly lost in loss record 11 of 39
==28752== at 0x401C8C7: operator new(unsigned) (vg_replace_malloc.c:163)
==28752== by 0x822CD59: CoinPackedVectorBase::indexSet(char const*, char const*) const (CoinPackedVectorBase.cpp:253)
==28752== by 0x822CF2F: CoinPackedVectorBase::duplicateIndex(char const*, char const*) const (CoinPackedVectorBase.cpp:105)
==28752== by 0x822D00D: CoinPackedVectorBase::setTestForDuplicateIndex(bool) const (CoinPackedVectorBase.cpp:63)
==28752== by 0x822B2B5: CoinPackedVector::gutsOfSetVector(int, int const*, double const*, bool, char const*) (CoinPackedVector.cpp:475)
==28752== by 0x822BAAE: CoinPackedVector::setVector(int, int const*, double const*, bool) (CoinPackedVector.cpp:108)
==28752== by 0x80EAC6E: OsiRowCut::setRow(int, int const*, double const*, bool) (OsiRowCut.cpp:35)
==28752== by 0x806D3CC: BlisConstraintToOsiCut(BlisConstraint const*) (BlisHelp.cpp:76)
==28752== by 0x806D3F4: BlisParallelCutCon(OsiRowCut*, BlisConstraint*, double) (BlisHelp.cpp:439)
==28752== by 0x805AB43: BlisTreeNode::parallel(BlisModel*, OsiCuts*, int, OsiRowCut*) (BlisTreeNode.cpp:3204)
==28752== by 0x805C32D: BlisTreeNode::applyConstraints(BlisModel*, OsiCuts&, double const*) (BlisTreeNode.cpp:2654)
==28752== by 0x805FD64: BlisTreeNode::process(bool, bool) (BlisTreeNode.cpp:591)
==28752==
==28752==
==28752== 160 bytes in 2 blocks are possibly lost in loss record 22 of 39
==28752== at 0x401CD95: operator new (vg_replace_malloc.c:195)
==28752== by 0x822AE81: CoinPackedVector::reserve(int) (CoinPackedVector.cpp:327)
==28752== by 0x822B244: CoinPackedVector::gutsOfSetVector(int, int const*, double const*, bool, char const*) (CoinPackedVector.cpp:468)
==28752== by 0x822BAAE: CoinPackedVector::setVector(int, int const*, double const*, bool) (CoinPackedVector.cpp:108)
==28752== by 0x80EAC6E: OsiRowCut::setRow(int, int const*, double const*, bool) (OsiRowCut.cpp:35)
==28752== by 0x806D3CC: BlisConstraintToOsiCut(BlisConstraint const*) (BlisHelp.cpp:76)
==28752== by 0x806D3F4: BlisParallelCutCon(OsiRowCut*, BlisConstraint*, double) (BlisHelp.cpp:439)
==28752== by 0x805AB43: BlisTreeNode::parallel(BlisModel*, OsiCuts*, int, OsiRowCut*) (BlisTreeNode.cpp:3204)
==28752== by 0x805C32D: BlisTreeNode::applyConstraints(BlisModel*, OsiCuts&, double const*) (BlisTreeNode.cpp:2654)
==28752== by 0x805FD64: BlisTreeNode::process(bool, bool) (BlisTreeNode.cpp:591)
==28752== by 0x8081CAB: AlpsSubTree::exploreUnitWork(int, double, AlpsSolStatus&, int&, int&, bool&) (AlpsSubTree.cpp:1038)
==28752== by 0x80822AB: AlpsSubTree::exploreSubTree(AlpsTreeNode*, int, double, int&, int&) (AlpsSubTree.cpp:317)
==28752==
==28752==
==28752== 576 bytes in 8 blocks are possibly lost in loss record 29 of 39
==28752== at 0x401C8C7: operator new(unsigned) (vg_replace_malloc.c:163)
==28752== by 0x806D287: BlisConstraintToOsiCut(BlisConstraint const*) (BlisHelp.cpp:64)
==28752== by 0x806D3F4: BlisParallelCutCon(OsiRowCut*, BlisConstraint*, double) (BlisHelp.cpp:439)
==28752== by 0x805AB43: BlisTreeNode::parallel(BlisModel*, OsiCuts*, int, OsiRowCut*) (BlisTreeNode.cpp:3204)
==28752== by 0x805C32D: BlisTreeNode::applyConstraints(BlisModel*, OsiCuts&, double const*) (BlisTreeNode.cpp:2654)
==28752== by 0x805FD64: BlisTreeNode::process(bool, bool) (BlisTreeNode.cpp:591)
==28752== by 0x8081CAB: AlpsSubTree::exploreUnitWork(int, double, AlpsSolStatus&, int&, int&, bool&) (AlpsSubTree.cpp:1038)
==28752== by 0x80822AB: AlpsSubTree::exploreSubTree(AlpsTreeNode*, int, double, int&, int&) (AlpsSubTree.cpp:317)
==28752== by 0x80874F8: AlpsKnowledgeBrokerSerial::search(AlpsTreeNode*) (AlpsKnowledgeBrokerSerial.cpp:204)
==28752== by 0x804AE8D: AlpsKnowledgeBroker::searchModel(AlpsModel*) (AlpsKnowledgeBroker.h:202)
==28752== by 0x804AB56: main (BlisMain.cpp:66)
==28752==
==28752==
==28752== 1,930 bytes in 65 blocks are possibly lost in loss record 32 of 39
==28752== at 0x401C8C7: operator new(unsigned) (vg_replace_malloc.c:163)
==28752== by 0x40EAC6A: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator const&) (in /usr/lib/libstdc++.so.6.0.8)
==28752== by 0x40EBE34: (within /usr/lib/libstdc++.so.6.0.8)
==28752== by 0x40EBFE8: std::string::string(char const*, std::allocator const&) (in /usr/lib/libstdc++.so.6.0.8)
==28752== by 0x807B987: AlpsParams::createKeywordList() (AlpsParams.cpp:28)
==28752== by 0x804C88E: AlpsParams::AlpsParams() (AlpsParams.h:175)
==28752== by 0x804C90F: AlpsModel::AlpsModel() (AlpsModel.h:51)
==28752== by 0x804C980: BcpsModel::BcpsModel() (BcpsModel.h:46)
==28752== by 0x804C9C7: BlisModel::BlisModel() (BlisModel.h:269)
==28752== by 0x8050BA6: BlisModel::registerKnowledge() (BlisModel.cpp:1442)
==28752== by 0x8087C77: AlpsKnowledgeBrokerSerial::initializeSearch(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.cpp:153)
==28752== by 0x804CAAF: AlpsKnowledgeBrokerSerial::AlpsKnowledgeBrokerSerial(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.h:46)
==28752==
==28752==
==28752== 712,772 (79,360 direct, 633,412 indirect) bytes in 3,968 blocks are definitely lost in loss record 33 of 39
==28752== at 0x401C8C7: operator new(unsigned) (vg_replace_malloc.c:163)
==28752== by 0x80C1BFA: __gnu_cxx::new_allocator<std::_Rb_tree_node >::allocate(unsigned, void const*) (new_allocator.h:88)
==28752== by 0x80C1C1E: std::_Rb_tree<int, int, std::_Identity, std::less, std::allocator >::_M_get_node() (stl_tree.h:358)
==28752== by 0x80C1C33: std::_Rb_tree<int, int, std::_Identity, std::less, std::allocator >::_M_create_node(int const&) (stl_tree.h:367)
==28752== by 0x80C1CF1: std::_Rb_tree<int, int, std::_Identity, std::less, std::allocator >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, int const&) (stl_tree.h:819)
==28752== by 0x80C1EE4: std::_Rb_tree<int, int, std::_Identity, std::less, std::allocator >::insert_unique(int const&) (stl_tree.h:931)
==28752== by 0x80C1F52: std::set<int, std::less, std::allocator >::insert(int const&) (stl_set.h:321)
==28752== by 0x822CDC0: CoinPackedVectorBase::indexSet(char const*, char const*) const (CoinPackedVectorBase.cpp:257)
==28752== by 0x822CF2F: CoinPackedVectorBase::duplicateIndex(char const*, char const*) const (CoinPackedVectorBase.cpp:105)
==28752== by 0x822D00D: CoinPackedVectorBase::setTestForDuplicateIndex(bool) const (CoinPackedVectorBase.cpp:63)
==28752== by 0x822B2B5: CoinPackedVector::gutsOfSetVector(int, int const*, double const*, bool, char const*) (CoinPackedVector.cpp:475)
==28752== by 0x822BAAE: CoinPackedVector::setVector(int, int const*, double const*, bool) (CoinPackedVector.cpp:108)
==28752==
==28752==
==28752== 5,149,632 (1,199,736 direct, 3,949,896 indirect) bytes in 16,663 blocks are definitely lost in loss record 39 of 39
==28752== at 0x401C8C7: operator new(unsigned) (vg_replace_malloc.c:163)
==28752== by 0x806D287: BlisConstraintToOsiCut(BlisConstraint const*) (BlisHelp.cpp:64)
==28752== by 0x806D3F4: BlisParallelCutCon(OsiRowCut*, BlisConstraint*, double) (BlisHelp.cpp:439)
==28752== by 0x805AB43: BlisTreeNode::parallel(BlisModel*, OsiCuts*, int, OsiRowCut*) (BlisTreeNode.cpp:3204)
==28752== by 0x805C32D: BlisTreeNode::applyConstraints(BlisModel*, OsiCuts&, double const*) (BlisTreeNode.cpp:2654)
==28752== by 0x805FD64: BlisTreeNode::process(bool, bool) (BlisTreeNode.cpp:591)
==28752== by 0x8081CAB: AlpsSubTree::exploreUnitWork(int, double, AlpsSolStatus&, int&, int&, bool&) (AlpsSubTree.cpp:1038)
==28752== by 0x80822AB: AlpsSubTree::exploreSubTree(AlpsTreeNode*, int, double, int&, int&) (AlpsSubTree.cpp:317)
==28752== by 0x80874F8: AlpsKnowledgeBrokerSerial::search(AlpsTreeNode*) (AlpsKnowledgeBrokerSerial.cpp:204)
==28752== by 0x804AE8D: AlpsKnowledgeBroker::searchModel(AlpsModel*) (AlpsKnowledgeBroker.h:202)
==28752== by 0x804AB56: main (BlisMain.cpp:66)
==28752==
==28752== LEAK SUMMARY:
==28752== definitely lost: 1,279,096 bytes in 20,631 blocks.
==28752== indirectly lost: 4,583,308 bytes in 181,095 blocks.
==28752== possibly lost: 2,766 bytes in 81 blocks.
==28752== still reachable: 5,404 bytes in 137 blocks.
==28752== suppressed: 0 bytes in 0 blocks.
==28752== Reachable blocks (those to which a pointer was found) are not shown.
==28752== To see them, rerun with: --show-reachable=yes

@svigerske
Copy link
Member Author

Comment by @mgalati13 created at 2006-10-24 17:56:36

Oops - wiki formatting.

magh`@`dolphin:~/COIN_NEW/Coin-BlisTrunk/Blis/examples$ valgrind --tool=memcheck -                                                                                         -leak-check=yes ./blis -param blis.par > t
==28752== Memcheck, a memory error detector.
==28752== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==28752== Using LibVEX rev 1606, a library for dynamic binary translation.
==28752== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==28752== Using valgrind-3.2.0-Debian, a dynamic binary instrumentation framewor                                                                                         k.
==28752== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==28752== For more details, rerun with: -v
==28752==
==28752==
==28752== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 17 from 1)
==28752== malloc/free: in use at exit: 5,870,574 bytes in 201,944 blocks.
==28752== malloc/free: 1,012,981 allocs, 811,037 frees, 3,387,914,450 bytes allocated.
==28752== For counts of detected errors, rerun with: -v
==28752== searching for pointers to 201,944 not-freed blocks.
==28752== checked 120,248 bytes.
==28752==
==28752== 20 bytes in 2 blocks are possibly lost in loss record 3 of 39
==28752==    at 0x401CD95: operator new[](unsigned) (vg_replace_malloc.c:195)
==28752==    by 0x804C6DE: AlpsParameterSet::AlpsParameterSet(int, int, int, int, int) (AlpsParameterBase.h:241)
==28752==    by 0x804C879: AlpsParams::AlpsParams() (AlpsParams.h:173)
==28752==    by 0x804C90F: AlpsModel::AlpsModel() (AlpsModel.h:51)
==28752==    by 0x804C980: BcpsModel::BcpsModel() (BcpsModel.h:46)
==28752==    by 0x804C9C7: BlisModel::BlisModel() (BlisModel.h:269)
==28752==    by 0x8050BA6: BlisModel::registerKnowledge() (BlisModel.cpp:1442)
==28752==    by 0x8087C77: AlpsKnowledgeBrokerSerial::initializeSearch(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.cpp:153)
==28752==    by 0x804CAAF: AlpsKnowledgeBrokerSerial::AlpsKnowledgeBrokerSerial(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.h:46)
==28752==    by 0x804AB3E: main (BlisMain.cpp:62)
==28752==
==28752==
==28752== 32 bytes in 2 blocks are possibly lost in loss record 8 of 39
==28752==    at 0x401CD95: operator new[](unsigned) (vg_replace_malloc.c:195)
==28752==    by 0x804C747: AlpsParameterSet::AlpsParameterSet(int, int, int, int, int) (AlpsParameterBase.h:241)
==28752==    by 0x804C879: AlpsParams::AlpsParams() (AlpsParams.h:173)
==28752==    by 0x804C90F: AlpsModel::AlpsModel() (AlpsModel.h:51)
==28752==    by 0x804C980: BcpsModel::BcpsModel() (BcpsModel.h:46)
==28752==    by 0x804C9C7: BlisModel::BlisModel() (BlisModel.h:269)
==28752==    by 0x8050BA6: BlisModel::registerKnowledge() (BlisModel.cpp:1442)
==28752==    by 0x8087C77: AlpsKnowledgeBrokerSerial::initializeSearch(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.cpp:153)
==28752==    by 0x804CAAF: AlpsKnowledgeBrokerSerial::AlpsKnowledgeBrokerSerial(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.h:46)
==28752==    by 0x804AB3E: main (BlisMain.cpp:62)
==28752==
==28752==
==28752== 48 bytes in 2 blocks are possibly lost in loss record 11 of 39
==28752==    at 0x401C8C7: operator new(unsigned) (vg_replace_malloc.c:163)
==28752==    by 0x822CD59: CoinPackedVectorBase::indexSet(char const*, char const*) const (CoinPackedVectorBase.cpp:253)
==28752==    by 0x822CF2F: CoinPackedVectorBase::duplicateIndex(char const*, char const*) const (CoinPackedVectorBase.cpp:105)
==28752==    by 0x822D00D: CoinPackedVectorBase::setTestForDuplicateIndex(bool) const (CoinPackedVectorBase.cpp:63)
==28752==    by 0x822B2B5: CoinPackedVector::gutsOfSetVector(int, int const*, double const*, bool, char const*) (CoinPackedVector.cpp:475)
==28752==    by 0x822BAAE: CoinPackedVector::setVector(int, int const*, double const*, bool) (CoinPackedVector.cpp:108)
==28752==    by 0x80EAC6E: OsiRowCut::setRow(int, int const*, double const*, bool) (OsiRowCut.cpp:35)
==28752==    by 0x806D3CC: BlisConstraintToOsiCut(BlisConstraint const*) (BlisHelp.cpp:76)
==28752==    by 0x806D3F4: BlisParallelCutCon(OsiRowCut*, BlisConstraint*, double) (BlisHelp.cpp:439)
==28752==    by 0x805AB43: BlisTreeNode::parallel(BlisModel*, OsiCuts*, int, OsiRowCut*) (BlisTreeNode.cpp:3204)
==28752==    by 0x805C32D: BlisTreeNode::applyConstraints(BlisModel*, OsiCuts&, double const*) (BlisTreeNode.cpp:2654)
==28752==    by 0x805FD64: BlisTreeNode::process(bool, bool) (BlisTreeNode.cpp:591)
==28752==
==28752==
==28752== 160 bytes in 2 blocks are possibly lost in loss record 22 of 39
==28752==    at 0x401CD95: operator new[](unsigned) (vg_replace_malloc.c:195)
==28752==    by 0x822AE81: CoinPackedVector::reserve(int) (CoinPackedVector.cpp:327)
==28752==    by 0x822B244: CoinPackedVector::gutsOfSetVector(int, int const*, double const*, bool, char const*) (CoinPackedVector.cpp:468)
==28752==    by 0x822BAAE: CoinPackedVector::setVector(int, int const*, double const*, bool) (CoinPackedVector.cpp:108)
==28752==    by 0x80EAC6E: OsiRowCut::setRow(int, int const*, double const*, bool) (OsiRowCut.cpp:35)
==28752==    by 0x806D3CC: BlisConstraintToOsiCut(BlisConstraint const*) (BlisHelp.cpp:76)
==28752==    by 0x806D3F4: BlisParallelCutCon(OsiRowCut*, BlisConstraint*, double) (BlisHelp.cpp:439)
==28752==    by 0x805AB43: BlisTreeNode::parallel(BlisModel*, OsiCuts*, int, OsiRowCut*) (BlisTreeNode.cpp:3204)
==28752==    by 0x805C32D: BlisTreeNode::applyConstraints(BlisModel*, OsiCuts&, double const*) (BlisTreeNode.cpp:2654)
==28752==    by 0x805FD64: BlisTreeNode::process(bool, bool) (BlisTreeNode.cpp:591)
==28752==    by 0x8081CAB: AlpsSubTree::exploreUnitWork(int, double, AlpsSolStatus&, int&, int&, bool&) (AlpsSubTree.cpp:1038)
==28752==    by 0x80822AB: AlpsSubTree::exploreSubTree(AlpsTreeNode*, int, double, int&, int&) (AlpsSubTree.cpp:317)
==28752==
==28752==
==28752== 576 bytes in 8 blocks are possibly lost in loss record 29 of 39
==28752==    at 0x401C8C7: operator new(unsigned) (vg_replace_malloc.c:163)
==28752==    by 0x806D287: BlisConstraintToOsiCut(BlisConstraint const*) (BlisHelp.cpp:64)
==28752==    by 0x806D3F4: BlisParallelCutCon(OsiRowCut*, BlisConstraint*, double) (BlisHelp.cpp:439)
==28752==    by 0x805AB43: BlisTreeNode::parallel(BlisModel*, OsiCuts*, int, OsiRowCut*) (BlisTreeNode.cpp:3204)
==28752==    by 0x805C32D: BlisTreeNode::applyConstraints(BlisModel*, OsiCuts&, double const*) (BlisTreeNode.cpp:2654)
==28752==    by 0x805FD64: BlisTreeNode::process(bool, bool) (BlisTreeNode.cpp:591)
==28752==    by 0x8081CAB: AlpsSubTree::exploreUnitWork(int, double, AlpsSolStatus&, int&, int&, bool&) (AlpsSubTree.cpp:1038)
==28752==    by 0x80822AB: AlpsSubTree::exploreSubTree(AlpsTreeNode*, int, double, int&, int&) (AlpsSubTree.cpp:317)
==28752==    by 0x80874F8: AlpsKnowledgeBrokerSerial::search(AlpsTreeNode*) (AlpsKnowledgeBrokerSerial.cpp:204)
==28752==    by 0x804AE8D: AlpsKnowledgeBroker::searchModel(AlpsModel*) (AlpsKnowledgeBroker.h:202)
==28752==    by 0x804AB56: main (BlisMain.cpp:66)
==28752==
==28752==
==28752== 1,930 bytes in 65 blocks are possibly lost in loss record 32 of 39
==28752==    at 0x401C8C7: operator new(unsigned) (vg_replace_malloc.c:163)
==28752==    by 0x40EAC6A: std::string::_Rep::_S_create(unsigned, unsigned, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
==28752==    by 0x40EBE34: (within /usr/lib/libstdc++.so.6.0.8)
==28752==    by 0x40EBFE8: std::string::string(char const*, std::allocator<char> const&) (in /usr/lib/libstdc++.so.6.0.8)
==28752==    by 0x807B987: AlpsParams::createKeywordList() (AlpsParams.cpp:28)
==28752==    by 0x804C88E: AlpsParams::AlpsParams() (AlpsParams.h:175)
==28752==    by 0x804C90F: AlpsModel::AlpsModel() (AlpsModel.h:51)
==28752==    by 0x804C980: BcpsModel::BcpsModel() (BcpsModel.h:46)
==28752==    by 0x804C9C7: BlisModel::BlisModel() (BlisModel.h:269)
==28752==    by 0x8050BA6: BlisModel::registerKnowledge() (BlisModel.cpp:1442)
==28752==    by 0x8087C77: AlpsKnowledgeBrokerSerial::initializeSearch(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.cpp:153)
==28752==    by 0x804CAAF: AlpsKnowledgeBrokerSerial::AlpsKnowledgeBrokerSerial(int, char**, AlpsModel&) (AlpsKnowledgeBrokerSerial.h:46)
==28752==
==28752==
==28752== 712,772 (79,360 direct, 633,412 indirect) bytes in 3,968 blocks are definitely lost in loss record 33 of 39
==28752==    at 0x401C8C7: operator new(unsigned) (vg_replace_malloc.c:163)
==28752==    by 0x80C1BFA: __gnu_cxx::new_allocator<std::_Rb_tree_node<int> >::allocate(unsigned, void const*) (new_allocator.h:88)
==28752==    by 0x80C1C1E: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_get_node() (stl_tree.h:358)
==28752==    by 0x80C1C33: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_create_node(int const&) (stl_tree.h:367)
==28752==    by 0x80C1CF1: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::_M_insert(std::_Rb_tree_node_base*, std::_Rb_tree_node_base*, int const&) (stl_tree.h:819)
==28752==    by 0x80C1EE4: std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::insert_unique(int const&) (stl_tree.h:931)
==28752==    by 0x80C1F52: std::set<int, std::less<int>, std::allocator<int> >::insert(int const&) (stl_set.h:321)
==28752==    by 0x822CDC0: CoinPackedVectorBase::indexSet(char const*, char const*) const (CoinPackedVectorBase.cpp:257)
==28752==    by 0x822CF2F: CoinPackedVectorBase::duplicateIndex(char const*, char const*) const (CoinPackedVectorBase.cpp:105)
==28752==    by 0x822D00D: CoinPackedVectorBase::setTestForDuplicateIndex(bool) const (CoinPackedVectorBase.cpp:63)
==28752==    by 0x822B2B5: CoinPackedVector::gutsOfSetVector(int, int const*, double const*, bool, char const*) (CoinPackedVector.cpp:475)
==28752==    by 0x822BAAE: CoinPackedVector::setVector(int, int const*, double const*, bool) (CoinPackedVector.cpp:108)
==28752==
==28752==
==28752== 5,149,632 (1,199,736 direct, 3,949,896 indirect) bytes in 16,663 blocks are definitely lost in loss record 39 of 39
==28752==    at 0x401C8C7: operator new(unsigned) (vg_replace_malloc.c:163)
==28752==    by 0x806D287: BlisConstraintToOsiCut(BlisConstraint const*) (BlisHelp.cpp:64)
==28752==    by 0x806D3F4: BlisParallelCutCon(OsiRowCut*, BlisConstraint*, double) (BlisHelp.cpp:439)
==28752==    by 0x805AB43: BlisTreeNode::parallel(BlisModel*, OsiCuts*, int, OsiRowCut*) (BlisTreeNode.cpp:3204)
==28752==    by 0x805C32D: BlisTreeNode::applyConstraints(BlisModel*, OsiCuts&, double const*) (BlisTreeNode.cpp:2654)
==28752==    by 0x805FD64: BlisTreeNode::process(bool, bool) (BlisTreeNode.cpp:591)
==28752==    by 0x8081CAB: AlpsSubTree::exploreUnitWork(int, double, AlpsSolStatus&, int&, int&, bool&) (AlpsSubTree.cpp:1038)
==28752==    by 0x80822AB: AlpsSubTree::exploreSubTree(AlpsTreeNode*, int, double, int&, int&) (AlpsSubTree.cpp:317)
==28752==    by 0x80874F8: AlpsKnowledgeBrokerSerial::search(AlpsTreeNode*) (AlpsKnowledgeBrokerSerial.cpp:204)
==28752==    by 0x804AE8D: AlpsKnowledgeBroker::searchModel(AlpsModel*) (AlpsKnowledgeBroker.h:202)
==28752==    by 0x804AB56: main (BlisMain.cpp:66)
==28752==
==28752== LEAK SUMMARY:
==28752==    definitely lost: 1,279,096 bytes in 20,631 blocks.
==28752==    indirectly lost: 4,583,308 bytes in 181,095 blocks.
==28752==      possibly lost: 2,766 bytes in 81 blocks.
==28752==    still reachable: 5,404 bytes in 137 blocks.
==28752==         suppressed: 0 bytes in 0 blocks.
==28752== Reachable blocks (those to which a pointer was found) are not shown.
==28752== To see them, rerun with: --show-reachable=yes

@svigerske
Copy link
Member Author

Comment by @yanxu55 created at 2006-10-26 02:06:23

Fix leak, but not possible leak, which is related to STL. Need think about.

@svigerske
Copy link
Member Author

Comment by created at 2007-05-24 00:45:14

Milestone milestone1 deleted

@svigerske svigerske removed the BLIS label Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant