Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002546graphvizDotpublic2015-05-15 08:352015-05-15 09:44
Reporterwarin.l 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformLenovo x240OSwindowsOS Versionwin7 64 bit
Summary0002546: Graphviz always crash with this simple dot file
DescriptionThis dot files make graphviz crash all the times.

digraph G {
 concentrate=true;
  a -> 4 -> b
  a -> b
  a -> b
  b -> a
}
Steps To Reproduce1. Open gvedit > File > New
2. copy and paste with this code

digraph G {
 concentrate=true;
  a -> 4 -> b
  a -> b
  a -> b
  b -> a
}

3. click Layout or F5
4. Then my system crash all the time.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.38
Attached Files

- Relationships

-  Notes
User avatar (0000936)
warin.l (reporter)
2015-05-15 08:38

Sorry, It is windows 8.1 64bit not win7. but I don't know how to edit in the issue log, so I correct information here.
User avatar (0000937)
ellson (administrator)
2015-05-15 09:39

Reproducable on Fedora-22 with: graphviz-2.39.20150514.0445-1.fc22.x86_64

gdb shows:

(gdb) run x.gv
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/dot x.gv
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6ea0d27 in samedir ([email protected]=0x640700, [email protected]=0x642a00)
    at conc.c:32
32 for (f0 = f; ED_edge_type(f0) != NORMAL; f0 = ED_to_orig(f0));
(gdb) where
#0 0x00007ffff6ea0d27 in samedir ([email protected]=0x640700, [email protected]=0x642a00)
    at conc.c:32
0000001 0x00007ffff6ea1932 in dot_concentrate (v=<optimized out>, u=0x67f450)
    at conc.c:53
0000002 0x00007ffff6ea1932 in dot_concentrate ([email protected]=0x629500) at conc.c:213
0000003 0x00007ffff6ead353 in dot_position ([email protected]=0x629500, [email protected]=0x0)
    at position.c:127
0000004 0x00007ffff6ea48e9 in dotLayout ([email protected]=0x629500) at dotinit.c:323
0000005 0x00007ffff6ea5156 in dot_layout (g=0x629500) at dotinit.c:460
0000006 0x00007ffff6ea5156 in dot_layout (g=0x629500) at dotinit.c:506
0000007 0x00007ffff7d36b82 in gvLayoutJobs (gvc=0x603760, g=0x629500)
    at gvlayout.c:85
0000008 0x0000000000400fdf in main (argc=<optimized out>, argv=<optimized out>)
    at dot.c:191
(gdb)
User avatar (0000938)
ellson (administrator)
2015-05-15 09:44

(gdb) p *f
$4 = {base = {tag = {objtype = 2, mtflock = 0, attrwf = 0, seq = 4, id = 0},
    data = 0x642a90}, id_link = {right = 0x0, hl = {_hash = 0, _left = 0x0}},
  seq_link = {right = 0x0, hl = {_hash = 0, _left = 0x0}}, node = 0x67f560}
(gdb)

- Issue History
Date Modified Username Field Change
2015-05-15 08:35 warin.l New Issue
2015-05-15 08:38 warin.l Note Added: 0000936
2015-05-15 09:39 ellson Note Added: 0000937
2015-05-15 09:44 ellson Note Added: 0000938


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