[mapserver-users] MS 5.2.0 and QUERYMAP Hilite

Stephan Holl stephan.holl at intevation.de
Tue Nov 4 00:05:29 PST 2008


Hello Umberto,

"Umberto Nicoletti" <umberto.nicoletti at gmail.com>, [20081104 - 08:46:24]

> I was hit by the same bug:
> 
> when you specify hilite you MUST have a style section for each of your
> classes. The fix is therefore to add a style section to ALL of your
> classes.

You mean each of my classes of layers which are being queryable?

> 
> Failure to comply will cause the new agg code (I think the gd renderer
> is immune, but it needs to be checked) to dereference a null pointer.
> The problem also exists with cgi mapserver and is not only related to
> mapscript.

Ah, I am using the gd-rendering though.

Ugh, thank your for your hint. I was not aware of that. Did I overlook
this issue in the migration-guide?

Stephan


> On Mon, Nov 3, 2008 at 3:20 PM, Stephan Holl
> <stephan.holl at intevation.de> wrote:
> > Dear mapserver-users,
> >
> > I am updating a mapserver 4.1.0.3 app to mapserver 5.2.0 and found
> > the issue that the following mapfile-block produces a seg fault with
> > php-mapscript.
> >
> > QUERYMAP
> >  COLOR 0 255 255
> >  STATUS on
> >  STYLE hilite
> > END
> >
> > With mapserver 4.10.3 everything was fine. Is this a known issue?
> > Setting it the querymap to something else than STYLE 'hilite'
> > everything works normal.
> >
> > Did anybody run into this? I found a bug about another
> > hilite-stuff[1], but also the 5.2-branch from SVN has this
> > behaviour.
> >
> > Thanks for any comments on this.
> >
> > Best
> >
> >    Stephan
> >
> > --
> > Stephan Holl <stephan.holl at intevation.de>  | Tel.: +49 (0)541-33 50
> > 8 32 Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG Osnabrück -
> > HR B 18998 Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr.
> > Jan-Oliver Wagner
> >
> > _______________________________________________
> > mapserver-users mailing list
> > mapserver-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >


-- 
Stephan Holl <stephan.holl at intevation.de>  | Tel.: +49 (0)541-33 50 8 32
Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20081104/5f01fcaf/attachment.sig>


More information about the MapServer-users mailing list