mapserver segfaults on x68_64 intel xeon

Alessandro Pasotti ale.pas at TISCALI.IT
Fri Mar 2 05:33:12 EST 2007


Il 11:11, venerdì 2 marzo 2007, Umberto Nicoletti ha scritto:
> Send us the stack trace (run the backtrace command from gdb) so that
> we can see what mapserver is doing when it crashed and report the
> configure flags.

Here is the configure command:

./configure \
 --libdir=/usr/lib64 \
 --with-wfs \
 --with-gd=/usr/lib64 \
 --with-wfsclient \
 --with-wmsclient \
 --with-proj=/usr/local/lib \
 --with-gdal=/usr/local/bin/gdal-config \
 --with-ogr=/usr/local/bin/gdal-config \
 --with-php=/usr/local/include/php \
 --with-httpd=/usr/sbin/httpd2 \
 --prefix=/usr/local

Here is the backtrace:

linux:~/webgis/mapserver-4.10.1 # gdb ./shp2img
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...Using host libthread_db 
library "/lib64/tls/libthread_db.so.1".

(gdb) set args -all_debug 9 -m /srv/www/htdocs_ssl/maps/appalto_26.map
(gdb) run
Starting program: /root/webgis/mapserver-4.10.1/shp2img -all_debug 
9 -m /srv/www/htdocs_ssl/maps/appalto_26.map
[Thread debugging using libthread_db enabled]
[New Thread 46912537641952 (LWP 24490)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912537641952 (LWP 24490)]
0x00002aaaac693e40 in rawmemchr () from /lib64/tls/libc.so.6
(gdb) backtrace
#0  0x00002aaaac693e40 in rawmemchr () from /lib64/tls/libc.so.6
#1  0x00002aaaac6882ba in _IO_str_init_static_internal () 
from /lib64/tls/libc.so.6
#2  0x00002aaaac67dd95 in vsscanf () from /lib64/tls/libc.so.6
#3  0x00002aaaac679488 in sscanf () from /lib64/tls/libc.so.6
#4  0x00002aaaab4fd7fc in OGRStyleTool::GetRGBFromString () 
from /usr/local/lib/libgdal.so.1
#5  0x0000000000423ee3 in msOGRLayerGetAutoStyle ()
#6  0x000000000042a804 in msDrawVectorLayer ()
#7  0x000000000042a959 in msDrawLayer ()
#8  0x000000000042b750 in msDrawMap ()
#9  0x000000000040a40c in main ()


Thanks for helping.

-- 
Alessandro Pasotti
itOpen - "Open Solutions for the Net Age"
w3:  www.itopen.it
Linux User# 167502



More information about the mapserver-users mailing list