mapserver segfaults on x68_64 intel xeon
Alessandro Pasotti
ale.pas at TISCALI.IT
Thu Mar 1 23:29:54 PST 2007
Hello,
I've compiled latest mapserver and all dependencies (gdal, proj, geos etc.)
from scratches on a 64bit linux machine, build process went fine, but the
resulting executable segfaults (the mapfile is ok, tested on other machines):
(gdb) set args -all_debug 9 -m /maps/appalto_26.map
(gdb) run
Starting program: ./shp2img -all_debug 9 -m /maps/appalto_26.map
[Thread debugging using libthread_db enabled]
[New Thread 46912537641984 (LWP 11768)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912537641984 (LWP 11768)]
0x00002aaaac518e40 in rawmemchr () from /lib64/tls/libc.so.6
The same happens with the cgi and php_mapscript:
[Fri Mar 02 08:08:58 2007] [error] [client 82.52.86.193] Premature end of
script headers: mapserv
[Fri Mar 02 08:09:23 2007] [notice] child pid 11473 exit signal Segmentation
fault (11)
Any idea on how to solve this?
Many thanks in advance.
Some dumps follow
------------------
linux:~/webgis/mapserver-4.10.1 # ldd mapscript/php3/php_mapscript.so
libcurl.so.3 => /usr/lib64/libcurl.so.3 (0x00002aaaaacd7000)
libssl.so.0.9.7 => /usr/lib64/libssl.so.0.9.7 (0x00002aaaaae0d000)
libcrypto.so.0.9.7 => /usr/lib64/libcrypto.so.0.9.7
(0x00002aaaaaf43000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaab17c000)
libz.so.1 => /lib64/libz.so.1 (0x00002aaaab27f000)
libjpeg.so.62 => /usr/lib64/libjpeg.so.62 (0x00002aaaab394000)
libgdal.so.1 => /usr/local/lib/libgdal.so.1 (0x00002aaaab4b6000)
libgeos-3.0.0rc4.so => /usr/local/lib/libgeos-3.0.0rc4.so
(0x00002aaaaba22000)
libgeos_c.so.1 => /usr/local/lib/libgeos_c.so.1 (0x00002aaaabc65000)
libjasper-1.701.so.1 => /usr/lib64/libjasper-1.701.so.1
(0x00002aaaabd73000)
librt.so.1 => /lib64/tls/librt.so.1 (0x00002aaaabec8000)
libproj.so.0 => /usr/local/lib/libproj.so.0 (0x00002aaaabfd0000)
libgd.so.2 => /usr/lib64/libgd.so.2 (0x00002aaaac112000)
libm.so.6 => /lib64/tls/libm.so.6 (0x00002aaaac266000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002aaaac3bd000)
libc.so.6 => /lib64/tls/libc.so.6 (0x00002aaaac5ba000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002aaaac7e5000)
/lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x00002aaaac8f3000)
libXpm.so.4 => /usr/X11R6/lib64/libXpm.so.4 (0x00002aaaaca08000)
libX11.so.6 => /usr/X11R6/lib64/libX11.so.6 (0x00002aaaacb1e000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1
(0x00002aaaacd2e000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00002aaaace6d000)
libpng12.so.0 => /usr/lib64/libpng12.so.0 (0x00002aaaacfe8000)
libXext.so.6 => /usr/X11R6/lib64/libXext.so.6 (0x00002aaaad122000)
libexpat.so.0 => /usr/lib64/libexpat.so.0 (0x00002aaaad233000)
-------------
inux:~/webgis/mapserver-4.10.1 # uname -a
Linux linux 2.6.13-15-smp #1 SMP Tue Sep 13 14:56:15 UTC 2005 x86_64 x86_64
x86_64 GNU/Linux
------------
linux:~/webgis/mapserver-4.10.1 # cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.20GHz
stepping : 3
--
Alessandro Pasotti
itOpen - "Open Solutions for the Net Age"
w3: www.itopen.it
Linux User# 167502
More information about the MapServer-users
mailing list