0.47pre3 Crash with paste image
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Inkscape |
New
|
High
|
Unassigned | ||
Bug Description
I have windows Vista, but the problem can produced also with windows XP.
If I press "Print screen" key and paste the image then Inkscape always crash.
Not reproduced on Vista sp1, Inkscape 0.47pre3 and revision 22384.
The clipboard is correctly pasted.
- cannot reproduce on Windows XP, Inkscape 0.47pre3.
- could you try to capture the error messages that may be produced, using the method outlined at :
http://
- This will require downloading the (small) program inkscapec.exe, saving it into the same directory as Inkscape, and running it from a DOS prompt.
- screen.zip Edit (1014.8 KiB, application/zip)
I have tried another time with version Inkscape-
I crash each times, I press on my keyboard the key "Print Screen" (on my keyboard the key name is "Impr Ecran/syst" I suppose that for you it is the "print screen" key), and I select in menu "paste" (see pictures).
Could you the set the source of the version 0.47pre3 on "http://
I can compile this version and try with gdb.
Best regards
> Could you the set the source of the version 0.47pre3 on "http://
? the source tarball are right where you downloaded the prebuilt 0.47pre3 on sf.net.
> I can compile this version and try with gdb.
In the meantime there has been 0.47pre4 released - you can get the files you need from <http://
just out of curiosity (I'm not on Windows) - do you use a clipboard manager? If so - have you tested without it? And is the file output format of 'Print Screen' configurable? What is its default - PNG, BMP or other?
... and one more question: does it also happen if you first save the new document before pasting the screen print?
Background: a pasted image is not stored inside the document but inserted as a linked bitmap which is newly written to the disk. If Inkscape doesn't have permission to write that bitmap file it crashes.
> ... and one more question: does it also happen if you first save the new document before pasting the screen print?
Just start inkscape, press "Print Screen", and select the menu "Edit/Paste" ... you get a crash, there is no more complicated...
In the Vista log I get this message :
Application défaillante inkscape.exe, version 0.46.0.0, horodatage 0x4ac07e68, module défaillant libglibmm-
> ... you get a crash, there is no more complicated...
I didn't doubt that you get the crash easily and repeatedly - my
questions are geared towards narrowing down the underlying cause for the
crash (like denied permissions for writing inkscape_
files - see bug #339715 comment #3 for a short technical explanation).
> In the Vista log I get this message :
> Application défaillante inkscape.exe, version 0.46.0.0,
Does Inkscape 0.47pre3 or pre4 crash as well?
are you able to successfully save the document before you hit "Print Screen"?
are you able to successfully export a bitmap using File->Export Bitmap
> does it also happen if you first save the new document before
> pasting the screen print?
Previous versions of Inkscape (even prerelease) wrote bitmap copies -
images pasted into unsaved documents - into the root application
directory (on OS X: inside the application bundle). If you didn't have
write permissions to the inkscape installation folder this would cause a
crash (Glib::FileError). If a document has been saved, pasted images are
stored in the same folder as the svg file.
The default location recently changed (at least on OS X): bitmap copies
are saved in $HOME as long as the svg document is unsaved. I don't know
how this is handled on win32 platforms though.
- Sans titre 1.png Edit (172.9 KiB, image/png)
I have installed inkscape directly with your setup (not from the zip), then the problem have disapeared, however the image paste are sometime noised (see attachement).
> If a document has been saved, pasted images are stored in the same folder as the svg file.
I have try with not installed version, I save svg document before the paste, then inkscape not crash.
> I have try with not installed version, I save svg document before the
> paste, then inkscape not crash.
thanks for confirming.
most of the bugs related to the initial crash reported (''Glib:
Bug #211607 "Crashes when attempting to use "Paste objects from clipboard...""
Bug #226259 "[Win32] Pasting from the clipboard causes VC++ runtime error when logged in as limited user"
Bug #272192 "Clicking "Edit->Paste" causes an internal error"
Bug #308456 "copy/paste crashes Inkscape"
Bug #328597 "Inkscape crashes when copying and pasting picture from openoffice document"
Bug #308456 "copyt/paste crashes Inkscape"
Bug #339715 "Pasting from Illustrator crashes Inkscape": *** Ulferikson's explanation ***
Bug #381301 "copy, paste, crash"
Bug #418832 "Crashes after clipboard paste"
Bug #442308 "Pasting crashes Inkscape 0.47-pre3 on Mac OS X 10.5"
Note: these 'Glib::FileError' crashes still need to be triaged and marked as duplicate of the first reported or most relevant if the same cause is indicated. Even if pasting from clipboard no longer crashes here the common root cause is an unhandled exception (terminate called after throwing an instance of 'Glib::FileError').
now pre4 is out and i can't reproduce this error with pre4.
so, can this report be closed?
@Alvin - I doubt that the 'Glib::FileError' has already been fixed (Inkscape 0.47pre3 still crashes on OS X under similar circumstances i.e. if user has no write permissions to tmp locations of pasted bitmaps). I'd rather link this report as duplicate to a bug like 211607 or 226259. There could be even earlier reports, but I didn't search beyond above list yet ;-)
@Remi - if you continue to have 'noisy' pasted images, please file a separate report.
Marking as duplicate of bug #211607. Please add a comment and revert the duplicate status if you don't agree.
Remi B wrote on 2009年10月13日: (comment #11)
> however the image paste are sometime noised
JFTR: this could be the same as bug #168386 "Large PNG image import fails."
<https:/