[postgis-devel] Test: tin_tgeom throws segmentation fault
Mateusz Loskot
mateusz at loskot.net
Tue Aug 31 09:35:47 PDT 2010
Hi,
FYI, building PostGIS from the trunk r5875 under Linux 64-bit
using GCC 4.4.3:
./autogen.sh && \
./configure && \
make clean && \
make && \
make comments && \
make check && \
sudo make install && \
sudo make comments-install
and I'm getting seg fault from the cunit tests:
Test: tin_parse ... passed
Test: polyhedralsurface_parse ... passed
Test: tin_tgeom ... make[1]: *** [check] Segmentation fault
make[1]: Leaving directory
`/home/mloskot/dev/postgis/_svn/trunk/liblwgeom/cunit'
make: *** [check] Error 2
Here is gdb backtrace:
Test: tin_tgeom ...
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7644392 in _int_free (av=0x7ffff7948e40, p=0x69b6d0) at
malloc.c:4954
4954 malloc.c: No such file or directory.
in malloc.c
(gdb) bt
#0 0x00007ffff7644392 in _int_free (av=0x7ffff7948e40, p=0x69b6d0) at
malloc.c:4954
#1 0x00007ffff7647e53 in *__GI___libc_free (mem=<value optimised out>)
at malloc.c:3738
#2 0x000000000043613e in tgeom_free (tgeom=0x694c00) at libtgeom.c:368
#3 0x000000000040c876 in check_tgeom (ewkt=0x449d30 "TIN(((0 1 2 3,4 5
6 7,8 9 10 11,0 1 2 3)))", type=<value optimised out>,
srid=<value optimised out>, is_solid=0) at cu_surface.c:267
#4 0x000000000040ca0d in tin_tgeom () at cu_surface.c:393
#5 0x00007ffff79502aa in ?? () from /usr/lib/libcunit.so.1
#6 0x00007ffff79506ee in ?? () from /usr/lib/libcunit.so.1
#7 0x00007ffff7950828 in CU_run_all_tests () from /usr/lib/libcunit.so.1
#8 0x0000000000410b65 in main (argc=1, argv=0x7fffffffe2a8) at
cu_tester.c:91
(gdb)
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the postgis-devel
mailing list