win32 crash on import of AI 8.0 !PS file

Bug #235766 reported by Alvin Penner
This bug report is a duplicate of:  Bug #229524: crash importing all pdfs - dev build. Edit Remove
2
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Win 32 nightly build from May 8
- import the attached AI 8.0 file
- crash with the DOS exit message

C:\Python25\APP>inkcl.py
return code: -1073741819
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

I understand that the file import supports only AI 9.0, but a crash is not appropriate.

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

- also, this crash message is very similar to the pdf case : Bug 229524
- also, this file can be successfully converted using uniconv, to obtain the attached svg file

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

backtrace follows :
(gdb) run
Starting program: C:\Program Files\Inkscape/inkscape.exe
[New thread 3112.0xee0]
[New thread 3112.0x8a4]
[New thread 3112.0xac0]
[New thread 3112.0xf6c]
[New thread 3112.0x42c]
[New thread 3112.0x298]
warning: Lowest section in C:\WINDOWS\system32\xpsp2res.dll is .rsrc at 20001000

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 0x06b9f2c8 in ?? ()
#3 0x06b9f248 in ?? ()
#4 0x073271b4 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)

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

okay, I get it, based on response from uniconv forum :
http://sk1project.org/forum/topic.php?forum=2&topic=41

AI 8 is Postscript based, while newer AI format is PDF based.
The attached file is Postscript based, so it cannot be opened.

However, it still should not crash.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.