[ADIC] #57: memory leaks caused by calls to createXAIFVertex (in Sage2XAIFGraph)
#57: memory leaks caused by calls to createXAIFVertex (in Sage2XAIFGraph) -----------------------------+---------------------------------------------- Reporter: utke | Owner: narayanan Type: defect | Status: new Priority: major | Milestone: Component: OA/Sage to XAIF | Version: Keywords: | -----------------------------+---------------------------------------------- most calls look like this: SynthesizedXAIFInfo * dummydsptr = new SynthesizedXAIFInfo(); .... IndexTriplet *triplet = createXAIFVertex<IndexTriplet, ArrayElementReference> (vv, arrelemref, next_avail_index, dummydsptr); The dummydsptr points to a new'ed up instance of SynthesizedXAIFInfo but the implementation of createXAIFVertex overwrites that pointer value with yet another new'ed up SynthesizedXAIFInfo: dsptr = new SynthesizedXAIFInfo(next_index); -- Ticket URL: <http://trac.mcs.anl.gov/projects/ADIC/ticket/57> ADIC <http://trac.mcs.anl.gov/projects/ADIC> ADIC: Automatic Differentiation for C and C++
#57: memory leaks caused by calls to createXAIFVertex (in Sage2XAIFGraph) -----------------------------+---------------------------------------------- Reporter: utke | Owner: narayanan Type: defect | Status: new Priority: major | Milestone: Component: OA/Sage to XAIF | Version: Keywords: | -----------------------------+---------------------------------------------- Comment(by utke): and then it appears that all these instances are lost in the top down path while the use patters is ok in the bottom up pathe (e.g. in sage2Graph) -- Ticket URL: <http://trac.mcs.anl.gov/projects/ADIC/ticket/57#comment:1> ADIC <http://trac.mcs.anl.gov/projects/ADIC> ADIC: Automatic Differentiation for C and C++
#57: memory leaks caused by calls to createXAIFVertex (in Sage2XAIFGraph) -----------------------------+---------------------------------------------- Reporter: utke | Owner: utke Type: defect | Status: assigned Priority: major | Milestone: Component: OA/Sage to XAIF | Version: Keywords: | -----------------------------+---------------------------------------------- Changes (by utke): * owner: narayanan => utke * status: new => assigned -- Ticket URL: <http://trac.mcs.anl.gov/projects/ADIC/ticket/57#comment:2> ADIC <http://trac.mcs.anl.gov/projects/ADIC> ADIC: Automatic Differentiation for C and C++
#57: memory leaks caused by calls to createXAIFVertex (in Sage2XAIFGraph) -----------------------------+---------------------------------------------- Reporter: utke | Owner: utke Type: defect | Status: accepted Priority: major | Milestone: Component: OA/Sage to XAIF | Version: Keywords: | -----------------------------+---------------------------------------------- Changes (by utke): * status: assigned => accepted -- Ticket URL: <http://trac.mcs.anl.gov/projects/ADIC/ticket/57#comment:3> ADIC <http://trac.mcs.anl.gov/projects/ADIC> ADIC: Automatic Differentiation for C and C++
#57: memory leaks caused by calls to createXAIFVertex (in Sage2XAIFGraph) ------------------------------+--------------------------------------------- Reporter: utke | Owner: utke Type: defect | Status: closed Priority: major | Milestone: Component: OA/Sage to XAIF | Version: Resolution: fixed | Keywords: ------------------------------+--------------------------------------------- Changes (by utke): * status: accepted => closed * resolution: => fixed Comment: fixed through modifications done with: changeset: 671:9aaa86fe8730 changeset: 672:156ef48472dd changeset: 673:f1f7914bc3c6 changeset: 674:faf1e38f7ad7 changeset: 675:400c03b70c99 changeset: 676:07fc7c2d17c0 changeset: 677:e2519a68f217 changeset: 678:bc13102a4b31 changeset: 679:6fed14f03e67 changeset: 680:106fff3f51e7 changeset: 681:96b6345edb72 changeset: 682:2d28f6a5712f changeset: 683:6bd69cb34112 changeset: 684:9f7945b9f777 changeset: 685:795f2a7043af changeset: 686:6859040675f3 changeset: 687:586a7e103b5d changeset: 688:56e5e910e7ba changeset: 689:1087f0e3a1ca changeset: 690:59366f6af5f9 changeset: 691:b758a5b342f6 changeset: 692:0b7a6744cb7e changeset: 693:7354fc9fe0e9 changeset: 694:8faf46fe923f -- Ticket URL: <http://trac.mcs.anl.gov/projects/ADIC/ticket/57#comment:4> ADIC <http://trac.mcs.anl.gov/projects/ADIC> ADIC: Automatic Differentiation for C and C++
participants (1)
-
ADIC