Graphviz Issue Tracker - graphviz
View Issue Details
0002275graphvizTcl/Tk Utilitiespublic2013-04-10 15:572013-04-12 16:39
AndrewStein 
 
normalmajoralways
newopen 
MacMacOSX12.3.0 (MtnLion)
2.30.1
0002275: Segmentation fault on setnodeattribute
I have just received a new MacBook with Mountain Lion installed. I installed the latest graphview package 2.30.1, and have tried to use the tcldot with the installed tclsh. The following tclsh session shows how it crashes with a segmentation fault on each call to setnodeattribute.
> tclsh
% package require Tk
8.5.9
% lappend auto_path /usr/local/lib/graphviz/tcl
/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/Scripts /System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources /usr/lib ~/Library/Tcl /Library/Tcl /System/Library/Tcl /System/Library/Tcl/8.5 ~/Library/Frameworks /Library/Frameworks /System/Library/Frameworks /System/Library/Tcl/8.5/vfs1.4.1/template /System/Library/Tcl/tcllib1.12 /System/Library/Tcl/tklib0.5 /System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Scripts /System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Scripts/ttk /usr/local/lib/graphviz/tcl
% package require Tcldot
2.30.1
% set g [dotnew digraph rankdir LR]
graph0x7f8461307a90
% $g setnodeattribute style filled color white shape box
Segmentation fault
The attached segFault.txt file is the contents of the Mac 'problem report'.
The report is titled:
   tclsh quit unexpectedly while using the libcragph6.dylib plug-in.
No tags attached.
txt segFault.txt (37,023) 2013-04-10 15:57
http://www.graphviz.org/mantisbt/file_download.php?file_id=172&type=bug
Issue History
2013-04-10 15:57AndrewSteinNew Issue
2013-04-10 15:57AndrewSteinFile Added: segFault.txt
2013-04-12 16:39AndrewSteinNote Added: 0000331

Notes
(0000331)
AndrewStein   
2013-04-12 16:39   
I have tried to get the macports graphviz. It seems to have the same issue:

    sudo port selfupdate
    sudo port upgrade outdated
    sudo port install graphviz +tcl
    sudo port install tk

633 > tclsh
% package require Tk
8.6.0
% package require Tcldot
2.30.1
% set c [canvas .c]
.c
% pack $c -fill both -expand 1
% set g [dotnew digraph rankdir LR]
graph0x7ff3f0e17b00
% $g setnodeattribute style filled color white shape box
Segmentation fault