==18551== Memcheck, a memory error detector ==18551== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al. ==18551== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info ==18551== Command: ./test /home/pberndt/Downloads/New\ lecture\ on\ infinitesimals.pdf ==18551== ... ==18551== ==18551== 327,680 bytes in 8 blocks are possibly lost in loss record 5,663 of 5,666 ==18551== at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18551== by 0x8B0D5C1: grealloc (gmem.cc:159) ==18551== by 0x8A92135: GfxFont::readEmbFontFile(XRef*, int*) (Stream.h:159) ==18551== by 0x557D87F: CairoFreeTypeFont::create(GfxFont*, XRef*, FT_LibraryRec_*, bool) (CairoFontEngine.cc:429) ==18551== by 0x557E004: CairoFontEngine::getFont(GfxFont*, PDFDoc*, bool, XRef*) (CairoFontEngine.cc:814) ==18551== by 0x557EDAB: CairoOutputDev::updateFont(GfxState*) (CairoOutputDev.cc:626) ==18551== by 0x8A8FB0C: Gfx::opShowSpaceText(Object*, int) (Gfx.cc:3868) ==18551== by 0x8A879C8: Gfx::go(bool) (Gfx.cc:762) ==18551== by 0x8A87DDC: Gfx::display(Object*, bool) (Gfx.cc:728) ==18551== by 0x8AC9297: Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) (Page.cc:585) ==18551== by 0x556ECB6: _poppler_page_render(_PopplerPage*, _cairo*, bool, PopplerPrintFlags) (poppler-page.cc:362) ==18551== by 0x400E25: draw_cb (in /tmp/tmp-27138/test) ==18551== ==18551== 778,240 bytes in 22 blocks are possibly lost in loss record 5,664 of 5,666 ==18551== at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18551== by 0x8B0D5C1: grealloc (gmem.cc:159) ==18551== by 0x8A92135: GfxFont::readEmbFontFile(XRef*, int*) (Stream.h:159) ==18551== by 0x557D87F: CairoFreeTypeFont::create(GfxFont*, XRef*, FT_LibraryRec_*, bool) (CairoFontEngine.cc:429) ==18551== by 0x557E004: CairoFontEngine::getFont(GfxFont*, PDFDoc*, bool, XRef*) (CairoFontEngine.cc:814) ==18551== by 0x557EDAB: CairoOutputDev::updateFont(GfxState*) (CairoOutputDev.cc:626) ==18551== by 0x8A8F4DC: Gfx::opShowText(Object*, int) (Gfx.cc:3796) ==18551== by 0x8A879C8: Gfx::go(bool) (Gfx.cc:762) ==18551== by 0x8A87DDC: Gfx::display(Object*, bool) (Gfx.cc:728) ==18551== by 0x8AC9297: Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) (Page.cc:585) ==18551== by 0x556ECB6: _poppler_page_render(_PopplerPage*, _cairo*, bool, PopplerPrintFlags) (poppler-page.cc:362) ==18551== by 0x400E25: draw_cb (in /tmp/tmp-27138/test) ==18551== ==18551== 62,054,400 bytes in 1,515 blocks are definitely lost in loss record 5,665 of 5,666 ==18551== at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18551== by 0x8B0D5C1: grealloc (gmem.cc:159) ==18551== by 0x8A92135: GfxFont::readEmbFontFile(XRef*, int*) (Stream.h:159) ==18551== by 0x557D87F: CairoFreeTypeFont::create(GfxFont*, XRef*, FT_LibraryRec_*, bool) (CairoFontEngine.cc:429) ==18551== by 0x557E004: CairoFontEngine::getFont(GfxFont*, PDFDoc*, bool, XRef*) (CairoFontEngine.cc:814) ==18551== by 0x557EDAB: CairoOutputDev::updateFont(GfxState*) (CairoOutputDev.cc:626) ==18551== by 0x8A8FB0C: Gfx::opShowSpaceText(Object*, int) (Gfx.cc:3868) ==18551== by 0x8A879C8: Gfx::go(bool) (Gfx.cc:762) ==18551== by 0x8A87DDC: Gfx::display(Object*, bool) (Gfx.cc:728) ==18551== by 0x8AC9297: Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) (Page.cc:585) ==18551== by 0x556ECB6: _poppler_page_render(_PopplerPage*, _cairo*, bool, PopplerPrintFlags) (poppler-page.cc:362) ==18551== by 0x400E25: draw_cb (in /tmp/tmp-27138/test) ==18551== ==18551== 105,271,296 bytes in 3,024 blocks are definitely lost in loss record 5,666 of 5,666 ==18551== at 0x4C2CE8E: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==18551== by 0x8B0D5C1: grealloc (gmem.cc:159) ==18551== by 0x8A92135: GfxFont::readEmbFontFile(XRef*, int*) (Stream.h:159) ==18551== by 0x557D87F: CairoFreeTypeFont::create(GfxFont*, XRef*, FT_LibraryRec_*, bool) (CairoFontEngine.cc:429) ==18551== by 0x557E004: CairoFontEngine::getFont(GfxFont*, PDFDoc*, bool, XRef*) (CairoFontEngine.cc:814) ==18551== by 0x557EDAB: CairoOutputDev::updateFont(GfxState*) (CairoOutputDev.cc:626) ==18551== by 0x8A8F4DC: Gfx::opShowText(Object*, int) (Gfx.cc:3796) ==18551== by 0x8A879C8: Gfx::go(bool) (Gfx.cc:762) ==18551== by 0x8A87DDC: Gfx::display(Object*, bool) (Gfx.cc:728) ==18551== by 0x8AC9297: Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) (Page.cc:585) ==18551== by 0x556ECB6: _poppler_page_render(_PopplerPage*, _cairo*, bool, PopplerPrintFlags) (poppler-page.cc:362) ==18551== by 0x400E25: draw_cb (in /tmp/tmp-27138/test) ==18551== ==18551== LEAK SUMMARY: ==18551== definitely lost: 167,325,984 bytes in 4,551 blocks ==18551== indirectly lost: 45 bytes in 6 blocks ==18551== possibly lost: 1,132,308 bytes in 452 blocks ==18551== still reachable: 1,593,131 bytes in 17,028 blocks ==18551== suppressed: 0 bytes in 0 blocks ==18551== Reachable blocks (those to which a pointer was found) are not shown. ==18551== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==18551== ==18551== For counts of detected and suppressed errors, rerun with: -v ==18551== Use --track-origins=yes to see where uninitialised values come from ==18551== ERROR SUMMARY: 1939 errors from 416 contexts (suppressed: 1 from 1)