[postgis-users] Help please
David Blasby
dblasby at refractions.net
Tue Aug 12 16:29:04 PDT 2003
oh - I made valgrind give more details in the stack trace (see below).
I turned off the savequery functionality, and that got rid of the first
error (dont know what would cause aproblem on a fclose()).
==14374== Syscall param write(buf) contains uninitialised or
unaddressable byte(s)
==14374== at 0x40517384: __libc_write (in /lib/libc-2.2.4.so)
==14374== by 0x404B1467: (within /lib/libc-2.2.4.so)
==14374== by 0x404B104A: _IO_do_write (in /lib/libc-2.2.4.so)
==14374== by 0x404AFE13: _IO_file_close_it (in /lib/libc-2.2.4.so)
==14374== by 0x404A6345: _IO_fclose (in /lib/libc-2.2.4.so)
==14374== by 0x8066A99: msSaveQuery (mapquery.c:92)
==14374== by 0x804F397: main (mapserv.c:1355)
==14374== by 0x4045127F: __libc_start_main (in /lib/libc-2.2.4.so)
==14374== by 0x804B210: (within
/net/lion_direct/raid/share/Refractions/Projects/PostGIS/mapserver/mapserver-cvs/mapserver/mapserv)
==14374== Address 0x41879035 is not stack'd, malloc'd or free'd
msPOSTGISLayerClose called
==14374==
==14374== Invalid free() / delete / delete[]
==14374== at 0x40168E95: free (vg_clientfuncs.c:185)
==14374== by 0x40551CBC: (within /lib/libc-2.2.4.so)
==14374== by 0x404BA821: __libc_freeres (in /lib/libc-2.2.4.so)
==14374== by 0x4016982B: vgPlain___libc_freeres_wrapper
(vg_clientfuncs.c:590)
==14374== by 0x40465F48: exit (in /lib/libc-2.2.4.so)
==14374== by 0x804F435: main (mapserv.c:1377)
==14374== by 0x4045127F: __libc_start_main (in /lib/libc-2.2.4.so)
==14374== by 0x804B210: (within
/net/lion_direct/raid/share/Refractions/Projects/PostGIS/mapserver/mapserver-cvs/mapserver/mapserv)
==14374== Address 0x40585308 is not stack'd, malloc'd or free'd
More information about the postgis-users
mailing list