<!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>
<DIV><FONT face=Arial size=2>Yes, it works!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># ./mapserv -v<BR>MapServer version 4.4.1 
OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF SUPPORTS=PROJ 
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER 
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER INPUT=EPPL7 INPUT=OGR INPUT=GDAL 
INPUT=SHAPEFILE DEBUG=MSDEBUG<BR># ./mapserv 
QUERY_STRING="test"<BR>Content-type: text/html</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial size=2>&lt;HTML&gt;<BR>&lt;HEAD&gt;&lt;TITLE&gt;MapServer 
Message&lt;/TITLE&gt;&lt;/HEAD&gt;<BR>&lt;!-- MapServer version 4.4.1 OUTPUT=GIF 
OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE 
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT 
SUPPORTS=WCS_SERVER INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE 
DEBUG=MSDEBUG --&gt;<BR>&lt;BODY BGCOLOR="#FFFFFF"&gt;<BR>loadMap(): Web 
application error. CGI variable "map" is not set. &lt;br&gt;<BR></FONT></DIV>
<DIV><FONT face=Arial size=2># ./mapserv 
QUERY_STRING="map=test"<BR>Content-type: text/html</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&lt;HTML&gt;<BR>&lt;HEAD&gt;&lt;TITLE&gt;MapServer 
Message&lt;/TITLE&gt;&lt;/HEAD&gt;<BR>&lt;!-- MapServer version 4.4.1 OUTPUT=GIF 
OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SWF SUPPORTS=PROJ SUPPORTS=FREETYPE 
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT 
SUPPORTS=WCS_SERVER INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE 
DEBUG=MSDEBUG --&gt;<BR>&lt;BODY BGCOLOR="#FFFFFF"&gt;<BR>msEvalRegex(): Regular 
expression error. String (test) failed expression test. 
&lt;br&gt;<BR>&lt;/BODY&gt;&lt;/HTML&gt;</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>./mapserv 
QUERY_STRING="map=test.map"<BR>Segmentation fault<BR></DIV></FONT><FONT 
face=Arial size=2></FONT>
<DIV><FONT face=Arial size=2>Also tried to copy the mapserv executable together 
with a few libraries that it required on another Slackware 10 machine an got the 
same errors.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>----- Original Message ----- 
<DIV>From: "Camden Daily" &lt;<A 
href="mailto:cdaily@GMAIL.COM">cdaily@GMAIL.COM</A>&gt;</DIV>
<DIV>To: &lt;<A 
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A>&gt;</DIV>
<DIV>Sent: Wednesday, January 12, 2005 6:00 PM</DIV>
<DIV>Subject: Re: [UMN_MAPSERVER-USERS] Mapserver Crash</DIV></DIV>
<DIV><FONT face=Arial size=2></FONT><BR></DIV>&gt; Does mapserver work without a 
file argument, such as './mapserv -v'?<BR>&gt; <BR>&gt; <BR>&gt; On Wed, 12 Jan 
2005 17:23:55 +0200, Constantin Cristian<BR>&gt; 
&lt;constantin.a.cristian@gmail.com&gt; wrote:<BR>&gt;&gt;<BR>&gt;&gt; 
Hello,<BR>&gt;&gt; I'm kind of new to Mapserver and i have the folowing 
problem:<BR>&gt;&gt; -I am building Mapserver 4.4.1 on a Slackware 10 machine, 
with<BR>&gt;&gt; ./configure --enable-debug --with-eppl 
--with-proj=/usr/local<BR>&gt;&gt; --with-ogr=/usr/local/bin/gdal-config 
--with-wfs --with-wcs --with-wmsclient<BR>&gt;&gt; --with-wfsclient 
--with-gdal=/usr/local/bin/gdal-config --with-mygis=yes<BR>&gt;&gt; 
--with-php=/root/wms/php/php-4.3.7<BR>&gt;&gt; 
--with-php-regex-dir=/root/wms/php/php-4.3.7/regex<BR>&gt;&gt; 
--with-fastcgi=/root/wms/mod_fastcgi-2.4.2<BR>&gt;&gt; 
--with-ming=/root/wms/ming-0.3beta1/src<BR>&gt;&gt; 
--with-httpd=/usr/local/apache2/bin/httpd (<BR>&gt;&gt; I don't have any 
problems here)<BR>&gt;&gt;<BR>&gt;&gt; -after that i run make&nbsp; 
(<BR>&gt;&gt; I don't have any problems here except some warning concerning 
ming)<BR>&gt;&gt;<BR>&gt;&gt; -the mapserv executable is 
built<BR>&gt;&gt;<BR>&gt;&gt; -now the problem begins: when i run # 
./mapserv<BR>&gt;&gt; 
QUERY_STRING="map=/usr/local/apache2/htdocs/workshop/itasca.map"<BR>&gt;&gt; and 
i get "Segmentation fault", i should mention that this file exists 
but<BR>&gt;&gt; that does not mater the crash hapens whenever I set the variable 
map is set<BR>&gt;&gt; and does<BR>&gt;&gt; not matter if the file exists or 
not<BR>&gt;&gt; #./mapserv QUERY_STRING="map=twtrewa.map"<BR>&gt;&gt; 
Segmentation fault<BR>&gt;&gt;<BR>&gt;&gt; Here is more info:<BR>&gt;&gt; # gdb 
./mapserv<BR>&gt;&gt; GNU gdb 6.1.1<BR>&gt;&gt; Copyright 2004 Free Software 
Foundation, Inc.<BR>&gt;&gt; GDB is free software, covered by the GNU General 
Public License, and you are<BR>&gt;&gt; welcome to change it and/or distribute 
copies of it under certain<BR>&gt;&gt; conditions.<BR>&gt;&gt; Type "show 
copying" to see the conditions.<BR>&gt;&gt; There is absolutely no warranty for 
GDB.&nbsp; Type "show warranty" for details.<BR>&gt;&gt; This GDB was configured 
as "i486-slackware-linux"...Using host libthread_db<BR>&gt;&gt; library 
"/lib/libthread_db.so.1".<BR>&gt;&gt;<BR>&gt;&gt; (gdb)set args<BR>&gt;&gt; 
QUERY_STRING="map=/usr/local/apache2/htdocs/workshop/itasca.map"<BR>&gt;&gt; 
(gdb) set verbose 1<BR>&gt;&gt; (gdb) run<BR>&gt;&gt; Starting program: 
/root/wms/mapserver-4.4.1/mapserv<BR>&gt;&gt; 
QUERY_STRING="map=/usr/local/apache2/htdocs/workshop/itasca.map"<BR>&gt;&gt;<BR>&gt;&gt; 
Reading symbols from /usr/local/lib/libgd.so.2...done.<BR>&gt;&gt; Reading 
symbols from /usr/lib/libjpeg.so.62...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/libfreetype.so.6...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/libpng.so.3...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/libz.so.1...done.<BR>&gt;&gt; Reading symbols from 
/usr/local/lib/libXpm.so.4...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/libX11.so.6...done.<BR>&gt;&gt; Reading symbols from 
/usr/local/lib/libproj.so.0...done.<BR>&gt;&gt; Reading symbols from 
/usr/local/lib/libgdal.so.1...done.<BR>&gt;&gt; Reading symbols from 
/usr/local/lib/libming.so...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/libcurl.so.3...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/libssl.so.0...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/libcrypto.so.0...done.<BR>&gt;&gt; Reading symbols from 
/lib/libdl.so.2...done.<BR>&gt;&gt; Reading symbols from 
/lib/libc.so.6...done.<BR>&gt;&gt; Reading symbols from 
/lib/libm.so.6...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/libstdc++.so.5...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/libgcc_s.so.1...done.<BR>&gt;&gt; Reading symbols from 
/usr/X11R6/lib/libfontconfig.so.1...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/libpng12.so.0...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/./libungif.so.4...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/./libtiff.so.3...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/mysql/libmysqlclient.so.12...done.<BR>&gt;&gt; Reading symbols from 
/lib/libcrypt.so.1...done.<BR>&gt;&gt; Reading symbols from 
/lib/libnsl.so.1...done.<BR>&gt;&gt; Reading symbols from 
/lib/ld-linux.so.2...done.<BR>&gt;&gt; Reading symbols from 
/usr/lib/libexpat.so.0...done.<BR>&gt;&gt;<BR>&gt;&gt; Program received signal 
SIGSEGV, Segmentation fault.<BR>&gt;&gt; 0x0806735b in loadMapInternal 
(<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; filename=0x8101f38 
"/usr/local/apache2/htdocs/workshop/itasca.map",<BR>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; 
new_mappath=0x0) at mapfile.c:4173<BR>&gt;&gt; 
4173&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if((msyyin = fopen(filename,"r")) == NULL) 
{<BR>&gt;&gt; (gdb)<BR>&gt;&gt;<BR>&gt;&gt; I don't know why mapserv does not 
like the fopen function i tried to build a<BR>&gt;&gt; small program using fopen 
and i got no problem, it seams to me to be a<BR>&gt;&gt; Mapserver 
problem.<BR>&gt;&gt;<BR>&gt;&gt; Please help me and excuse my 
english:)</BODY></HTML>