[Mapserver-users] Signal 10 (junk pointer)

Toomas Aas toomas.aas at raad.tartu.ee
Sat Dec 6 11:40:57 EST 2003


Hello!

Yesterday, I upgraded from Mapserver 3.6.6 to 4.0.1. Today when I 
checked my server logs, there were a lot (several dozens) of messages 
like this in /var/log/messages:

Dec  6 17:55:09 mail /kernel: pid 8492 (mapserv), uid 80: exited on
signal 10

At the same time, the following gets logged to Apache error log:

mapserv in realloc(): warning: junk pointer, too high to make sense 
[Sat Dec  6 17:55:09 2003] [error] [client 195.80.104.60] Premature end 
of script headers: /usr/local/www/cgi-bin/mapserv

Where can the problem most probably be? Somewhere in our Mapserver 
applications, the way I built Mapserver or in Mapserver itself?

The server is FreeBSD 4.8-RELEASE-p13 running Apache 1.3.28 and, as 
said, Mapserver 4.0.1:

# /usr/local/www/cgi-bin/mapserv -v
MapServer version 4.0.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER INPUT=TIFF
INPUT=EPPL7 INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

Mapserver was configured like this:
./configure \
 --with-jpeg=/usr/local \
 --with-freetype=/usr/local/bin/freetype-config \
 --with-gd=/usr/local \
 --with-png=/usr/local \
 --with-tiff=/usr/local \
 --with-eppl \
 --with-proj=/usr/local \
 --with-ogr=/usr/ports/graphics/gdal/work/gdal-1.1.8/ogr \
 --with-gdal=/usr/local/bin/gdal-config \
 --with-php=/usr/ports/lang/php4/work/php-4.3.4
--
Toomas Aas | toomas.aas at raad.tartu.ee | http://www.raad.tartu.ee/~toomas/
* No, `Eureka' is Greek for `This bath is too hot.'




More information about the mapserver-users mailing list