Hi Hazen: On 2016-11-15 08:15-0500 Hazen Babcock wrote:
> This is happening with Qt4, specifically: OK. That very likely means this is our problem and nothing to do with Qt4. > [this] command does not segfault: > ./x02c -dev pngqt -o ex2.png > > But it does segfault in family mode: > ./x02c -fam -dev pngqt -o ex2.png If I recall correctly example 2 moves through the pages in a unique but legitimate way that other examples do not use so that may be triggering this issue for the qt devices. So I plan to take a look later when I have finished up some other PLplot issues I am currently dealing with unless you are able to solve this issue first on your own. Assuming you do want to investigate further on your own, I would try compiling with export CFLAGS="-g" export CXXFLAGS="-g" (so the valgrind results properly identify code lines and you can attach a gdb session (if you like) whenever valgrind finds a memory management issue. Then run valgrind (with --db-attach=yes) on example 2 with familying and a variety of qt devices to see if they all have memory management issues and exactly what part of our qt code is generating those. My guess is it is something one or all of our qt devices does wrong for the end-of-page processing in familying mode for the unique way example 2 navigates through its two pages. 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 __________________________ ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel