Alan, I've now fixed you warnings. Turns out there was an API change to remove a redundant argument in 3.4.0. The guilty code was in our plplot_octave.i file so it is relatively easy to fix. I've tested the changes with 3.2.4 and 3.6.2 and all seems fine. It does involve an #if #else #endif statement to check for version so we can still support octave 3.2. I guess at some stage we could remove this requirement, but no hurry for now.
I've also #undef'd the VERSION and PACKAGE macros which octave leaks out (in version 3.6.2 at least) before plplot tries to redefine them. A lesson to us all as to why we should try not to pollute global namespaces. Cheers Andrew On Fri, Nov 02, 2012 at 09:55:44AM +0000, Andrew Ross wrote: > > Alan, > > I can confirm the warnings you see. This is is swig generated code so > I'll need to dig a bit deeper to see what the problem is. > > I cannot reproduce you crash using make test_octave_psc on Debian > testing. This should be the same(?) version as you are using Alan. > > I also found a number of other octave warnings as part of the process. > Some of these I've removed by fixing the code. I've had to disable > warnings about user functions shadowing core octave functions. I can > see why the warning is there, but that is the whole point of the > octave high level bindings! > > Regards > > Andrew > > On Fri, Nov 02, 2012 at 07:42:40AM +0000, Andrew Ross wrote: > > > > Alan, > > > > Thanks for the testing. I'll take a look. The bindings are now all swig > > generated so it may be a swig issue as well. I've not had any issues up > > to this stage building on Debian testing. > > > > Andrew > > > > On Thu, Nov 01, 2012 at 06:41:47PM -0700, Alan Irwin wrote: > > > Hi Andrew: > > > > > > I just got this: > > > > > > time (nice -19 make -j8 install >& install.out) > > > *** glibc detected *** /usr/bin/octave: free(): invalid pointer: > > > 0x0000000002b0fa80 *** > > > ======= Backtrace: ========= > > > /lib/x86_64-linux-gnu/libc.so.6(+0x75b76)[0x2acd45a95b76] > > > /lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x2acd45a9a8ac] > > > /home/software/plplot_svn/HEAD/build_dir/examples/../bindings/octave/plplot_octave.oct(_Z14_wrap_pllegendRK17octave_value_listi+0x2000)[0x2acd4e6a0110] > > > /usr/lib/x86_64-linux-gnu/liboctinterp.so.1(_ZN14octave_builtin17do_multi_index_opEiRK17octave_value_listPKSt4listI13octave_lvalueSaIS4_EE+0x36a)[0x2acd435d3a7a] > > > /usr/lib/x86_64-linux-gnu/liboctinterp.so.1(_ZN14octave_builtin7subsrefERKSsRKSt4listI17octave_value_listSaIS3_EEiPKS2_I13octave_lvalueSaIS8_EE+0x165)[0x2acd435d2a65] > > > .... > > > > > > For the others here I had contacted Andrew off list earlier today > > > about a bunch of octave build warnings I am getting now. So that > > > already implies PLplot is no longer in consistency with the octave > > > version (3.6.2-5) that is installed on my system, and now the above > > > run-time issue reinforces that idea. > > > > > > I don't quite understand why I am getting these build warnings and > > > run-time issues now. This version of Octave was installed a month ago > > > for this Debian Wheezy platform, and I have tested it several times > > > since with no warnings or run-time issues, but it is crapping out now > > > for some reason. > > > > > > So I guess the next step is for Andrew to try and replicate at least > > > the build warnings. It is always a crap shoot to attempt to replicate > > > run-time memory management issues so maybe they have been there all > > > along, and I just lucked out for this particular test run. > > > > > > 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 > > > __________________________ > > > > > > ------------------------------------------------------------------------------ > > > LogMeIn Central: Instant, anywhere, Remote PC access and management. > > > Stay in control, update software, and manage PCs from one command center > > > Diagnose problems and improve visibility into emerging IT issues > > > Automate, monitor and manage. Do more in less time with Central > > > http://p.sf.net/sfu/logmein12331_d2d > > > _______________________________________________ > > > Plplot-devel mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/plplot-devel > > > > > > > ------------------------------------------------------------------------------ > > LogMeIn Central: Instant, anywhere, Remote PC access and management. > > Stay in control, update software, and manage PCs from one command center > > Diagnose problems and improve visibility into emerging IT issues > > Automate, monitor and manage. Do more in less time with Central > > http://p.sf.net/sfu/logmein12331_d2d > > _______________________________________________ > > Plplot-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/plplot-devel > > > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_d2d > _______________________________________________ > Plplot-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/plplot-devel > ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Plplot-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-devel
