Hi,
> From: Hazen Babcock > To: PLplot development list <Plplot-devel@lists.sourceforge.net> > Sent: Monday, 22 December, 2008 16:07:06 > Subject: [Plplot-devel] segfault in example 21 > > > Hello, > > In the process of updating the webpage, I've discovered that example 21 > segfaults on my new linux box. I'm running Ubuntu 8.10 (64bit). > > Based on printf debugging, I believe the crash occurs in plgriddata(). I > thought it might be qhull related, but it doesn't look like qhull has > changed since 2003. > > The example will run "fine" if I pull plgriddata out of the for loop (so > that it only gets called once) and ask for type 0 (GRID_CSA?) > interpolation. It will crash if I try type 1 interpolation. It will also > crash if the function is inside the for loop, but is set to always use > type 0 interpolation. > Ideas? I haven't got a solution but just to record that I have also encountered a segfault in example 21. At this stage I thought it was probably a change I had made as I was in the middle of building a modified version of plplot using "non-system" tcl/tk libraries on cygwin. I started to unwind the changes but unfortunately I haven't had time to find the cause. Further I am now away from my development machine till the new year so I am writing this from memory. I was using (32 bit) cygwin 1.5 with gcc 3.x and the recent cygwin upgrade to X11R7.4 libraries. PLPlot would have been a modified version of the (post 5.91) svn version. PLPlot was built with csa library but not qhull. The program was crashing in plgriddata and I think it was within the csa routines (it was about this point I had to stop). Finally, I was using the test scripts so non-interactive examples 1-20 had run without crashing but I didn't check the output. Sorry I can't be of more help. Kind regards Terrence ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel