Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001347graphvizDotpublic2008-06-25 12:502011-04-28 04:03
ReporterOrlando J. P. Jr. 
Assigned Togviz 
PrioritynormalSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Windows-OS Version
Summary0001347: Crash with DIA output on WIndows
Description



When I tried to build a ".dot" file to ".dia" file, using Graphviz (graphviz-2.19.20080616.0445.exe), I got the following error:
<CD>
Activated plugin library: gvplugin_pango.dll
Using textlayout: textlayout:cairo
Activated plugin library: gvplugin_dot_layout.dll
Using layout: dot:dot_layout
Using device: dia:cg
The plugin configuration file:
        C:\Arquivos de programas\Graphviz2.19\Bin\config
                was successfully loaded.
    render : cairo dot fig gd map ps svg tk vml vrml xdot
    layout : circo dot fdp neato nop nop1 nop2 twopi
    textlayout : textlayout
    device : canon cmap cmapx cmapx_np dia dot eps fig gd gd2 gif hpgl ima
p imap_np ismap jpe jpeg jpg mif mp pcl pdf pic plain plain-ext png ps ps2 svg s
vgz tk vml vmlz vrml vtx wbmp xdot
    loadimage : (lib) gd gd2 gif jpe jpeg jpg png ps svg
fontname: "Times-Roman" resolved to: (ps) "Times New Roman 13.9990234375"
fontname: "Palatino-Italic" resolved to: (ps) "Palatino Linotype Italic 24"
network simplex: 5 nodes 6 edges 0 iter 0.00 sec
mincross: pass 0 iter 0 trying 0 cur_cross 1 best_cross 1
mincross: pass 0 iter 1 trying 1 cur_cross 1 best_cross 1
mincross: pass 0 iter 2 trying 0 cur_cross 0 best_cross 0
mincross test123: 0 crossings, 0.00 secs.
network simplex: 35 nodes 48 edges 11 iter 0.00 sec
routesplines: 7 edges, 43 boxes 0.00 sec
Using device: dia:cg
Error: Error opening compressed output file
</CD>
The file a.dia was created, but empty.



The command was:
<CD>
dot -Tdia -o c:\temp\a\a.dia -v c:\temp\a\a.dot
</CD>



But when I tried using ".gif" (dot -Tgif -o c:\temp\a\a.gif -v c:\temp\a\a.dot) I got success.
Steps To Reproduce

digraph test123 {
               a -> b -> c;
               a -> {x y};
               b [shape=box];
               c [label="hello\nworld",color=green,fontsize=24,
                    fontname="Palatino-Italic",fontcolor=red,style=filled];
               a -> z [label="hi", weight=100];
               x -> z [label="multi-line\nlabel"];
               edge [style=dashed,color=red];
               b -> y;
               {rank=same; b x}
       }
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
The problem is in the libz that comes with the gtk package we use.
It is somehow compiled to not allow gdzopen(). The fix should be to
build our own version of libz and to use that.
FORMER-ID1381
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.19
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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


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