Comment 5 for bug 229524

Revision history for this message
Alvin Penner (apenner) wrote :

just for fun, created an empty pdf file, tried to import it, got this crash message

C:\Python25\APP>inkcl.py
return code: -1073741819 (hex C0000005)
Error: Couldn't open 'nameToUnicode' file 'C:\target\share\poppler\nameToUnicode\a'
Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table

the implication seems to be that the crash occurred before the file was opened

traceback follows :

(gdb) run
Starting program: C:\Program Files\Inkscape/inkscape.exe
[New thread 2492.0xed4]
[New thread 2492.0xad8]
[New thread 2492.0x9ec]
[New thread 2492.0xfc4]
[New thread 2492.0xb44]
[New thread 2492.0xf10]

Program received signal SIGSEGV, Segmentation fault.
0x00528333 in Inkscape::Extension::Internal::PdfImportDialog::PdfImportDialog
    ()
(gdb) bt
#0 0x00528333 in Inkscape::Extension::Internal::PdfImportDialog::PdfImportDialo
g ()
#1 0x0052a1d9 in _fu2__globalParams ()
#2 0x06bbcd78 in ?? ()
#3 0x06bbdfc0 in ?? ()
#4 0x0505687c in ?? ()
#5 0x00000000 in ?? ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x00528333 in Inkscape::Extension::Internal::PdfImportDialog::PdfImportDialog
    ()
(gdb) c
Continuing.

Program exited with code 030000000005.
(gdb)