[Cbc-tickets] [COIN-OR Branch-and-Cut MIP Solver] #98: memory leak thru CbcMain1 calls (version=2.4.2)

COIN-OR Branch-and-Cut MIP Solver coin-trac at coin-or.org
Mon Sep 6 16:07:11 EDT 2010


#98: memory leak thru CbcMain1 calls (version=2.4.2)
--------------------+-------------------------------------------------------
Reporter:  mgalati  |       Type:  defect
  Status:  new      |   Priority:  major 
 Version:           |   Keywords:        
--------------------+-------------------------------------------------------
 {{{
 ==14259==
 ==14259== 51,703 (112 direct, 51,591 indirect) bytes in 1 blocks are
 definitely lost in loss record 19 of 32
 ==14259==    at 0x4A06019: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==14259==    by 0x6D4D74: ClpPrimalColumnSteepest::clone(bool) const
 (ClpPrimalColumnSteepest.cpp:3052)
 ==14259==    by 0x6FEA9D: ClpSimplex::gutsOfCopy(ClpSimplex const&)
 (ClpSimplex.cpp:2351)
 ==14259==    by 0x6FDF42: ClpSimplex::ClpSimplex(ClpSimplex const&, int)
 (ClpSimplex.cpp:2106)
 ==14259==    by 0x6453E4:
 OsiClpSolverInterface::OsiClpSolverInterface(OsiClpSolverInterface const&)
 (OsiClpSolverInterface.cpp:3782)
 ==14259==    by 0x645B83: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:3736)
 ==14259==    by 0x4D90ED: CbcMain1(int, char const**, CbcModel&, int
 (*)(CbcModel*, int)) (CbcSolver.cpp:6334)
 ==14259==    by 0x4EF09D: CbcMain1(int, char const**, CbcModel&)
 (CbcSolver.cpp:3104)
 ==14259==    by 0x460B23: DecompAlgoPC::solutionUpdateAsIP()
 (DecompAlgoPC.cpp:570)
 ==14259==    by 0x42F84F: DecompAlgo::solutionUpdate(DecompPhase, int,
 int) (DecompAlgo.cpp:2276)
 ==14259==    by 0x4232B0: DecompAlgo::phaseUpdate(DecompPhase&,
 DecompStatus&) (DecompAlgo.cpp:3133)
 ==14259==    by 0x4328C6: DecompAlgo::processNode(int, double, double)
 (DecompAlgo.cpp:1598)
 ==14259==
 ==14259==
 }}}
 {{{
 ==14259== 23,993 (936 direct, 23,057 indirect) bytes in 1 blocks are
 definitely lost in loss record 26 of 32
 ==14259==    at 0x4A06019: operator new(unsigned long)
 (vg_replace_malloc.c:167)
 ==14259==    by 0x645B72: OsiClpSolverInterface::clone(bool) const
 (OsiClpSolverInterface.cpp:3736)
 ==14259==    by 0x4D90ED: CbcMain1(int, char const**, CbcModel&, int
 (*)(CbcModel*, int)) (CbcSolver.cpp:6334)
 ==14259==    by 0x4EF09D: CbcMain1(int, char const**, CbcModel&)
 (CbcSolver.cpp:3104)
 ==14259==    by 0x460B23: DecompAlgoPC::solutionUpdateAsIP()
 (DecompAlgoPC.cpp:570)
 ==14259==    by 0x42F84F: DecompAlgo::solutionUpdate(DecompPhase, int,
 int) (DecompAlgo.cpp:2276)
 ==14259==    by 0x4232B0: DecompAlgo::phaseUpdate(DecompPhase&,
 DecompStatus&) (DecompAlgo.cpp:3133)
 ==14259==    by 0x4328C6: DecompAlgo::processNode(int, double, double)
 (DecompAlgo.cpp:1598)
 ==14259==    by 0x494DC0: AlpsDecompTreeNode::process(bool, bool)
 (AlpsDecompTreeNode.cpp:289)
 ==14259==    by 0x4AFA7D: AlpsSubTree::exploreUnitWork(bool, int, double,
 AlpsExitStatus&, int&, int&, int&, int&, bool&) (AlpsSubTree.cpp:1273)
 ==14259==    by 0x4B0A18: AlpsSubTree::exploreSubTree(AlpsTreeNode*, int,
 double, int&, int&, int&, int&) (AlpsSubTree.cpp:480)
 ==14259==    by 0x4B8B45:
 AlpsKnowledgeBrokerSerial::rootSearch(AlpsTreeNode*)
 }}}

-- 
Ticket URL: <https://projects.coin-or.org/Cbc/ticket/98>
COIN-OR Branch-and-Cut MIP Solver <http://projects.coin-or.org/Cbc>
An LP-based branch-and-cut MIP solver.



More information about the Cbc-tickets mailing list