[UMN_MAPSERVER-USERS] Mapserver demo crash
matthew.garrish at SYMPATICO.CA
Fri Aug 26 17:04:53 EDT 2005
I've had slightly better luck with Win2k, but still can't get the
demo running. When I try to initialize the demo, filemon shows that
mapserv.exe is reporting success reading
then immediately calls Dr. Watson to generate an event in the
application log and promptly times out. The error reported is as
Event Type: Information
Event Source: DrWatson
Event Category: None
Event ID: 4097
Time: 4:32:48 PM
The application, , generated an application error The error occurred on 08/03/2005 @ 16:32:48.859 The exception generated was c0000005 at address 77F8F281 (RtlpWaitForCriticalSection)
The only other suspicious thing I see is that before trying to open ctyhwy.png mapserv.exe tries and fails to open the location c:\usr\local\lib - which I assume is hard-coded into the executable, because I can't find that path anywhere in the demo files.
Does anyone know if the demo is backward compatible with older versions of mapserver? I'm running the 4.4.1 Windows binary, but grabbed the demo from the 4.6 release.
> From: "Fortin,Nicolas [SteFoy]" <nicolas.fortin at ec.gc.ca>
> Date: 2005/08/26 Fri AM 11:43:40 EST
> To: <matthew.garrish at SYMPATICO.CA>,
> <MAPSERVER-USERS at LISTS.UMN.EDU>
> Subject: RE : [UMN_MAPSERVER-USERS] Mapserver demo crash
> I didn't follow all the conversation but as a windows user, I can tell you that 90% of the problem with mapserver and IIS come from permission problem. Run filemon (http://www.sysinternals.com/Utilities/Filemon.html) while loading the page and check the result to see if there's any ACCESS DENIED or suspicious FILE NOT FOUND.
> Hope this helps
> Nicolas Fortin
> -----Message d'origine-----
> De : UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] De la part de Matt Garrish
> Envoyé : 26 août 2005 11:36
> À : MAPSERVER-USERS at LISTS.UMN.EDU
> Objet : Re: [UMN_MAPSERVER-USERS] Mapserver demo crash
> It only dies in IIS when I run the demo (so far, anyway). I am, for example, able to run the "Hello World" example on the recipes page (http://www.mobilegeographics.com/mapserver/). Aside from the parameters that get passed from the index.html page (reproduced below), I've set the following in the itasca.map file:
> SHAPEPATH "c:/inetpub/wwwroot/workshop/data"
> WMS_ONLINERESOURCE "http://localhost/workshop/index.html"
> I'm going to try running the example on a win2k box and see if it's something specific to XP (I've tried a couple of different XP boxes with the same result).
> > From: Ethan Alpert <ealpert at DIGITALGLOBE.COM>
> > Date: 2005/08/26 Fri AM 10:48:00 EST
> > To: MAPSERVER-USERS at LISTS.UMN.EDU
> > Subject: Re: [UMN_MAPSERVER-USERS] Mapserver demo crash
> > I'm not a windows user but the most common problem when mapserv runs
> > fine at the command line but dies running in the webserver space is it
> > can't find one or more shared library. Check the IIS's equivalent of
> > LD_SEARCH_PATH.
> > -e
> > -----Original Message-----
> > From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]
> > On Behalf Of Matt Garrish
> > Sent: Friday, August 26, 2005 7:41 AM
> > To: MAPSERVER-USERS at LISTS.UMN.EDU
> > Subject: [UMN_MAPSERVER-USERS] Mapserver demo crash
> > I'm just getting started with mapserver and was hoping to be able to
> > play around with the demo (http://mapserver.gis.umn.edu/dload.html).
> > I'm reasonably certain that my system (XP Pro SP2) is configured
> > correctly, because I can run some of the other simple examples I've
> > found on the Mapserver home page (I downloaded the 4.4.1 binary and
> > set it up according
> > to the readme file). When I tried to run the demo (from the index.html
> > page), however, IIS crashed with a 502 error, so I went to the command
> > line
> > and tried the following:
> > C:\Inetpub\Scripts>mapserv
> > "QUERY_STRING=map=c:/inetpub/wwwroot/workshop/itasca.
> > map&layer=lakespy2&layer=dlgstln2&zoomsize=1&program=http://localhost/cg
> > i-bin/ma
> > pserv.exe&root=http://localhost/workshop&map_web_imagepath=c:/inetpub/ww
> > wroot/tm
> > p&map_web_imageurl=http://localhost/tmp&map_web_template=itasca_basic.ht
> > ml"
> > As soon as I run the command, however, an error window pops up with
> > the
> > following error signature:
> > AppName: mapserv.exe AppVer: 0.0.0.0 ModName: ntdll.dll
> > ModVer: 5.1.2600.2180 Offset: 00018fea
> > which I have to assume is the cause of the 502 error.
> > Has anyone run into this problem before? Or know what the cause might
> > be? Or know if I'm just doing something wrong? (If you don't have XP
> > or can't reproduce the problem I can post the stack dump.)
> > Thanks in advance,
> > Matt
More information about the mapserver-users