Hi,

i printed out currentReference before the following section is called.

if (objectVector.GetObject(currentReference)->IsReference()) {
       currentReference = objectVector.
                        GetObject(currentReference)->GetReference(); }

Output:

723 0 R Current Reference

The failing step seems to be the check of IsReference().

Regards,
Georg

Am Donnerstag, den 10.05.2018, 17:42 +0200 schrieb Joerg Sonnenberger:
> On Thu, May 10, 2018 at 02:14:18PM +0000, Georg Funk wrote:
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x000055ba2342486e in PoDoFo::PdfVariant::DelayedLoad (this=0x0) at
> > /usr/local/include/podofo/base/PdfVariant.h:545
> > 545     if( !m_bDelayedLoadDone)
> > 
> > Have you any idea for me?
> 
> Your reference goes to a null pointer. Look at the "this" above.
> 
> Joerg
------------------------------------------------------------------------------
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

Reply via email to