Opened 21 years ago

Closed 15 years ago

#420 closed defect (worksforme)

itemnquery limitation

Reported by: tmelhuish@… Owned by: refractions
Priority: high Milestone:
Component: PostGIS Interface Version: 4.0
Severity: normal Keywords:
Cc: dblasby@…

Description

Daniel,

This is from the Postgis bug log. You request that we submit it to Mapserver 
Bugzilla.
++++++++++++++++++++++++++++++++++++++++++++++++
Hard to tell what's wrong without being able to run this in the 
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.

+++++++++++++++++++++++++++++++++++++++

Here is the mapserv command line:

http://192.168.119.25/cgi-bin/mapserv?
map=/var/www/html/mapserver/wc/WCms.map&MINX=2001272.875&MINY=643833.625&MAXX=2
156198.25&MAXY=771771.5625&mode=itemnquery&zoomsize=2&program=%2Fcgi-bin%
2Fmapserv&map_web_header=WCms_headerSch.html&map_web_footer=WCms_footerSch.html
&HeaderHtml=WCms_headerSch.html&FooterHtml=WCms_footerSch.html&map_web_imagepat
h=/var/www/html/tmp/&map_web_imageurl=/tmp/&qlayer=nodes&qitem=nodeid&qstring=%
22nodeid+in+%28413.0%2C430.0%2C431.0%2C432.0%2C433.0%2C434.0%2C436.1%2C450.0%
2C451.0%2C452.0%2C453.0%2C454.0%2C455.0%2C456.0%2C457.1%2C457.2%2C457.3%
2C457.4%2C458.1%2C458.2%2C434.7%2C434.6%2C434.5%2C459.0%2C434.4%2C434.3%
2C434.2%2C434.1%2C528.0%29%22&layer=gp_nodes&layer3=gp_nodes"

I installed Postgres 7.3.4, postgis 0.7.5 and the nightly CVS build of 
Mapserver. I'm running RH8.0 & Apache 2.0.40. David Blasby was not able to 
reproduce the problem and was running Apache 1.3. Somebody else was running 
Apache 2.0 and had the same problem as me.

I will send you the test.map, test.html, and the sql file to build the 
postgresql gis table directly to Daniel Morissette [morissette@dmsolutions.ca]

Hopefully you can reproduce the problem

Thanks,
Tom Melhuish

Change History (3)

comment:1 by dmorissette, 20 years ago

*** Bug 421 has been marked as a duplicate of this bug. ***

comment:2 by dmorissette, 20 years ago

Cc: morissette@… added
Tom, is this still an issue with the latest 4.1 (CVS)?

comment:3 by pramsey, 15 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.