From: Alan W. I. <ir...@be...> - 2009-09-02 19:48:32
|
Hi Alban: On 2009-09-02 09:20-0700 Alan W. Irwin wrote: > N.B. The above result [valgrind clean for examples/c/test_plend -dev qtwidget] was for Qt4.5.1 (from the SDK I downloaded a few > months ago), but I also tried Qt4.5.0 (from the downloadable SDK from > January this year), _and also the Debian stable system version, Qt4.4.3_, > and they gave essentially identical valgrind results to above. Just now I tried wget http://get.qt.nokia.com/qtsdk/qt-sdk-linux-x86_64-opensource-2009.03.1.bin which corresponds to the Qt4.5.2 SDK version. For those who are concerned about trying this version, the whole process literally took less than 10 minutes. The download was less than 4 minutes (since I averaged about 2MB/s download rates with my cable modem), and the actual install (done by running ./qt-sdk-linux-x86_64-opensource-2009.03.1.bin after changing its permissions appropriately) took only 4 minutes and resulted in 981MB of files in /home/software/qtsdk-2009.03. I get the same valgrind clean results for examples/c/test_plend -dev wxwidget with this version of Qt4.5.2 as with all previous versions. I hope you get similarly good results for this version of Qt4.5.2 on your own Linux 64-bit system. Regardless, I hope these good results help you to figure out what is causing the plend/qt memory management problems on some Linux systems. What other differences (besides 64-bit) are there between your 32-bit system that is valgrind clean for the above example, and your 64-bit system which is not? Wild shot: could we again be up against a locale difference (i.e., you have set locale on your 64-bit system in such a way that Qt4.5 uses a different code path and segfaults as a result)? Do you have exactly the same locale set on your 32-bit and 64-bit systems? 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 __________________________ |