Ticket #1375 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

[PHP/MapScript] --enable-point-z-m cause segfault

Reported by: jlacroix Owned by: mapserverbugs
Priority: high Milestone:
Component: Build Problems Version: 4.5
Severity: normal Keywords:
Cc:

Description

On Mon, 6 Jun 2005, Nicol Hermann wrote:
> Hi List,
> i 'am trying to build a map from the scratch using php-mapscript and the
> lastest cvs version.
> Whenever i add a new layer with
> $Layer = ms_newLayerObj($map);
> I receive a segmentation fault.
> 
> gdb returns the following.
> Is this a bug?


On Tue, 7 Jun 2005, Nicol Hermann wrote:
> Hi Bill, Daniel, and all the others how replied
> 
> i could isolate my problem to a single config option.
> When i remove the flag:
> 
> '--enable-point-z-m'

Change History

Changed 8 years ago by jlacroix

  • status changed from new to closed
  • resolution set to fixed
It appeared that the USE_POINT_Z_M flag was not carried to the Mapscript
makefile. I fixed this by including this flag in ALL_ENABLE (used by
php/mapscript) and adding the flag to the java/mapscript makefile. I did not saw
other mapscript makefile that need that flag, but it really possible that I'm wrong.

Marking as FIXED.

Changed 8 years ago by mapserver@…

I tried the patch of Bill and the current cvs version with Julien's fix. Both
fixes the problem. Thank you very much for your help
Note: See TracTickets for help on using tickets.