Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000301graphvizTcl/Tk Utilitiespublic2003-10-28 05:422011-04-28 04:02
ReporterHIRAKI Hideaki 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-*-OS Version
Summary0000301: Re-defined handles will leak in Tcldot.
Description



Tcl handles are duplicated when subgraphs, nodes or edges are re-defined with their names and will leak.
<CD>
$ tclsh
% package require Tcldot
1.10.20031028.0515
% info commands graph*
% info commands node*
% info commands edge*
% dotstring "strict digraph g0 { n1 -> n2; subgraph g1 { } }"
graph0
% graph0 listnodes
node0 node1
% graph0 addnode n1
node2
% graph0 listnodes
node2 node1
% graph0 listedges
edge0
% graph0 addedge n1 n2
edge1
% graph0 listedges
edge1
% graph0 listsubgraphs
graph1
% graph0 addsubgraph g1
graph2
% graph0 listsubgraphs
graph2
% graph0 delete
% info commands graph*
graph1
% info commands node*
node0
% info commands edge*
edge0
% graph1 listattributes
segmentation fault (core dumped)
$
</CD>
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT 
<CD>
--- tcldot.c~ Wed Oct 15 05:54:22 2003
+++ tcldot.c Tue Oct 28 19:06:49 2003
@@ -363,16 +363,21 @@
                 return TCL_ERROR;
             }
         }
- ep = (Agedge_t **) tclhandleAlloc (edgeTblPtr, interp->result, &id);
- *ep = e = agedge(g, n, head);
- e->h
FORMER-ID371
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (3 November 2003)
VERSION     1.10.20031028.0515
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker