Opened 9 years ago

Closed 9 years ago

#2578 closed defect (fixed)

AGG renderer segfaults on Ubuntu 14.04

Reported by: jng Owned by: jng
Priority: high Milestone: 3.0
Component: Rendering Service Version: 3.0.0
Severity: blocker Keywords:
Cc: External ID:

Description

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.

Attachments (1)

agg_ubuntu14.patch (675 bytes ) - added by jng 9 years ago.

Download all attachments as: .zip

Change History (2)

by jng, 9 years ago

Attachment: agg_ubuntu14.patch added

comment:1 by jng, 9 years ago

Resolution: fixed
Status: newclosed

Fixed trunk (r8844) and 3.0 (r8845)

Note: See TracTickets for help on using tickets.