[GRASS-dev] grass7 memory corruption again

Martin Landa landa.martin at gmail.com
Tue May 26 12:41:20 EDT 2009


Hi,

I am facing to the crazy memory corruption again, e.g. now v.db.select
segfaults. It's always related to Vect_open_old-*() fns. On line 118
in main.c is called Vect_open_old_head(). Before the function call

(gdb) p fs_opt->answer
$13 = 0xb7f0aea9 "|"

OK

after

(gdb) p fs_opt->answer
$14 = 0x0

... I reported this kind of problem several times in the past. It's
seems there is nobody who is facing to the similar problem or am I
wrong?

Martin

Debian GNU/Linux Sid

gcc (Debian 4.3.3-10) 4.3.3


        CFLAGS="-g -Wall -Werror-implicit-function-declaration
-fno-common -Wextra -Wunused" \
	    CXXFLAGS="-g -Wall"  \
	    ./configure --prefix=/usr/local \
	    --with-tcltk-includes=/usr/include/tcl8.4
--with-tcltk-libs=/usr/lib/tcl8.4 \
	    --with-postgres --with-postgres-includes=/usr/include/postgresql \
	    --with-mysql --with-mysql-includes=/usr/include/mysql \
	    --with-gdal=/usr/local/gdal-grass7/bin/gdal-config  \
	    --with-proj \
	    --with-motif --with-glw --with-nls --with-readline \
	    --with-cxx --enable-largefile \
	    --with-freetype --with-freetype-includes=/usr/include/freetype2 \
	    --with-sqlite --with-ffmpeg --with-ffmpeg-includes=/usr/include/ffmpeg/ \
	    --with-odbc --with-python=/usr/bin/python2.5-config
--with-wxwidgets --with-pthread \
	    --with-ffmpeg=no --with-geos=/usr/local/bin/geos-config

-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa


More information about the grass-dev mailing list