Hi,

Could you send me an example PDF file, please? 

best regards,
        Dom

Am Sunday 19 August 2007 schrieb Prashanth Udupa:
> Hi,
>
> I am trying to use a PDF file generated using Qt's QPrinter. When I try to
> load such a file using PdfDocument::Load(), PoDoFo causes my application to
> crash. Here is the backtrace.
>
> >    msvcp80d.dll!std::_Debug_message(const wchar_t * message=0x1015df08,
>
> const wchar_t * file=0x1015df50, unsigned int line=756)  Line 24    C++
>      msvcp80d.dll!std::_Debug_message(const unsigned short *
> message=0x1015df08, const unsigned short * file=0x1015df50, unsigned int
> line=756)  Line 29 + 0x11 bytes    C++
>      podofo.dll!std::vector<char,std::allocator<char>
> >::operator[](unsigned int _Pos=0)  Line 756 + 0x17 bytes    C++
>      podofo.dll!PoDoFo::PdfTokenizer::ReadString(PoDoFo::PdfVariant &
> rVariant={...})  Line 487 + 0x15 bytes    C++
>      podofo.dll!PoDoFo::PdfTokenizer::ReadDataType(PoDoFo::EPdfDataType
> eDataType=ePdfDataType_String, PoDoFo::PdfVariant & rVariant={...})  Line
> 392    C++
>      podofo.dll!PoDoFo::PdfTokenizer::GetNextVariant(const char *
> pszToken=0x01a6b308, PoDoFo::EPdfTokenType eType=ePdfTokenType_Delimiter,
> PoDoFo::PdfVariant & rVariant={...})  Line 256    C++
>      podofo.dll!PoDoFo::PdfTokenizer::GetNextVariant(PoDoFo::PdfVariant &
> rVariant={...})  Line 236    C++
>      podofo.dll!PoDoFo::PdfTokenizer::ReadDictionary(PoDoFo::PdfVariant &
> rVariant={...})  Line 436    C++
>      podofo.dll!PoDoFo::PdfTokenizer::ReadDataType(PoDoFo::EPdfDataType
> eDataType=ePdfDataType_Dictionary, PoDoFo::PdfVariant & rVariant={...})
> Line 386    C++
>      podofo.dll!PoDoFo::PdfTokenizer::GetNextVariant(const char *
> pszToken=0x01a6b308, PoDoFo::EPdfTokenType eType=ePdfTokenType_Delimiter,
> PoDoFo::PdfVariant & rVariant={...})  Line 256    C++
>      podofo.dll!PoDoFo::PdfTokenizer::GetNextVariant(PoDoFo::PdfVariant &
> rVariant={...})  Line 236    C++
>      podofo.dll!PoDoFo::PdfParserObject::ParseFileComplete(bool
> bIsTrailer=false)  Line 172    C++
>      podofo.dll!PoDoFo::PdfParserObject::DelayedLoadImpl()  Line 306    C++
>      podofo.dll!PoDoFo::PdfVariant::DelayedLoad()  Line 435 + 0xf bytes
> C++
>      podofo.dll!PoDoFo::PdfParserObject::ParseFile(bool bIsTrailer=false)
> Line 155    C++
>      podofo.dll!PoDoFo::PdfParser::HasLinearizationDict()  Line 275    C++
>      podofo.dll!PoDoFo::PdfParser::ReadDocumentStructure()  Line 139    C++
>      podofo.dll!PoDoFo::PdfParser::ParseFile(const char *
> pszFilename=0x01a65403, bool bLoadOnDemand=true)  Line 108    C++
>      podofo.dll!PoDoFo::PdfParser::PdfParser(PoDoFo::PdfVecObjects *
> pVecObjects=0x01a65480, const char * pszFilename=0x01a65403, bool
> bLoadOnDemand=true)  Line 60    C++
>      podofo.dll!PoDoFo::PdfDocument::Load(const char *
> pszFilename=0x01a65403)  Line 182 + 0x18 bytes    C++
>
> Any ideas on how to fix this?



-- 
**********************************************************************
Dominik Seichter - [EMAIL PROTECTED]
KRename  - http://www.krename.net  - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game,  for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************

Attachment: pgpExy55T56N8.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to