From: Alan W. I. <ir...@be...> - 2003-02-05 22:08:55
|
On Wed, 5 Feb 2003, [iso-8859-1] Jo=E3o Cardoso wrote: > Pretty sure, I had to cvs update to see your changes. The configure line > after upgrading to the last autools versions and running bootstrap.sh: > > > make maintainer-clean > > ./bootstrap.sh > Running aclocal (GNU automake) 1.7.2... done > Running libtoolize (GNU libtool) 1.4.3... done > Running autoheader (GNU Autoconf) 2.57... done > Running automake (GNU automake) 1.7.2... done > Running autoconf (GNU Autoconf) 2.57... done > > ./configure --enable-octave --enable-dyndrivers --disable-static > --with-double --prefix=3D/usr/local/test I confirm the segfault problem found by Joao: I just did an absolutely fresh checkout from cvs, rm -rf $prefix/*; =2E/bootstrap.sh; configure (followed Joao's configure options of --enable-octave --enable-dyndrivers --disable-static --with-double ); make; make install; cd $prefix/lib/plplot-5.2.0/examples/c; make Then ./x01c -dev xwin produces a segfault. In fact if you ./x01c with no options or the -debug option there is an immediate segfault with no output whatsoever. I then used valgrind ./x01c and there are an enormous number of messages (n= ot there before) involving invalid reads, etc. So there is clearly a memory management problem with the new code. Rafael, you should be able to reproduce this bug if you do exactly what I did since we have very similar systems. Joao's choice of configure options may be important or there may be something left over in your build or install location that makes it work on your system but not on ours. But the fresh checkout and the above rm -rf should take care of that potential difference between us. Once you confirm the bug, I highly recommend valgrind --gdb-attach=3Dyes --num-callers=3D100 ./x01c to quickly debug the memory management problem. Good luck! Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting softwar= e package (plplot.org). __________________________ Linux-powered Science __________________________ |