ports/148834: graphics/mapserver - PDF support causes mapserver to crash when opening PNG files

Tom Uffner tom at uffner.com
Thu Jul 22 06:50:02 UTC 2010


>Number:         148834
>Category:       ports
>Synopsis:       graphics/mapserver - PDF support causes mapserver to crash when opening PNG files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 22 06:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Tom Uffner
>Release:        9-current
>Organization:
>Environment:
FreeBSD xiombarg.uffner.com 9.0-CURRENT FreeBSD 9.0-CURRENT #195: Wed Jul 21 03:27:54 EDT 2010     root at xiombarg.uffner.com:/usr/obj/usr/src/sys/XIOMBARG  i386
>Description:
The mapserver port makefile has a config knob "[ ] PDF      Support for PDF output via pdflib"

If built with this option enabled, the mapserver applications will crash any time they attempt to open a PNG file.

This appears to be caused by conflicts between pdflib's builtin PNG library and /usr/local/lib/libpng.so.6 which is loaded by the mapserver programs. In any case, building w/o the PDF knob checked solves the problem.
>How-To-Repeat:
% cd /usr/ports/graphics/mapserver
% make config

[check the option for Support for PDF output via pdflib]

% make all

% cd /usr/ports/graphics/mapserver/work/mapserver-5.6.4
% ./shp2img -m tests/test.map -o test.png

the above is the test suggested in tests/README
[watch it fail]


>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list