From: Alan W. I. <ir...@be...> - 2015-08-24 19:08:50
|
On 2015-08-24 09:59-0000 Arjen Markus wrote: > Hi Alan, Greg, > > > > Some more information - no solution though: > > - Commenting out all calls to pplimage and plimagefr to avoid the "calls" to f2c (that is a macro, not a function) so that only plimagefr2 was left made no difference to the segmentation fault. > > - Printing the allocated pointers in f2c revealed that the failure occurs at i = 122 for ygg, so in the middle of the procedure with no clue as to the cause. Hi Arjen: It sounds like you are trying to debug what happens in bindings/octave/plplot_octaveOCTAVE_wrap.cxx. Could you please send that swig-generated file to me (without your edited changes) so I could compare with what is generated by swig here? I presume they will be the same, but it would be good to double check that. Since the error you have investigated at this detailed level seems to occur right in the middle of an array, I think it would be worth your while to try debugging at the higher (octave) level instead. That is modify examples/octave/x20c.m to 1. Find the exact octave command that is causing the issue, and 2. Dump out all arguments of that command including the detailed contents of every vector and array into a file. 3. Send that file and your modified x20c.m here so I can try the same experiment here to see if there are any differences. 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 __________________________ |