<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm kind of new to Mapserver&nbsp;and i have the 
folowing problem:</FONT></DIV>
<DIV><FONT face=Arial size=2>-I am building Mapserver 4.4.1 on a Slackware 10 
machine, with</FONT></DIV>
<DIV><FONT face=Arial size=2>./configure --enable-debug --with-eppl 
--with-proj=/usr/local --with-ogr=/usr/local/bin/gdal-config --with-wfs 
--with-wcs --with-wmsclient --with-wfsclient 
--with-gdal=/usr/local/bin/gdal-config --with-mygis=yes 
--with-php=/root/wms/php/php-4.3.7 
--with-php-regex-dir=/root/wms/php/php-4.3.7/regex 
--with-fastcgi=/root/wms/mod_fastcgi-2.4.2 
--with-ming=/root/wms/ming-0.3beta1/src 
--with-httpd=/usr/local/apache2/bin/httpd (<STRONG>I don't have any problems 
here</STRONG>)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>-after that i run make&nbsp; (<STRONG>I don't have 
any problems here except some warning concerning ming</STRONG>)
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>-the mapserv executable is built</DIV>
<DIV>&nbsp;</DIV>
<DIV>-now the problem begins: when i run # ./mapserv 
QUERY_STRING="map=/usr/local/apache2/htdocs/workshop/itasca.map"<BR>and i get 
"Segmentation fault", i should mention that this file exists but that does not 
mater the crash hapens whenever I set the variable map is set and does</DIV>
<DIV>not matter if the file exists or not </DIV>
<DIV>#./mapserv QUERY_STRING="map=twtrewa.map"</DIV>
<DIV>Segmentation fault<BR></DIV>
<DIV>Here is more info:</DIV>
<DIV><FONT face="Arial Narrow"># gdb ./mapserv<BR>GNU gdb 6.1.1<BR>Copyright 
2004 Free Software Foundation, Inc.<BR>GDB is free software, covered by the GNU 
General Public License, and you are<BR>welcome to change it and/or distribute 
copies of it under certain conditions.<BR>Type "show copying" to see the 
conditions.<BR>There is absolutely no warranty for GDB.&nbsp; Type "show 
warranty" for details.<BR>This GDB was configured as 
"i486-slackware-linux"...Using host libthread_db library 
"/lib/libthread_db.so.1".</FONT></DIV>
<DIV><FONT face="Arial Narrow"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Narrow">(gdb)set args 
QUERY_STRING="map=/usr/local/apache2/htdocs/workshop/itasca.map"</FONT></DIV>
<DIV><FONT face="Arial Narrow">(gdb) set verbose 1<BR>(gdb) run<BR>Starting 
program: /root/wms/mapserver-4.4.1/mapserv 
QUERY_STRING="map=/usr/local/apache2/htdocs/workshop/itasca.map"</FONT></DIV>
<DIV><FONT face="Arial Narrow"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Narrow">Reading symbols from 
/usr/local/lib/libgd.so.2...done.<BR>Reading symbols from 
/usr/lib/libjpeg.so.62...done.<BR>Reading symbols from 
/usr/lib/libfreetype.so.6...done.<BR>Reading symbols from 
/usr/lib/libpng.so.3...done.<BR>Reading symbols from 
/usr/lib/libz.so.1...done.<BR>Reading symbols from 
/usr/local/lib/libXpm.so.4...done.<BR>Reading symbols from 
/usr/lib/libX11.so.6...done.<BR>Reading symbols from /<FONT 
face=Arial>usr</FONT>/local/lib/libproj.so.0...done.<BR>Reading symbols from 
/usr/local/lib/libgdal.so.1...done.<BR>Reading symbols from 
/usr/local/lib/libming.so...done.<BR>Reading symbols from 
/usr/lib/libcurl.so.3...done.<BR>Reading symbols from 
/usr/lib/libssl.so.0...done.<BR>Reading symbols from 
/usr/lib/libcrypto.so.0...done.<BR>Reading symbols from 
/lib/libdl.so.2...done.<BR>Reading symbols from 
/lib/libc.so.6...done.<BR>Reading symbols from /lib/libm.so.6...done.<BR>Reading 
symbols from /usr/lib/libstdc++.so.5...done.<BR>Reading symbols from 
/usr/lib/libgcc_s.so.1...done.<BR>Reading symbols from 
/usr/X11R6/lib/libfontconfig.so.1...done.<BR>Reading symbols from 
/usr/lib/libpng12.so.0...done.<BR>Reading symbols from 
/usr/lib/./libungif.so.4...done.<BR>Reading symbols from 
/usr/lib/./libtiff.so.3...done.<BR>Reading symbols from 
/usr/lib/mysql/libmysqlclient.so.12...done.<BR>Reading symbols from 
/lib/libcrypt.so.1...done.<BR>Reading symbols from 
/lib/libnsl.so.1...done.<BR>Reading symbols from 
/lib/ld-linux.so.2...done.<BR>Reading symbols from 
/usr/lib/libexpat.so.0...done.</FONT></DIV>
<DIV><FONT face="Arial Narrow"></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial Narrow">Program received signal SIGSEGV, Segmentation 
fault.<BR>0x0806735b in loadMapInternal (<BR>&nbsp;&nbsp;&nbsp; 
filename=0x8101f38 
"/usr/local/apache2/htdocs/workshop/itasca.map",<BR>&nbsp;&nbsp;&nbsp; 
new_mappath=0x0) at mapfile.c:4173<BR>4173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if((msyyin = fopen(filename,"r")) == NULL) {<BR>(gdb)</FONT><BR></DIV>
<DIV>I don't know why mapserv does not like the fopen function i tried to build 
a small program using fopen and i got no problem, it seams to me to be a 
Mapserver problem.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please help me and excuse my english:)</DIV></FONT></DIV></BODY></HTML>