Centos 7 : Error in `/usr/bin/dot'

0 votes
asked Sep 30, 2016 in Bug by cgoguyer (400 points)
Hello.

I get an error when generating some images on centos 7.

The same file works fine on windows (only error on linux!!!)

 

*** Error in `/usr/bin/dot': double free or corruption (!prev): 0x0000000001dddf60 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7d053)[0x7ff505e73053]
/lib64/libgvc.so.6(+0x45c1f)[0x7ff507375c1f]
/usr/lib64/graphviz/libgvplugin_dot_layout.so.6(+0x1d5af)[0x7ff4ff0835af]
/usr/lib64/graphviz/libgvplugin_dot_layout.so.6(+0x1b917)[0x7ff4ff081917]
/usr/lib64/graphviz/libgvplugin_dot_layout.so.6(+0xc70d)[0x7ff4ff07270d]
/usr/lib64/graphviz/libgvplugin_dot_layout.so.6(dot_layout+0x34a)[0x7ff4ff072dba]
/lib64/libgvc.so.6(gvLayoutJobs+0xd2)[0x7ff507352e82]
/usr/bin/dot[0x400fdf]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7ff505e17b15]
/usr/bin/dot[0x40106d]
======= Memory map: ========
00400000-00402000 r-xp 00000000 fd:00 35970502                           /usr/bin/dot
00601000-00602000 r--p 00001000 fd:00 35970502                           /usr/bin/dot
00602000-00603000 rw-p 00002000 fd:00 35970502                           /usr/bin/dot
01d4d000-01f18000 rw-p 00000000 00:00 0                                  [heap]
 

Here is my configuration:

 java -jar plantuml.jar -version -verbose
PlantUML version 8047 (Thu Aug 25 17:59:30 CEST 2016)
(GPL source distribution)
OpenJDK Runtime Environment
OpenJDK 64-Bit Server VM
1.8.0_102-b14
Linux

The environment variable GRAPHVIZ_DOT has not been set
Dot executable is /usr/bin/dot
Dot version: dot - graphviz version 2.38.0 (20140413.2041)
Installation seems OK. File generation OK
 

Thank you
commented Oct 3, 2016 by anonymous
Tried with openjdk 1.7 and Oracle java 1.8.

Same issue :-(

some component models works some other works !!!

my linux config is: Centos 7

Linux srv-xxx 3.10.0-327.36.1.el7.x86_64 #1 SMP Sun Sep 18 13:04:29 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

1 Answer

0 votes
answered Oct 3, 2016 by plantuml (295,000 points)
I think that the issue comes from your graphviz/dot installation.

Did you compile/install graphviz yourself ?

Are your diagram working on http://www.plantuml.com/plantuml ?
commented Oct 3, 2016 by cgoguyer (400 points)
At first, I installed graphviz 2.30.1 that is bundle with Centos 7 (via yum).  But I got the same issue. So I've upgraded to release 2.38.0 from the official stable repo of graphviz ( graphviz-rhel.repo) also via yum.
I didn't compile anything, I've just executed yum install.

I can't use http://www.plantuml.com/plantuml because my diagram syntax is too big and cannot be send via get method (I've already open a question about this point).
asked Oct 7, 2016 in Bug by cgoguyer (400 points) Windows: dot.exe has stopped working
...