shp2img: free(): invalid next size
Ryan Ollerenshaw
ryanollerenshaw at GMAIL.COM
Tue Oct 23 17:22:17 PDT 2007
On 10/23/07, Ryan Ollerenshaw <ryanollerenshaw at gmail.com> wrote:
> On 10/23/07, Kyle Wilcox <Kyle.Wilcox at noaa.gov> wrote:
> > Are you compiling 4.10 the same way you did 4.8.3? Same GD/OGR?
>
> Yes, everything in my configure command is the same.
>
Here is my configure command:
./configure --with-proj --enable-runpath --with-geos --with-ogr
if i remove --with-ogr support shp2img works, but i need ogr support
so i can set up my WFS. Any ideas on why ogr is causing this memory
error. I have tried installing gdal version 1.4.0, 1.4.1, and 1.4.2
and they all seem to have the same problem.
> > Ryan Ollerenshaw wrote:
> > > During my Mapserver install i get an error that says unable to
> > > location ogr_api.h in map.h so i then have to go in and edit map.h to
> > > specify the location of ogr_api.h by hand. Then on the next run of
> > > make i get the error unable to locate cpl_minixml.h in mapogcsld.h so
> > > i then have to add the path to cpl_minixml.h in mapogcsld.h by hand as
> > > well. After this the make seems to run fine, except for the warnings:
> > >
> > > php_mapscript.c: In function ‘php3_ms_img_pasteImage’:
> > > php_mapscript.c:6320: warning: implicit declaration of function
> > > ‘php_gd_gdImageColorExact’
> > > php_mapscript.c:6324: warning: implicit declaration of function
> > > ‘php_gd_gdImageColorTransparent’
> > > php_mapscript.c:6327: warning: implicit declaration of function
> > > ‘php_gd_gdImageCopy’
> > >
> > > after the make is complete when i try to run shp2img i get the error:
> > >
> > > *** glibc detected *** ./shp2img: free(): invalid next size (fast):
> > > 0x08564e00 ***
> > > ======= Backtrace: =========
> > > /lib/i686/nosegneg/libc.so.6[0x1ee2c8d]
> > > /lib/i686/nosegneg/libc.so.6(cfree+0x90)[0x1ee6340]
> > > ......
> > > ......
> > >
> > > I am trying to install Mapserver 4.10.3 on fedora core 6. I have
> > > Mapserver 4.8.4 installed and running just fine but i need the WMS
> > > time Support that was added in 4.9 and up, so i need this new install
> > > to work. Any ideas on what has changed between versions 4.8 and 4.10
> > > that would cause these errors?
> >
> > --
> >
> > Kyle Wilcox
> > NOAA Chesapeake Bay Office
> > 410 Severn Avenue
> > Suite 107A
> > Annapolis, MD 21403
> > office: (410) 295-3151
> > Kyle.Wilcox at noaa.gov
> >
> > "It is from the wellspring of our despair and the places
> > that we are broken that we come to repair the world."
> > - Murray Waas
> >
>
More information about the MapServer-users
mailing list