mapserver segfaults on x68_64 intel xeon

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Fri Mar 2 07:46:33 PST 2007


Did you reconfigure with --enable-debug?

After that run shp2img in gdb (or xxgdb if it still exists) and put a
breakpoint in msOGRLayerGetAutoStyle. Then proceed with the step
instruction until it crashes. You should be able to inspect the local
variables and see what values were passed to GetRGBFromString.

Umberto


On 3/2/07, Alessandro Pasotti <ale.pas at tiscali.it> wrote:
> Il 08:29, venerdì 2 marzo 2007, Alessandro Pasotti ha scritto:
> > Hello,
> >
> > I've compiled latest mapserver and all dependencies (gdal, proj, geos etc.)
> > from scratches on a 64bit linux machine, build process went fine, but the
> > resulting executable segfaults (the mapfile is ok, tested on other
> > machines):
>
> Some more information:
>
>
> gdb) backtrace
> #0  0x00002aaaac693e40 in rawmemchr () from /lib64/tls/libc.so.6
> #1  0x00002aaaac6882ba in _IO_str_init_static_internal ()
> from /lib64/tls/libc.so.6
> #2  0x00002aaaac67dd95 in vsscanf () from /lib64/tls/libc.so.6
> #3  0x00002aaaac679488 in sscanf () from /lib64/tls/libc.so.6
> #4  0x00002aaaab4fd7fc in OGRStyleTool::GetRGBFromString ()
> from /usr/local/lib/libgdal.so.1
> #5  0x0000000000423ee3 in msOGRLayerGetAutoStyle ()
> #6  0x000000000042a804 in msDrawVectorLayer ()
> #7  0x000000000042a959 in msDrawLayer ()
> #8  0x000000000042b750 in msDrawMap ()
> #9  0x000000000040a40c in main ()
>
> --
> Alessandro Pasotti
> itOpen - "Open Solutions for the Net Age"
> w3:  www.itopen.it
> Linux User# 167502
>



More information about the MapServer-users mailing list