[mapserver-users] Apache crash using Mapserver with big mapfile (about 2500 lines)

Edgardo Ghibaudo edgardo.ghibaudo at provincia.biella.it
Thu May 7 05:31:00 EDT 2009


Dear users,
 
I’m using the following environment:
Ubuntu 6.06 (libc6 2.3.6)
Apache 2.2.9
Php 4.4.2
Mapserver 4.8.2
Maplab 2.2.1 (last available version)
 
Using a project inside Maplab/gmapfactory with a big mapfile (about 2500 lines) the httpd process of Apache crash.
Enclosed you can find the details of the crash (Backtrace).
Apache compilation details:
./configure --prefix=/usr/local/apache229 --enable-info --enable-mime-magic --enable-rewrite --enable-so --enable-speling --enable-unique_id --enable-usertrack --with-mpm=prefork
PHP compilation details:
./configure --enable-kbmmw --with-regex=system --with-freetype --with-dbase --prefix=/usr/local/apache229/php --with-mysql=/usr/local/mysql4115 --with-pgsql=shared,/usr/local/pgsql8014 --with-pdflib=shared,/usr/local/pdflite703 --with-config-file-path=/usr/local/apache229/php --with-png --with-jpeg --with-jpeg-dir=/usr/local --with-tiff --with-gd --with-zlib --enable-track-vars --enable-sockets --enable-wddx=shared --with-xmlrpc=shared --enable-calendar --with-iconv=/usr/local/libiconv112 --with-iconv-dir=/usr/local/libiconv112 --with-apxs2=/usr/local/apache229/bin/apxs --enable-cgi
Mapserver compilation details:
./configure --enable-debug --with-proj=/usr/local --with-ogr=/usr/local/bin/gdal-config --with-gdal=/usr/local/bin/gdal-config --with-gd --with-httpd=/usr/local/apache229/bin/httpd --with-php=/usr/local/apache229/php --with-php-regex-dir=/usr/local/apache229/php/regex --enable-runpath --enable-force-freetype1 --with-wmsclient --with-freetype --with-png=/usr/local --with-jpeg=/usr/local --with-libiconv=/usr/local --with-wfs --with-wfsclient --with-postgis=/usr/local/pgsql8014/bin/pg_config
 
I tried to upgrade the OS version (Ubuntu 7.04 – libc6 2.5.0), but the result doesn’t change.
I tried also to compile different SW versions (Apache 1.3.41, Php 4.4.9, Mapserver 4.8.3 & 4.8.4), but the result doesn’t change
 
Many thanks,
Edgardo 
 
*** glibc detected *** /usr/local/apache229/bin/httpd: free(): invalid next size (fast): 0x087bdf40 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7d7b7cd]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7d7ee30]
/usr/local/apache229/php/extensions/php_mapscript_44.so(msFreeShape+0x35)[0xb7814de5]
/usr/local/apache229/php/extensions/php_mapscript_44.so(msDrawVectorLayer+0x336)[0xb7828ca6]
/usr/local/apache229/php/extensions/php_mapscript_44.so(msDrawLayer+0xaa)[0xb7828faa]
/usr/local/apache229/php/extensions/php_mapscript_44.so(msDrawMap+0x5d3)[0xb7829f33]
/usr/local/apache229/php/extensions/php_mapscript_44.so(mapObj_draw+0x1d)[0xb77e34dd]
/usr/local/apache229/php/extensions/php_mapscript_44.so(php3_ms_map_draw+0x6c)[0xb77db65c]
/usr/local/apache229/modules/libphp4.so(execute+0x6b43)[0xb7c7d943]
/usr/local/apache229/modules/libphp4.so(zend_execute_scripts+0xde)[0xb7c674fe]
/usr/local/apache229/modules/libphp4.so(php_execute_script+0x316)[0xb7c3b006]
/usr/local/apache229/modules/libphp4.so[0xb7c8171b]
/usr/local/apache229/bin/httpd(ap_run_handler+0x59)[0x807b1b9]
/usr/local/apache229/bin/httpd(ap_invoke_handler+0x67)[0x807e447]
/usr/local/apache229/bin/httpd(ap_process_request+0x178)[0x8098af8]
/usr/local/apache229/bin/httpd[0x8095d9b]
/usr/local/apache229/bin/httpd(ap_run_process_connection+0x59)[0x8082539]
/usr/local/apache229/bin/httpd[0x80b68f5]
/usr/local/apache229/bin/httpd[0x80b6bb7]
/usr/local/apache229/bin/httpd(ap_mpm_run+0x880)[0x80b7510]
/usr/local/apache229/bin/httpd(main+0x865)[0x8068ae5]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7d29ebc]
/usr/local/apache229/bin/httpd(apr_os_proc_mutex_put+0x5d)[0x8067ca1]
 
 

--http://www.provincia.biella.it------------------------------------------------------

Vuoi rimanere sempre aggiornato sulle nostre attivita'? 
Visita la pagina dei feed RSS sul nostro sito ed  iscriviti alla sezione di interesse.

--Avviso------------------------------------------------------------------------------
Questo messaggio e i suoi allegati sono riservati esclusivamente  alle persone in 
indirizzo e possono contenere informazioni confidenziali. Se questo  messaggio  vi  e' 
pervenuto per errore, vi informiamo  che ogni suo uso e'proibito. 
In  questo   caso  rispedite immediatamente il messaggio al mittente e cancellatelo. 
Per ogni  chiarimento contattateci scrivendo  a ced at provincia.biella.it. 
Grazie -Il Webmaster.
--Warning-----------------------------------------------------------------------------
This message and its attachments are addressed solely to  the persons above and may 
contain confidential information. If you have received the message in error, be  
informed that any use of the content hereof is prohibited.
Please return it  immediately  to the sender and  delete the message. Should you have 
any questions, please  contact us by replying to ced at provincia.biella.it. 
The Webmaster.
--------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090507/07408774/attachment.html


More information about the mapserver-users mailing list