crash at very first file opening (TIFF)

Bug #1544268 reported by loic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
High
Unassigned

Bug Description

I've just download and install Inkscape (for windows)
Instalation in "typical mode"
Then I launch it -> All OK
Then I make file / Open and select a small TIFF file.
I do not change any import option and just confirm
Then I have a new error window "Runtime Error!" see linked file for details....

thanks

Revision history for this message
loic (chevaliernoir) wrote :
Revision history for this message
loic (chevaliernoir) wrote :

I uninstalled inkscape, then install again ... and I have the same behavior.
I did not try to reboot

Revision history for this message
loic (chevaliernoir) wrote :

I tried to open a jpg file and ... it works. It seems the issue is linked with my TIFF file (done with Photoshop)

I join to this comment the TIFF file (I have other similar) that create a crash during import

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

- crash reproduced on Windows 7, Inkscape 0.91 r13725 (Jan 30 2015), if I use the import option "Image DPI : from File"
- not reproduced if I use the import option "Image DPI : Default Import Resolution", result attached here

- identical behavior in trunk rev 14645

Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

On 2016-02-10 21:03 (+0100), loic wrote:
> I've just download and install Inkscape (for windows)

Please add details to the bug description about the installer used for Inskcape 0.91: 32bit or 64bit?

tags: added: bitmap crash importing win32
Revision history for this message
su_v (suv-lp) wrote :

No crash with Inkscape 0.91 r13725 on OS X 10.7.5.

Console message:
** (inkscape:70976): WARNING **: ImageResolution::readmagick: Unknown error

Changed in inkscape:
importance: Undecided → High
Revision history for this message
su_v (suv-lp) wrote :

With current 32bit builds for Windows, this is probably about the same issue as reported earlier e.g. in
* Bug #1447131 “crash when loading a specific tif file using the option 'DPI from file'”
  https://bugs.launchpad.net/inkscape/+bug/1447131

Revision history for this message
jazzynico (jazzynico) wrote :

Same warning as in comment #6 with Inkscape trunk rev. 14645, Xubuntu 15.10 (ImageMagick 6.8.9.9). But no crash here, La Linea shows as expected.

Revision history for this message
jazzynico (jazzynico) wrote :

When catching the exception (still on Xubuntu), the following message shows:

** (inkscape:17282): WARNING **: ImageResolution::readmagick: Magick: Incompatible type for "RichTIFFIPTC"; tag ignored. `TIFFFetchNormalTag' @ warning/tiff.c/TIFFWarnings/861

The ImageMagick forum (https://www.imagemagick.org/discourse-server/viewtopic.php?t=28126) explains why.

When testing on Windows, Inkscape crashes when reaching "image.read(fn);" in src/extension/internal/image-resolution.cpp. Apparently we don't manage to catch exceptions from IM. Probably due to how IM was compiled (and unfortunately IM is awful to compile on Windows...).

Revision history for this message
jazzynico (jazzynico) wrote :

Marking duplicate of Bug #1447131 “crash when loading a specific tif file using the option 'DPI from file'”.

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.