From: Alan W. I. <ir...@be...> - 2003-02-10 18:27:00
|
On Mon, 10 Feb 2003, Rafael Laboissiere wrote: > * jc...@fe... <jc...@fe...> [2003-02-08 03:45]: > > > Try removing the tkwin driver from the install directory and uncommenting the > > lt_dlclose (dlhand) in plcore.c that Rafael last cvs commit has commented. > > x01c now works for me. tkwin is a bad-boy! > > I can replicate this bug here. The tkwin driver has probably some memory > management problems that make surface when lt_dlopenext/lt_dlclose are used. > That's weird, eh? I don't completely trust such interpretation because I have seen segfaults come and go depending on the placement (!) of print statements in the code. It is very hard to track down the real reason for segfaults until you use a tool like valgrind. valgrind does indicate a problem with xwin even when lt_dlclose is commented out. So I suggest the best test is to uncomment lt_dlclose and exclude both xwin and tkwin. Under those circumstances, then I would believe the above interpretation (problem somewhere in either xwin or tkwin or both) if the valgrind result is clean. Otherwise not. I don't have time to run this specific test now, but I will do so in the next few days if nobody else is curious enough to try it. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |