Hi Alexis: On 2013-11-15 14:53+0100 Alexis Praga wrote:
> Unfortunately, there is a segmentation fault for the build-tree interactive > tests. > Here are the steps I followed (from the build directory) : > > cmake -DCMAKE_INSTALL_PREFIX=$SOFTWARES/plplot -DBUILD_TEST=ON > ../../plplot-5.9.10 > make clean && make > make VERBOSE=1 -j4 test_noninteractive >& test_noninteractive_build.out > make VERBOSE=1 -j4 test_interactive >& test_interactive_build.out > > Corresponding files are attached. I hope this helps. Yes it does. Please run "svn update" from the top-level of your checked out source tree to make sure you are consistent with the latest code that the developers are testing. I am also a bit concerned by that "make clean" which is fine as something quick and dirty to do to get rebuilds, but still leaves you potentially subject to stale cached build-system results from previous bad builds. The recommended way to make sure you are not subject to such stale results is to completely remove the contents of your build tree, i.e., rm -rf /home/pae/praga/Downloads/plplot/builddir/* That, of course, is an potentially dangerous command so please check that I have identified the top directory of your build tree correctly. Afterward, cd /home/pae/praga/Downloads/plplot/builddir and proceed as you did above, but this time (and everytime thereafter) please capture the cmake output in cmake.out, e.g., cmake -DCMAKE_INSTALL_PREFIX=$SOFTWARES/plplot -DBUILD_TEST=ON \ ../../plplot-5.9.10 >& cmake.out Also, this time (and from now on as long as you are starting from an empty build tree) you can drop the unnecessary make clean step. If the segfault still persists (which I am pretty sure it will), there is no need to send those results. Instead, please narrow it down further as follows. Again start with an empty build tree and run cmake then without doing any other make steps, do make VERBOSE=1 test_wish_standard_examples >& \ test_wish_standard_examples.out I am pretty sure from the test_interactive results you sent me before, that this will trigger the segfault. Note also, the lack of parallel build option above (normally an excellent idea) that I deliberately requested that makes the output easier to understand if there are errors. Assuming this narrowed down try triggers the segfault, I would like you to send to the list (so Arjen and Orion can see the results as well) cmake.out, test_wish_standard_examples.out, and examples/tk/wish_standard_examples (a compressed tarball would be a convenient format for those) to see if we can spot anything obvious that the build system has done wrong in your case. If you trigger the segfault, but we cannot spot anything wrong in those files, I already have some ideas about continuing this segfault chase by narrowing down the test even more leading eventually to a simplest possible example of the problem that we can then analyze with valgrind on your platform and also on ours. Thanks very much for reporting this segfault issue in the first place. They are the very bugger to track down (since the memory management issue that is typically the cause, may be symptomless on other platforms except for valgrind warnings). I hope you will stick with us (probably for several more iterations) until we have it nailed. 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 __________________________ ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general