[Mapguide-trac] [mapguide-trac] #2578: AGG renderer segfaults on Ubuntu 14.04
MapGuide Open Source
trac_mapguide at osgeo.org
Fri Nov 27 05:55:58 PST 2015
#2578: AGG renderer segfaults on Ubuntu 14.04
---------------------------------+-------------------
Reporter: jng | Owner: jng
Type: defect | Status: new
Priority: high | Milestone: 3.0
Component: Rendering Service | Version: 3.0.0
Severity: blocker | Keywords:
External ID: |
---------------------------------+-------------------
The AGG renderer segfaults after a few successive pans and zooms on Ubuntu
14.04
This is due to the use of memcpy() in agg::font_cache_pool::font(), which
when run under valgrind reports that the call to memcpy() involves
overlapped source and destination parameters. I believe the segfault is
the result of attempting to free part of a different font_cache pointer in
the m_fonts array.
Attached is a patch that replaces the memcpy() call with memmove(). The
segfault is no longer observable.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2578>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list