anybody try tkrat 2.0b5 on a Debian potato system?
I have been having problems getting the 2.0 beta versions of tkrat to
run on my potato system. It compiles fine but has problems with the
c-client library blt_busy that is included int the source tree. Whenever
this function is called it Segfaults and dies. If I comment the calls
to blt_busy out of the start.tcl and print.tcl functions from the tkrat
tree then it runs fine. I am asking on this list because no one else on
the tkrat list seems to be having a problem which leads me to believe
that it might be an issue with Debian potato.
I am current in potato with gcc 2.95, tk/tcl 8.2. I have also tried the
gcc272 compiler but that did not change anything.
If any C & tcl masters wants to try and debug it you can get the code at
ftp://ftp.md.chalmers.se/pub/tkrat/tkrat-2.0b5.tar.gz.
The specific code that seems to have problems is
tkrat-2.0b5/util/blt_busy.c in the source tree. And from what I can
tell trying to poke around in gdb(I don't speak C or tcl) is that the
line #407 'busyPtr = (Busy *)calloc(1, sizeof(Busy));' seems to cause
the SIGSEGV.
Thanks,
--
Brian Servis
--
------------------------------------------------------------------------
Mechanical Engineering | Never criticize anybody until you
Purdue University | have walked a mile in their shoes,
servis@purdue.edu | because by that time you will be a
http://www.ecn.purdue.edu/~servis | mile away and have their shoes.
Reply to: