Possible infinite loop

Steve Lime steve.lime at DNR.STATE.MN.US
Wed Feb 9 21:45:35 EST 2005


I need to see the mapfile to really address the problem. It's possible
that REQUIRES is not being properly used and I'm not catching that
particular case. The function can recurse when trying to detect
relationships between layers, so that's ok.

So Jan, if you would send me the mapfile that would help.

Steve

>>> Daniel Morissette <dmorissette at DMSOLUTIONS.CA> 02/09/05 5:28 PM >>>
Jan Singer wrote:
>
> I found out that the function msEvalContext() in maputil.c calls the
> msLayerIsVisible() in mapdraw.c, which itself calls msEvalContext()
> again under circumstances - which I had with my mapfile.
>

I remember that there was a bug about a similar issue that Steve fixed
just before the 4.4 release:
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1059

I don't know if what you ran into is the same problem or or just another
instance of the same thing elsewhere in the code, I guess I'll let Steve
comment on that.

Daniel
--
------------------------------------------------------------
  Daniel Morissette               dmorissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------



More information about the mapserver-dev mailing list