Hi Orion: Thanks for your 5.9.8 test results. More below.
On 2011-08-12 16:35-0600 Orion Poplawski wrote: > On 08/01/2011 12:37 PM, Hazen Babcock wrote: >> >> Hello, >> >> Version 5.9.8 of PLplot is now available. > > I'm getting segfaults on the following tests building for Fedora 15-17: > > The following tests FAILED: > 25 - examples_pdfqt (Failed) > 24 - examples_epsqt (Failed) > 23 - examples_svgqt (Failed) > > I think it has something to do with library linking: > > [mockbuild@mock1 plplot_test]$ xvfb-run > /builddir/build/BUILD/plplot-5.9.8/fedora/examples/c/x02c -dev pdfqt -o > ./x02c% > > *** PLPLOT WARNING *** > All pages after the first skipped because family file output not specified. I am concerned about the above WARNING message. If you look at plplot_test/plplot-test.sh.cmake, line 357 you have the following case "$device" in png|pngcairo|jpeg|xfig|svg|svgcairo|bmpqt|jpgqt|pngqt|ppmqt|tiffqt|svgqt|epsqt|pdfqt) options="-fam -fflen 2" ;; This works here (Debian Squeeze) so that familying is used for all -dev pdfqt tests so I never see that warning message. So why doesn't that work there? All the shell scripts in question start with #!/bin/bash so bash should be invoked on your system and do the right thing unless Fedora has /bin/bash symlinked to something other than bash? I would appreciate you investigating this puzzling result on Fedora further by running plplot-test.sh by hand for cmake option -DBUILD_TEST=ON. > > /usr/bin/xvfb-run: line 166: 11264 Segmentation fault DISPLAY=:$SERVERNUM > XAUTHORITY=$AUTHFILE "$@" 2>&1 DISPLAY has to do with X. Could this segfault be related to the fix that Andrew just committed to turn off X for Qt for noninteractive tests? What happens if you use plplot trunk? Does that fix help? > [mockbuild@mock1 plplot_test]$ LD_PRELOAD=/lib64/libpthread.so.0 xvfb-run > /builddir/build/BUILD/plplot-5.9.8/fedora/examples/c/x02c -dev pdfqt -o > ./x02c% > > *** PLPLOT WARNING *** > All pages after the first skipped because family file output not specified. > > /builddir/build/BUILD/plplot-5.9.8/fedora/examples/c/x02c: symbol lookup > error: /usr/lib64/libQtGui.so.4: undefined symbol: _ZN18QThreadStorageDataD1Ev Qt4 comes in two versions (debug and optimized). I wonder if that undefined symbol is caused by inconsistent linking of the two versions on Fedora for qt.so? From my understanding of the discussion on the CMake development list this choice of debug or optimized Qt4 is the source of a lot of CMake/Qt4 issues. There is one simple bug fix for CMake itself that is required to help sort out Windows problems with choosing a consistent version for Qt4, but I wonder if it might also be relevant to Fedora as well? Anyhow, I suggest you try http://cmake.org/gitweb?p=cmake.git;a=commit;h=5a2b20 (a three-line patch to one of the CMake run-time module files) to see if it makes any difference. My understanding is that patch is almost a sure thing to go into CMake 2.8.6. The patch is for CMake-2.8.5, but if Fedora is using some version less than that, that might also be a source of additional Qt4 trouble. 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 __________________________ ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel