Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 2010 06:47:07 GMT
From:      Tom Uffner <tom@uffner.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/148834: graphics/mapserver - PDF support causes mapserver to crash when opening PNG files
Message-ID:  <201007220647.o6M6l74D005134@www.freebsd.org>
Resent-Message-ID: <201007220650.o6M6o1U8057184@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007220647.o6M6l74D005134>