From: Alan W. I. <ir...@be...> - 2009-01-24 21:04:19
|
On 2009-01-23 08:59-0800 Alan W. Irwin wrote: > I noticed that (wxwidgets segfaults everywhere unless you remove the build > tree and install tree [in my case since I am doing install-tree testing] and > start fresh for any change) on Debian testing. Such a symptom happens for > no other device that I am aware of. So I am quite surprised by this bad > build result and will look into it further. This problem should now be fixed as of revision 9382. The fix involved a complete reorganization of FindAGG.cmake in standard CMake-2.6.x form. Please check this works on all platforms (especially Windows which has some special requirements for the case where pkg-config has not been installed). In a previous message I wrote: There are five other (besides hitting return) possible methods for terminating the window. There are two window manager controls for doing it and the corresponding alt-F4 and the wxwidgets file button for exit and the corresponding alt-x. If I use any of those 5 methods when the slave is in focus, I get the "Program aborted" message. If I use any of those 5 methods when the master is in focus, I get a segfault. Again, this is consistent with the idea that the wxwidgets device is confusing windows events from the two separate streams. I assume the fix is to change some variables in the wxwidgets device code to be stored in a stream-dependent way similar to changes we have made in other devices recently to deal with example 14. I can no longer reproduce this from a clean start (or otherwise). And valgrind also gives a clean bill of health when one of the above patterns of GUI use that previously caused segfaults is used. So the previous problems may well have been caused by some other linking problem that has now been fixed by the above standardization of FindAGG.cmake. I will accept this nice side effect of the change. :-) Werner, I believe you verified this segfault before for a clean start so I hope it is now gone for you as well. 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 __________________________ |