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).

hl:~/opensource/plplot-working/plplot-CBS-1$ uname -a
Linux hbabcock-laptop 2.6.27-9-generic #1 SMP Thu Nov 20 22:15:32 UTC 
2008 x86_64 GNU/Linux

hl:~/opensource/plplot-working/plplot-CBS-1$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 
4.3.2-1ubuntu11' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc 
--enable-mpfr --enable-checking=release --build=x86_64-linux-gnu 
--host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11)

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?

-Hazen


------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to