<!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> </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> </DIV></FONT>
<DIV><FONT face=Arial size=2><HTML><BR><HEAD><TITLE>MapServer
Message</TITLE></HEAD><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><BODY BGCOLOR="#FFFFFF"><BR>loadMap(): Web
application error. CGI variable "map" is not set. <br><BR></FONT></DIV>
<DIV><FONT face=Arial size=2># ./mapserv
QUERY_STRING="map=test"<BR>Content-type: text/html</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2><HTML><BR><HEAD><TITLE>MapServer
Message</TITLE></HEAD><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><BODY BGCOLOR="#FFFFFF"><BR>msEvalRegex(): Regular
expression error. String (test) failed expression test.
<br><BR></BODY></HTML></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </DIV>
<DIV>----- Original Message -----
<DIV>From: "Camden Daily" <<A
href="mailto:cdaily@GMAIL.COM">cdaily@GMAIL.COM</A>></DIV>
<DIV>To: <<A
href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU">MAPSERVER-USERS@LISTS.UMN.EDU</A>></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>> Does mapserver work without a
file argument, such as './mapserv -v'?<BR>> <BR>> <BR>> On Wed, 12 Jan
2005 17:23:55 +0200, Constantin Cristian<BR>>
<constantin.a.cristian@gmail.com> wrote:<BR>>><BR>>>
Hello,<BR>>> I'm kind of new to Mapserver and i have the folowing
problem:<BR>>> -I am building Mapserver 4.4.1 on a Slackware 10 machine,
with<BR>>> ./configure --enable-debug --with-eppl
--with-proj=/usr/local<BR>>> --with-ogr=/usr/local/bin/gdal-config
--with-wfs --with-wcs --with-wmsclient<BR>>> --with-wfsclient
--with-gdal=/usr/local/bin/gdal-config --with-mygis=yes<BR>>>
--with-php=/root/wms/php/php-4.3.7<BR>>>
--with-php-regex-dir=/root/wms/php/php-4.3.7/regex<BR>>>
--with-fastcgi=/root/wms/mod_fastcgi-2.4.2<BR>>>
--with-ming=/root/wms/ming-0.3beta1/src<BR>>>
--with-httpd=/usr/local/apache2/bin/httpd (<BR>>> I don't have any
problems here)<BR>>><BR>>> -after that i run make
(<BR>>> I don't have any problems here except some warning concerning
ming)<BR>>><BR>>> -the mapserv executable is
built<BR>>><BR>>> -now the problem begins: when i run #
./mapserv<BR>>>
QUERY_STRING="map=/usr/local/apache2/htdocs/workshop/itasca.map"<BR>>> and
i get "Segmentation fault", i should mention that this file exists
but<BR>>> that does not mater the crash hapens whenever I set the variable
map is set<BR>>> and does<BR>>> not matter if the file exists or
not<BR>>> #./mapserv QUERY_STRING="map=twtrewa.map"<BR>>>
Segmentation fault<BR>>><BR>>> Here is more info:<BR>>> # 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<BR>>> conditions.<BR>>> Type "show
copying" to see the conditions.<BR>>> There is absolutely no warranty for
GDB. Type "show warranty" for details.<BR>>> This GDB was configured
as "i486-slackware-linux"...Using host libthread_db<BR>>> library
"/lib/libthread_db.so.1".<BR>>><BR>>> (gdb)set args<BR>>>
QUERY_STRING="map=/usr/local/apache2/htdocs/workshop/itasca.map"<BR>>>
(gdb) set verbose 1<BR>>> (gdb) run<BR>>> Starting program:
/root/wms/mapserver-4.4.1/mapserv<BR>>>
QUERY_STRING="map=/usr/local/apache2/htdocs/workshop/itasca.map"<BR>>><BR>>>
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
/usr/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.<BR>>><BR>>> Program received signal
SIGSEGV, Segmentation fault.<BR>>> 0x0806735b in loadMapInternal
(<BR>>> filename=0x8101f38
"/usr/local/apache2/htdocs/workshop/itasca.map",<BR>>>
new_mappath=0x0) at mapfile.c:4173<BR>>>
4173 if((msyyin = fopen(filename,"r")) == NULL)
{<BR>>> (gdb)<BR>>><BR>>> I don't know why mapserv does not
like the fopen function i tried to build a<BR>>> small program using fopen
and i got no problem, it seams to me to be a<BR>>> Mapserver
problem.<BR>>><BR>>> Please help me and excuse my
english:)</BODY></HTML>