Crash with BadWindow when cutting/copying objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Version: Inkscape 0.91 r13725 (also occurs on latest compiled bzr branch)
OS: Arch Linux (using latest inkscape 0.91-18 package)
Kernel: 4.5.2-1-ARCH
DE: plasma-desktop 5.6.4
WM: kwin_x11 5.6.4
Using inkscape, cutting or copying an imported raster image object causes a crash with the following error:
The program 'inkscape' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
(Details: serial 16802 error_code 3 request_code 18 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Steps to reproduce:
-------------------
1. Create new inkscape svg file
2. Import a raster image file (I've seen this happen with multiple tif, jpg, and png files, so file format does not seem to be the deciding factor).
3. Cut the imported object using Ctrl-X shortcut
4. Typically, this will cause a crash, but sometimes will not. If it does not, usually repeated cutting/pasting will cause the crash.
Other notes:
------------
1. Importing a "regular" svg (of just a path) then cutting and pasting repeatedly does not trigger this crash.
2. Some imported raster images will not cause a crash, for some reason (one such image is attached).
3. Sometimes right before crashing, the following error message is printed:
(inkscape:8966): Gdk-CRITICAL **: IA__gdk_
4. The crash will occur regardless of the "Image rendering mode" chosen during import.
5. Crash occurs regardless of image DPI option chosen.
6. Crash does NOT occur if "Link" is chosen instead of "Embed"
I have attached two raster images that I found did (and did not) trigger the crash. Hopefully someone can reproduce this. Please let me know if any other information is needed.
tags: | added: bug-migration |
Thanks for taking the time to file a report!
Not reproduced on Windows XP (32-bit), Inkscape 0.91 and trunk rev. 14998.