mapnik/mapnik — Issue #1094: freetype valgrind output
Author: springmeyer
Created: 2012-02-21 20:03:14+00:00
State: open

needs looking into:

```
==27767== Warning: set address range perms: large range [0xadb3000, 0x2adb3000) (noaccess)
==27767== Invalid read of size 8
==27767== at 0x2BF824EB: mapnik::freetype_engine::register_font(std::string const&) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BF82B8D: mapnik::freetype_engine::register_fonts(std::string const&, bool) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BA654DC: node_mapnik::register_fonts(v8::Arguments const&) (mapnik_fonts.hpp:60)
==27767== by 0x56C6F1: ??? (in /usr/bin/nodejs)
==27767== by 0xADB4249: ???
==27767== by 0xAE791AD: ???
==27767== by 0xADC6EDB: ???
==27767== by 0xAE50BDD: ???
==27767== by 0xAE50CC5: ???
==27767== by 0xAE4F1DD: ???
==27767== by 0xAE4E971: ???
==27767== by 0xADB5229: ???
==27767== Address 0x2b7caf60 is 0 bytes inside a block of size 1,384 free'd
==27767== at 0x4C282E0: free (vg_replace_malloc.c:366)
==27767== by 0x2C35009C: FT_Done_Face (in /usr/lib/x86_64-linux-gnu/libfreetype.so.6.6.2)
==27767== by 0x2BF824C3: mapnik::freetype_engine::register_font(std::string const&) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BF82B8D: mapnik::freetype_engine::register_fonts(std::string const&, bool) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BA654DC: node_mapnik::register_fonts(v8::Arguments const&) (mapnik_fonts.hpp:60)
==27767== by 0x56C6F1: ??? (in /usr/bin/nodejs)
==27767== by 0xADB4249: ???
==27767== by 0xAE791AD: ???
==27767== by 0xADC6EDB: ???
==27767== by 0xAE50BDD: ???
==27767== by 0xAE50CC5: ???
==27767== by 0xAE4F1DD: ???
==27767==
==27767== Invalid read of size 8
==27767== at 0x2BF824EB: mapnik::freetype_engine::register_font(std::string const&) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BF82C7B: mapnik::freetype_engine::register_fonts(std::string const&, bool) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BF82C0E: mapnik::freetype_engine::register_fonts(std::string const&, bool) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BA6574B: node_mapnik::register_fonts(v8::Arguments const&) (mapnik_fonts.hpp:54)
==27767== by 0x56C6F1: ??? (in /usr/bin/nodejs)
==27767== by 0xADB4249: ???
==27767== by 0xAE78A30: ???
==27767== by 0xADB5229: ???
==27767== by 0xAE62204: ???
==27767== by 0xADB5229: ???
==27767== by 0xAE78EEF: ???
==27767== by 0xAE792A6: ???
==27767== Address 0x2b904aa0 is 0 bytes inside a block of size 1,384 free'd
==27767== at 0x4C282E0: free (vg_replace_malloc.c:366)
==27767== by 0x2C35009C: FT_Done_Face (in /usr/lib/x86_64-linux-gnu/libfreetype.so.6.6.2)
==27767== by 0x2BF824C3: mapnik::freetype_engine::register_font(std::string const&) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BF82C7B: mapnik::freetype_engine::register_fonts(std::string const&, bool) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BF82C0E: mapnik::freetype_engine::register_fonts(std::string const&, bool) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BA6574B: node_mapnik::register_fonts(v8::Arguments const&) (mapnik_fonts.hpp:54)
==27767== by 0x56C6F1: ??? (in /usr/bin/nodejs)
==27767== by 0xADB4249: ???
==27767== by 0xAE78A30: ???
==27767== by 0xADB5229: ???
==27767== by 0xAE62204: ???
==27767== by 0xADB5229: ???
==27767==
==27767== Invalid read of size 8
==27767== at 0x2BF824EB: mapnik::freetype_engine::register_font(std::string const&) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BF82C7B: mapnik::freetype_engine::register_fonts(std::string const&, bool) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BA6574B: node_mapnik::register_fonts(v8::Arguments const&) (mapnik_fonts.hpp:54)
==27767== by 0x56C6F1: ??? (in /usr/bin/nodejs)
==27767== by 0xADB4249: ???
==27767== by 0xAE78A30: ???
==27767== by 0xADB5229: ???
==27767== by 0xAE62204: ???
==27767== by 0xADB5229: ???
==27767== by 0xAE78EEF: ???
==27767== by 0xAE792A6: ???
==27767== by 0xADC6EDB: ???
==27767== Address 0x2ba09ca0 is 0 bytes inside a block of size 1,384 free'd
==27767== at 0x4C282E0: free (vg_replace_malloc.c:366)
==27767== by 0x2C35009C: FT_Done_Face (in /usr/lib/x86_64-linux-gnu/libfreetype.so.6.6.2)
==27767== by 0x2BF824C3: mapnik::freetype_engine::register_font(std::string const&) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BF82C7B: mapnik::freetype_engine::register_fonts(std::string const&, bool) (in /usr/lib/libmapnik.so.2.0.0)
==27767== by 0x2BA6574B: node_mapnik::register_fonts(v8::Arguments const&) (mapnik_fonts.hpp:54)
==27767== by 0x56C6F1: ??? (in /usr/bin/nodejs)
==27767== by 0xADB4249: ???
==27767== by 0xAE78A30: ???
==27767== by 0xADB5229: ???
==27767== by 0xAE62204: ???
==27767== by 0xADB5229: ???
==27767== by 0xAE78EEF: ???
==27767==
```