On 7/12/07, Miklós Erdélyi <erdelyim@...400...> wrote:
Hi,
the cairo-based simple PDF import extension has been in trunk for a while (well, for a week or so :) ). Now I have committed a preliminary version of the native libpoppler-based one to trunk (you can activate it by uncommenting the line Internal::PdfInput::init() in src/extension/init.cpp). I did commit this unstable version because I need your help regarding a strange bug. When a PDF document is opened Inkscape crashes with segmentation fault, giving the following backtrace: #0 0xb6ebeb46 in malloc_usable_size () from /lib/tls/i686/cmov/libc.so.6 #1 0xb6ec0ecd in free () from /lib/tls/i686/cmov/libc.so.6 #2 0xb6ec283f in malloc () from /lib/tls/i686/cmov/libc.so.6 #3 0xb70844b7 in operator new () from /usr/lib/libstdc++.so.6 #4 0xb70845ed in operator new[] () from /usr/lib/libstdc++.so.6 #5 0xb71719d2 in PDFDoc::checkFooter (this=0xa6c5700) at PDFDoc.cc:248 #6 0xb7171e90 in PDFDoc::setup (this=0xa6c5700, ownerPassword=0x0, userPassword=0x0) at PDFDoc.cc:185 #7 0xb71721c5 in PDFDoc (this=0xa6c5700, fileNameA=0xa6c56c8, ownerPassword=0x0, userPassword=0x0, guiDataA=0x0) at PDFDoc.cc:102 #8 0x08594ec7 in Inkscape::Extension::Internal::PdfInput::open ( this=0x8857030, mod=0x8861350, uri=0xab497e4 "/home/shudo/tiger.pdf") at extension/internal/pdfinput/pdf-input.cpp:51
Please test whether the same thing happens on your system also (note: PDF import is not yet available on Windows) and tell us if you have any ideas regarding the solution to this problem which sets back the further development of the import extension.
Thank you, miklos
Whats stopping it working on win? is there anything you need help test or what ever?