Alan,

I've tested your instructions exactly on an Ubuntu Ibex 64-bit system
and I do not see any segmentation fault with tkdemos.tcl. This is with 
tk version 8.4.19. I do see a segmentation fault if I try 
plserver -f tk03.

By the way tk01, tk02 and tk03 do not work correctly for me. Is this an
itcl issue? If so we should disable these for the case without itcl.

As an aside, why do we have copies of all the x??.tcl examples in the tk
examples directory? As far as I can see these are identical to the tcl
versions except that the tcl versions have been updated and the tk
versions are rather old.

Andrew

On Tue, Dec 09, 2008 at 03:37:08PM -0800, Alan Irwin wrote:
> On 2008-12-09 14:07-0800 Alan W. Irwin wrote:
> 
> > Hi Maurice:
> 
> > [EMAIL PROTECTED]> plserver
> > % source tkdemos.tcl
> > Segmentation fault
> >
> > I hope you (and any others here with an interest in Tcl/Tk) will be able to
> > confirm this segfault and find a fix for it.
> 
> I have done a bit more testing of Tcl/Tk.
> 
> c/x08c -dev tk
> 
> completes without any segfaults (although there may be some Tcl/Tk bindings
> screwup that happens by chance not to cause a segfault in that case).
> 
> ctest of tcl works without obvious problems.
> 
> The above segfault occurs before any interactive plotting is done.
> 
> I also tried
> 
> plserver -f tk03
> 
> in that directory (where tk03 is a script that is installed there) and also
> got a segfault (this time on exit after all the interactive plots were done
> with no obvious errors).
> 
> ldd -r on the installed plserver version indicates no obvious linking 
> problems.
> 
> I found the above two segfaults by using a historical interactive testing
> script I have used for older releases which basically followed the
> directions in README.tkdemos.  I have fallen out the habit of using this
> test script for recent releases, but obviously that was a mistake and some
> bitrot has crept in for the Tk interactive examples (perhaps several
> releases ago) which our Tk users have not noticed.
> 
> My current plans are to generalize and configure that script a bit and
> commit it to svn so others can use it as well to help keep Tk in reasonable
> shape.  But for now, if you follow the above directions you should hopefully
> be able to see the two different segfaults for yourself.
> 
> Alan
> __________________________
> Alan W. Irwin
> 
> Astronomical research affiliation with Department of Physics and Astronomy,
> University of Victoria (astrowww.phys.uvic.ca).
> 
> Programming affiliations with the FreeEOS equation-of-state implementation
> for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
> package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
> Linux Links project (loll.sf.net); and the Linux Brochure Project
> (lbproject.sf.net).
> __________________________
> 
> Linux-powered Science
> __________________________
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Plplot-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> 

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to