Hi,

I have downloaded podofo-0.7.0 for I want to use t for imposition.
When I try to impose sample.pdf I get an segmentation fault. When run
under gdb this is output and backtrack:

(gdb) r
Starting program: 
/home/boza/tmp/source/podofo/debug__build_0.7.0/tools/podofoimpose/podofoimpose 
sample.pdf sample_imposed.pdf sample.plan
[Thread debugging using libthread_db enabled]
Source : sample.pdf
Target : sample_imposed.pdf
Plan   : sample.plan
 8 1 270 0 1683.78
 1 1 90 1190.55 1262.84
 9 1 270 0 1262.84
 16 1 90 1190.55 841.89
 12 1 270 0 841.89
 13 1 90 1190.55 420.945
 5 1 270 0 420.945
 4 1 90 1190.55 0
 2 2 270 0 1683.78
 7 2 90 1190.55 1262.84
 15 2 270 0 1262.84
 10 2 90 1190.55 841.89
 14 2 270 0 841.89
 11 2 90 1190.55 420.945
 3 2 270 0 420.945
 6 2 90 1190.55 0
 24 3 270 0 1683.78
 17 3 90 1190.55 1262.84
 25 3 270 0 1262.84
 32 3 90 1190.55 841.89
 28 3 270 0 841.89
 29 3 90 1190.55 420.945
 21 3 270 0 420.945
 20 3 90 1190.55 0
 18 4 270 0 1683.78
 23 4 90 1190.55 1262.84
 31 4 270 0 1262.84
 26 4 90 1190.55 841.89
 30 4 270 0 841.89
 27 4 90 1190.55 420.945
 19 4 270 0 420.945
 22 4 90 1190.55 0
[New Thread 0xb7b9b8d0 (LWP 6355)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7b9b8d0 (LWP 6355)]
0x080ce706 in PoDoFo::PdfVariant::DelayedLoad (this=0x99b6dc0) at 
/home/boza/tmp/source/podofo/podofo-0.7.0/src/PdfVariant.h:492
(gdb) bt
#0  0x080ce706 in PoDoFo::PdfVariant::DelayedLoad (this=0x99b6dc0) at 
/home/boza/tmp/source/podofo/podofo-0.7.0/src/PdfVariant.h:492
#1  0x0812bef0 in PoDoFo::PdfVariant::operator= (this=0xbf86d948, 
r...@0x99b6dc0) at 
/home/boza/tmp/source/podofo/podofo-0.7.0/src/PdfVariant.cpp:289
#2  0x0812c270 in PdfVariant (this=0xbf86d948, r...@0x99b6dc0) at 
/home/boza/tmp/source/podofo/podofo-0.7.0/src/PdfVariant.cpp:155
#3  0x08110a27 in PoDoFo::PdfPagesTree::GetPageNode (this=0x996e3f0, 
nPageNum=2, pPagesObject=0x99380f0, rlistofparen...@0xbf86d9e8) at 
/home/boza/tmp/source/podofo/podofo-0.7.0/src/PdfPagesTree.cpp:125
#4  0x081116ea in PoDoFo::PdfPagesTree::InsertPage (this=0x996e3f0, 
inAfterPageNumber=3, pPage=0x99b43d0) at 
/home/boza/tmp/source/podofo/podofo-0.7.0/src/PdfPagesTree.cpp:302
#5  0x0811185d in PoDoFo::PdfPagesTree::InsertPage (this=0x996e3f0, 
inAfterPageNumber=3, inPage=0x99ba1a0) at 
/home/boza/tmp/source/podofo/podofo-0.7.0/src/PdfPagesTree.cpp:290
#6  0x081118ea in PoDoFo::PdfPagesTree::CreatePage (this=0x996e3f0, 
rsi...@0xbf86dd88) at 
/home/boza/tmp/source/podofo/podofo-0.7.0/src/PdfPagesTree.cpp:392
#7  0x080e72a5 in PoDoFo::PdfDocument::CreatePage (this=0x9938c30, 
rsi...@0xbf86dd88) at 
/home/boza/tmp/source/podofo/podofo-0.7.0/src/PdfDocument.cpp:214
#8  0x080cb8f7 in PoDoFo::Impose::PdfTranslator::impose (this=0x99376c0) at 
/home/boza/tmp/source/podofo/podofo-0.7.0/tools/podofoimpose/pdftranslator.cpp:387
#9  0x080cae32 in main (argc=4, argv=0xbf86df64) at 
/home/boza/tmp/source/podofo/podofo-0.7.0/tools/podofoimpose/podofoimpose.cpp:109

Is this a known issue, or is it just me?
I am using Debian Lenny.

Martin


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to