Hello everyone,
Can someone please give me a suggestion for the problem below? Its looks like something that can easily be solved by one of the PoDoFo developers. Thanks! Best regards, Marco Leoné <http://www.musicreader.net/> MusicReader Leoné MusicReader B.V. Erve Stroomboer 45 7623 JC Borne , The Netherlands Website: http://www.musicreader.net E-mail: [email protected] Dutch Trade Register: <http://www.kvk.nl/Minitools/bannergenerator/handelsframeBannerEXT.asp?url=h ttps://server.db.kvk.nl/TST-BIN/FU/tsws...@?butt=08087290&kenmerk=banner> 08087290 Statutory Seat: Borne, The Netherlands VAT Number: NL8189.54.826.B01 From: Marco Leone [MusicReader] [mailto:[email protected]] Sent: maandag 4 oktober 2010 11:34 To: [email protected] Subject: [Podofo-users] Problem With DelayedLoad in PdfVariant Hello everyone, Today I encountered a problem which I hope one of you can help with. I'm running PoDoFo on iOS (iPhoneOS) and it running very well. However when I try to run my application I have this problem: 1) I try to parse a PDF File. 2) From a page I extract a PieceInfo object using this code: page = document->GetPagesTree()->GetPage(pageNumber); pieceInfo = page->GetObject()->GetIndirectKey("PieceInfo"); This is successful there is no problem with this part, it give me the object. 3)But when I try: pieceInfo->GetIndirectKey(name); Then I get a EXC_BAD_ACCESS error and the application exits. The trace of the error is listed below this e-mail. It happen when executing the line const_cast<PdfVariant*>(this)->DelayedLoadImpl(); in PoDoFo::PdfVariant::DelayedLoad at PdfVariant.h:531. This looks like a bug, but I'm unable to understand what happens. Can someone please help me with this? It looks like a bug in PoDoFo, maybe one of you can find the cause or at least give me a suggestion on how to continue. Thanks! Best regards, Marco #0 ?? #1 0x0000d92e in PoDoFo::PdfVariant::DelayedLoad at PdfVariant.h:531 #2 0x0000d949 in PoDoFo::PdfVariant::GetDataType at PdfVariant.h:556 #3 0x000187bf in PoDoFo::PdfVariant::IsDictionary at PdfVariant.h:182 #4 0x00086634 in PoDoFo::PdfObject::GetIndirectKey at PdfObject.cpp:196 #5 0x0000f4a9 in PieceInfo::getString at PieceInfo.h:79 #6 0x0000ee06 in -[PageSettings readVariablesFrom:] at PageSettings.mm:66 #7 0x0000f16f in -[PageSettings initFrom:withPieceInfo:] at PageSettings.mm:39 #8 0x00019e23 in FileHandlerImpl::getSettingsOfPage at FileHandlerImpl.h:67 #9 0x000183e8 in -[FileHandler getSettingsOfPage:] at FileHandler.mm:57 #10 0x000170c0 in -[DisplayHandler displayPage] at DisplayHandler.mm:148 #11 0x00016e33 in -[DisplayHandler loadFile:] at DisplayHandler.mm:53 #12 0x0000d5f5 in -[PoDoFoTestAppDelegate application:didFinishLaunchingWithOptions:] at PoDoFoTestAppDelegate.mm:43 #13 0x00560944 in -[UIApplication _performInitializationWithURL:payload:] #14 0x0056194f in -[UIApplication _runWithURL:payload:launchOrientation:] #15 0x00567d3e in -[UIApplication handleEvent:withNewEvent:] #16 0x005634f7 in -[UIApplication sendEvent:] #17 0x0056b1d8 in _UIApplicationHandleEvent #18 0x0336817c in PurpleEventCallback #19 0x02a2489c in CFRunLoopRunSpecific #20 0x02a238a8 in CFRunLoopRunInMode #21 0x00561221 in -[UIApplication _run] #22 0x00569372 in UIApplicationMain #23 0x0000d174 in main at main.m:14
<<image001.gif>>
------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
