[Mapserver-users] nightly shp2pdf segfaults on truetype fonts

Antti.Roppola at brs.gov.au Antti.Roppola at brs.gov.au
Sun Feb 9 19:49:43 EST 2003


Zak,

In retrospect, it wasn't fonts.

I just built & ran the nightly and instead of a segfault, I got:
	getString(): Symbol definition error. (none):(77)

It also appears that
	WMS_ACCESSCONSTRAINTS none
in the web metadata object is what it didn't like. Put double
quutes around the 'none' and it works:
	WMS_ACCESSCONSTRAINTS "none"

Thanks,

Antti

-----Original Message-----
From: Zak James [mailto:zak-ms at aiya.dhs.org]
Sent: Saturday, 8 February 2003 7:51 AM
To: Antti.Roppola at brs.gov.au
Cc: mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] nightly shp2pdf segfaults on truetype
fonts


The shp2pdf utility was updated to work with 3.7 and I just tested a 
version built from recent cvs sources and it is able to deal with 
truetype fonts. Could you try removing or changing some of the fonts in 
the mapfile and test again?

zak

On Thursday, February 6, 2003, at 10:52  pm, Antti.Roppola at brs.gov.au 
wrote:

> Actually, 3.6.3 segfaults as well. And it doesn't seem
> to be related to 3.7 features or truetype fonts.
>
> Antti
>
> -----Original Message-----
> From: Antti.Roppola at brs.gov.au [mailto:Antti.Roppola at brs.gov.au]
> Sent: Friday, 7 February 2003 2:14 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] nightly shp2pdf segfaults on truetype fonts
>
>
> Nightly version of shp2pdf.c from 13 January.
>
> Everything works OK in PHP/Mapscript, but shp2pdf segfaults.
>
> Since the date on shp2pdf.c is 5 October 2002, my guess is
> that it doesn't know about the recent output changes.
>
> Antti
>
>
> open("/somewhere/fonts/fonts.list", O_RDONLY) = 3
> fstat(3, {st_mode=S_IFREG|0664, st_size=141, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
> -1, 0) = 0x40016000
> read(3, "esri-default esri_11.ttf\nesri-en"..., 4096) = 141
> read(3, "", 4096)                       = 0
> close(3)                                = 0
> munmap(0x40016000, 4096)                = 0
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>





More information about the mapserver-users mailing list