Mapserver for Windows 2003 + FCGI + SDE

Frank Warmerdam fwarmerdam at GMAIL.COM
Tue Apr 12 13:08:23 EDT 2005


On Apr 12, 2005 12:15 PM, Mark Leslie <mark at refractions.net> wrote:
> I'm having trouble building mapserver on a Windows 2003 server with
> ArcSDE and fastcgi support. I can compile it, and it runs for a while,
> but I eventually get memory faults in msvcrt.dll and libfcgi.dll. I have
> tryed this with Mapservers 4.4, 4.4.1 and now 4.4.2. I've compiled using
> both vc6 and vc7. Two things that may be relevent: I'm using the
> precompiled gd binaries; the error stack does not seem to be clearing
> between requests. I was under the impression that the error stack issue
> had been taken care of around the 4.4 release.

Mark,

The error stack reset for FastCGI support is in MapServer 4.4.1.  It
is version 1.141.2.1 of mapserv.c (calls msResetErrorList() after
completing - or failing - an OWS request).

> This build has worked
> fine before on Win2000. If anyone has had similar problems, or has any
> ideas, I would appreciate it.

I don't know why you are running into problems on Win2003 that
didn't occur on Win2000.  I will say that the build process is complex
including the need to past the fastcgi client library (as noted in the
wiki) and care must be taken to build with MSVCRT.DLL.  I haven't
tried with VC7, but I think that would be imprudent.

I think the precompiled binaries for GD are fine as long as you
build with VC6 and /MD.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list