On 06.02.2017 10:09, zyx wrote: > On Mon, 2017-02-06 at 08:03 +0100, Sandro Mani wrote: >> Hunting for a fix / workaround. > Hi, > that's odd. I cannot reproduce it here, no exception is thrown, neither > valgrind claims anything wrong. > > As the comment in PdfVariant::Init() says, every PdfVariant() > constructor calls Clear(), which sets the m_bDelayedLoadDone to true. > > Does the same code work properly with PoDoFo 0.9.4 for you? > Hi
Yes 0.9.4 works well. I initially suspected a compiler bug since gcc-7.0.1 just landed in Fedora rawhide, but the same error happens with gcc-6.3.1 (although this doesn't completely exclude that 6.3.1 might be miscompiling). Also, compiling without optimization (-O0) results in the same error. I'll keep looking. Best Sandro ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users