Image Importing causes crash

Bug #1214182 reported by TrueBlue
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
High
Unassigned

Bug Description

I'm watermarking photo's. After successfully exporting a photo, then attempting to import the next I receive one of the following messages . . . .

1.)
Microsoft Visual C++ Runtime Library

Runtime Error!
Program C:\Program Files (x86)\Inkscape.exe

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information

Inkscape encountered an internal error and will close now.
Automatic backups of unsaved documents were done to the following locations:

2.)Inkscape encountered an internal error and will close now.

Revision history for this message
TrueBlue (sblueenterprises) wrote :
Revision history for this message
TrueBlue (sblueenterprises) wrote :
description: updated
Revision history for this message
Alvin Penner (apenner) wrote :

- could you attach the file you are trying to import?
- if the file contains links to images, then you should attach those image files as well

su_v (suv-lp)
tags: added: bitmap importing win32
Changed in inkscape:
status: New → Incomplete
Revision history for this message
TrueBlue (sblueenterprises) wrote :

The file is always an image file, ( .jpg ).

Problem is reproduced when restarting the program and always on the consecutive second image to be watermarked.

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

- not reproduced on Windows 7, Inkscape 0.48.4
- not reproduced on Windows XP, Inkscape rev 12472
- the file loads correctly, both as a linked image and as an embedded image.
- could you provide detailed steps to reproduce. For example, are you loading multiple files? How do you load them? Are you linking them or embedding them? Which version of Inkscape? Are you 'open'ing them or 'import'ing them? Are you doing this from the gui or perhaps from a script file?

Revision history for this message
TrueBlue (sblueenterprises) wrote :

INKSCAPE VERSION: 0.48.4

Step 1
Import watermark logo ( I drag and drop from source aka folder ). Image is embedded.

Step 2
Import SLR Image to be watermarked (I drag and drop from source aka folder). Image is embedded.

Step 3
Position the two images and export

Step 4
Delete previous SLR image and Import next SLR Image to be watermarked
(I drag and drop from source aka folder). Image is embedded.
**IMPORT FAIL**
**CRASH**
**CLOSE PROGRAM**
**RESTART**

Step 5
Import next SLR Image to be watermarked
(I drag and drop from source aka folder). Image is embedded.

Step 6
Position the logo and SLR image and export

Step 7
Delete previous SLR Image and Import next SLR Image to be watermarked
(I drag and drop from source aka folder). Image is embedded.

Step 8
Position the logo and SLR image and export

Step 9
Delete previous SLR Image and Import next SLR Image to be watermarked
(I drag and drop from source aka folder). Image is embedded.
**IMPORT FAIL**
**CRASH**
**CLOSE PROGRAM**
**RESTART**

Step 10
Import next SLR Image to be watermarked
(I drag and drop from source aka folder). Image is embedded.

Step 11
Position the logo and SLR image and export

Step 12
Delete previous SLR Image and Import next SLR Image to be watermarked
(I drag and drop from source aka folder). Image is embedded.

Step 13
Position the logo and SLR image and export

Step 14
Delete previous SLR Image and Import next SLR Image to be watermarked
(I drag and drop from source aka folder). Image is embedded.
**IMPORT FAIL**
**CRASH**
**CLOSE PROGRAM**
**RESTART**

This is repeated

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

running Windows 7 (32 bit) and Inkscape 0.48.4, I am unable to reproduce the problem using multiple drag and drops and deletions as described.

- just two quick questions. when you say' Position the two images and export', how is the export done? Are you saving as svg, or as Cairo png, or are you using the option 'Export Bitmap'?
- instead of dragging and dropping, could you try to do a file Import instead? I believe this functions the same as drag and drop, except that the final position may need to be adjusted. The reason I am asking is because there are situations on my machine where drag and drop does not work. For example, if I start Inkscape from a DOS prompt, it appears that drag and drop does not work, while the File Import will still work.

Revision history for this message
TrueBlue (sblueenterprises) wrote :

Answers to your questions:

1.) When I save I use the export bitmap option

2.) I tried your advice in using the import option opposed to drag & drop. Unfortunately I get the same outcome, only this time I get 3 imports instead of 2.

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

well, I am at a loss...
- could you attach the background svg file just before the crash occurs? I am assuming you have some background image that you are dragging new images into. Could you attach that svg file, so that we can have an exact duplicate of what you are doing.

Revision history for this message
Alex (alex-one-web) wrote :

Inkscape 0.91
Windows 7 x64

The problem is "Microsoft Visual C++ Runtime Library"

I have encountered the same issue in Inskape.
I have found two version of Microsoft Visual C++ on my system, one was 2005 and the other 2008. I have uninstalled both of them and installed the new 2010 version.

Inkscape worked fine since.

Hope this helps your question and any in the future.

jazzynico (jazzynico)
Changed in inkscape:
status: Incomplete → Confirmed
importance: Undecided → High
Revision history for this message
jazzynico (jazzynico) wrote :

@Alex - Very interesting findings indeed. The Inkscape packages for Windows already provide an msvcr71 dll that should be used by default. But apparently it's not always the case.
Thanks for your comment!

Revision history for this message
Andrius (andrius1) wrote :

Hi Guys,

I just wanted to add that I can not import any of my .tif format bitmaps. Very similar crashing as above. except it is simple- opening new svg file and importing straight up crashes Inkscape.

Using windows 7 64 bit. using 32 bit Inscape 0.92.0 r15299

For now i am just converting all my files to PNGs as a solution....

I uninstalled all Visual C++ except 2013 and 2015. no help.

Cheers,

Andrius

Revision history for this message
Patrick Storz (ede123) wrote :

Might this actually have been a duplicate of bug #1467103?

@Andrius:
Could you attach a problematic .tif file (preferably to a new bug report)?
This problem might well be unrelated...

Revision history for this message
su_v (suv-lp) wrote :

Eduard Braun wrote:
> Might this actually have been a duplicate of bug #1467103?

Bug #1467103 at the time was not exposed with 32bit devlibs, see comment 5 in bug #1467103. AFAIIK only the 64bit devlibs (for Inkscape 0.91) shipped with external gdkpixbuf loaders.

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.