[mapserver-users] MS 5.2.0 and QUERYMAP Hilite

Umberto Nicoletti umberto.nicoletti at gmail.com
Tue Nov 4 02:46:24 EST 2008


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.

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.

Umberto

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
>
>


More information about the mapserver-users mailing list