On 2013-11-05 00:45-0800 Alan W. Irwin wrote: [...] > % plstdwin . > % plxframe .plw > > segfaults with the Debian versions of Tcl/Tk8.5 and > itcl... version 3.
I discovered by comparison with examples/tk/runAllDemos.tcl that the source of this issue (I am pretty sure, but I would appreciate confirmation from Maurice) is that you should use plframe rather than plxframe inside a wish environment. Accordingly I made the appropriate change in the tkdemos.tcl logic (revision 12663) and with two caveats ([1] a pretty rough logic hack that only works if you follow the examples/tk/README.tkdemos instructions religiously, and [2] a lack of access to libplplotd constants such as $::PLPLOT::PL_PI [namespace issues???]) I now have tkdemos.tcl working under wish. For example, the 10th and 12th examples work fine since they do not require libplplotd constants. These changes to tkdemos.tcl do not compromise its long-standing ability to work without issues under plserver. So we are back in business with tkdemos.tcl under wish after many years when it did not work at all. @Maurice and Arjen: as Tcl/Tk experts here would you be willing to follow up on those two caveats to extend the current proof-of-concept to a smooth and complete result? 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); 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 __________________________ ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel