[postgis-users] itemnquery limitation
Daniel Morissette
morissette at dmsolutions.ca
Mon Aug 25 14:29:39 PDT 2003
David Blasby wrote:
>
> Looks like the problem is in msReturnQuery(), msReturnPage(), or
> regcomp() - not in the postgis connector.
>
> DANIEL - do you see any reason why there would be a problem here?
>
Hard to tell what's wrong without being able to run this in tghe
debugger myself. The problem seems to appear here:
> #19 0x08057006 in msReturnPage (msObj=0x80c2008,
> html=0x1 <Address 0x1 out of bounds>, mode=0, papszBuffer=0x0)
> at maptemplate.c:2259
> #20 0x080577e7 in msReturnQuery (msObj=0x80c2008,
> pszMimeType=0x80a83d1 "text/html", papszBuffer=0x0) at
> maptemplate.c:2549
msReturnPage() is passed 'html=0x1' ... this should be the HTML
template, so it should be a pointer to a valid string buffer.
Since the line numbers don't match either the 4.0 or the 3.6.6 source I
couldn't tell exactly which call to msReturnPage() inside
msReturnQuery() fails (there are several calls). And anyway, even if
the problem manifests itself there, it is quite likely happening because
a layer or map object has been freed or corrupted somewhere else in the
code.
If you guys can package a reproduceable test case for this then perhaps
you can file it in the MapServer bugzilla and I can try to reproduce it.
Daniel
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
More information about the postgis-users
mailing list