Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000790graphvizDotty/Lneato/Leftypublic2005-01-04 08:042011-04-28 04:03
ReporterManish 
Assigned Toellson 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSSparc-Solaris-Generic_106541-36 OS Version
Summary0000790: Dotty core dumps when compile with cc WorkShop Compilers 5.0 98/12/15 C 5.0
Description



Here is the scenario I am using to build dotty.
<CD>
Following are the packages and their versions I am using :
freetype-2.1.9 graphviz-2.1.20041219.0530 install_dir jpeg-6b libpng-1.2.5 tcl8.4.2 tk8.4.2 zlib-1.1.4



Compiler:
cc: WorkShop Compilers 5.0 98/12/15 C 5.0 SUNWspro
CC: WorkShop Compilers 5.0 98/12/15 C++ 5.0 SUNWspro



Mchine:
SunOS jack 5.7 Generic_106541-36 sun4u sparc SUNW,Ultra-5_10






Commandline Options to build graphviz-2.1.20041219.0530:
$$> setenv CC cc
$$>setenv CXX CC
$$>./configure --with-tclsh=/delsoft/mgupta/D/dotty/install_dir/bin/tclsh8.4 --with-wish=/delsoft/mgupta/D/dotty/install_dir/bin/wish8.4 --with-freetype=/delsoft/mgupta/D/dotty/install_dir/ --with-zincludedir=/delsoft/mgupta/D/dotty/install_dir/include/ --with-zlibdir=/delsoft/mgupta/D/dotty/install_dir/lib --with-pngincludedir=/delsoft/mgupta/D/dotty/install_dir/include/ --with-pnglibdir=/delsoft/mgupta/D/dotty/install_dir/lib --with-jpegincludedir=/delsoft/mgupta/D/dotty/install_dir/include/ --with-jpeglibdir=/delsoft/mgupta/D/dotty/install_dir/lib --prefix=/delsoft/mgupta/D/dotty/install_dir
</CD>






I tried to compile freetype-2.1.9 using gcc-2.95.3 and gcc-3.2.3 but could not get it compiled successfully.
So I moved on gcc-3.4.2 and built it successfully but when I run this dotty then it gives segmentation fault on solaris-7(32bit machine) machine whose patch version is lower than 22.So I decided to move on "cc" SunWorkShop Compiler.Using this compiler I am able to build all the packages successfully but when I run it coredumped:



<CD>
[email protected][301] dotty ~/dac_demo/current.dot
/delsoft/mgupta/SpyGlass-3.5.2-Beta/SPYGLASS_HOME/../dotty/bin/SunOS5/lefty
Bus Error - core dumped
Bus Error - core dumped
dotty.lefty: giving up on dot
dotty.lefty: graph that causes dot
dotty.lefty: to fail has been saved in file dottybug.dot
dotty.lefty: please fill out a bug report at http://www.research.att.com/~erg/graphviz/bugform.html [^]
</CD>



When I run this:
<CD>
echo 'digraph G {bgcolor=blue; hello->world}' | dot -Tpng >test.png
Bus Error - core dumped
</CD>



Please resolve the issue.
Steps To Reproduce

echo 'digraph G {bgcolor=blue; hello->world}' | dot -Tpng >test.png
Additional Information

[mgupta]
<CD>
Command line Options to build
graphviz-2.1.20041219.0530:
$$> setenv CC cc
$$>setenv CXX CC
$$>./configure
--with-tclsh=/delsoft/mgupta/D/dotty/install_dir/bin/tclsh8.4
--with-wish=/delsoft/mgupta/D/dotty/install_dir/bin/wish8.4
--with-freetype=/delsoft/mgupta/D/dotty/install_dir/
--with-zincludedir=/delsoft/mgupta/D/dotty/install_dir/include/
--with-zlibdir=/delsoft/mgupta/D/dotty/install_dir/lib
--with-pngincludedir=/delsoft/mgupta/D/dotty/install_dir/include/
--with-pnglibdir=/delsoft/mgupta/D/dotty/install_dir/lib
--with-jpegincludedir=/delsoft/mgupta/D/dotty/install_dir/include/
--with-jpeglibdir=/delsoft/mgupta/D/dotty/install_dir/lib
--prefix=/delsoft/mgupta/D/dotty/install_dir
</CD>
I tried to compile freetype-2.1.9 using gcc-2.95.3 and
gcc-3.2.3 but could not get it compiled successfully.
So I moved on gcc-3.4.2 and built it successfully but
when I run this dotty then it gives segmentation fault
on solaris-7(32bit machine) machine whose patch
version is lower than 22.So I decided to move on "cc"
 SunWorkShop Compiler.Using this compiler I am able to
build all the packages successfully but when I run it
core dumped

[ellson]
Please save the console output of ./configure to a file, and send it to me.

Please run "ldd `which dot`" and send the output.

Please create a simple test file:
<CD>
   echo "digraph G {hello->world}" >t.dot
</CD>
then run under gdb and let me know "where" the bus error occurs:
<CD>
   gdb `which dot`
   (gdb) run t.dot (or, if necessary, run -Tpng t.dot )
   (gdb) where
</CD>
Don't bother with dotty until you can get dot to run.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
[ellson] This problem (strange alignment bug on Suns) was fixed by upgrading the C compiler.
FORMER-ID602
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     graphviz-2.1.20041219.0530
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 => user695


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