
Hi,
I'm using xorg 7.0 with the composite extension and inkscape is very easy to crash. I do the following:
1) start inkscape 2) use e.g. the rectangle tool to draw a shape 3) open the fill&stroke dielog 4) change the width of the stroke for the rectangle 5) click outside the rectangle to de-select it.
Inkscape crashes immediately every time, after giving the following error: ------------------------------- (inkscape:22744): Gdk-WARNING **: Attempt to draw a drawable with depth 32 to a drawable with depth 24
(inkscape:22744): Gdk-WARNING **: gdkpixbuf-drawable.c:1257: Depth of the source drawable is 32 where as the visual depth of the colormap passed is 24
(inkscape:22744): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy: assertion `pixbuf != NULL' failed
(inkscape:22744): GdkPixbuf-CRITICAL **: gdk_pixbuf_saturate_and_pixelate: assertion `GDK_IS_PIXBUF (src)' failed
Emergency save activated! --------------------------------
Actually, the first two messages I think are appearing right before, when I change the width of the stroke.
If I disable the composite extension, the identical procedure gives no crash.
Is xorg still buggy, or is his a "proper" inkscape bug? I'll do a gdb trace if it's interesting.
Cheers,
/Johan

Hi Johan,
Thanks for testing against xorg 7.0! Can you make sure there is a bug in the bug tracker for this issue? It might also be useful to have a back trace (see our Reporting Bugs page on the website for directions).
Bryce
On Tue, May 16, 2006 at 04:17:55PM +0200, Johan Forsberg wrote:
Hi,
I'm using xorg 7.0 with the composite extension and inkscape is very easy to crash. I do the following:
- start inkscape
- use e.g. the rectangle tool to draw a shape
- open the fill&stroke dielog
- change the width of the stroke for the rectangle
- click outside the rectangle to de-select it.
Inkscape crashes immediately every time, after giving the following error:
(inkscape:22744): Gdk-WARNING **: Attempt to draw a drawable with depth 32 to a drawable with depth 24
(inkscape:22744): Gdk-WARNING **: gdkpixbuf-drawable.c:1257: Depth of the source drawable is 32 where as the visual depth of the colormap passed is 24
(inkscape:22744): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy: assertion `pixbuf != NULL' failed
(inkscape:22744): GdkPixbuf-CRITICAL **: gdk_pixbuf_saturate_and_pixelate: assertion `GDK_IS_PIXBUF (src)' failed
Emergency save activated!
Actually, the first two messages I think are appearing right before, when I change the width of the stroke.
If I disable the composite extension, the identical procedure gives no crash.
Is xorg still buggy, or is his a "proper" inkscape bug? I'll do a gdb trace if it's interesting.
Cheers,
/Johan
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid%120709&bid&3057&... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel

On Tue, 16 May 2006 11:46:50 -0700, Bryce Harrington <bryce@...961...> wrote: -------------------------------
(inkscape:22744): Gdk-WARNING **: Attempt to draw a drawable with depth 32 to a drawable with depth 24
(inkscape:22744): Gdk-WARNING **: gdkpixbuf-drawable.c:1257: Depth of the source drawable is 32 where as the visual depth of the colormap passed is 24
(inkscape:22744): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy: assertion `pixbuf != NULL' failed
(inkscape:22744): GdkPixbuf-CRITICAL **: gdk_pixbuf_saturate_and_pixelate: assertion `GDK_IS_PIXBUF (src)' failed
If I disable the composite extension, the identical procedure gives no crash.
Is xorg still buggy, or is his a "proper" inkscape bug? I'll do a gdb trace if it's interesting.
I'm pretty sure that this is either an Inkscape or GDK bug. Composite means that the visual will be 32bpp (to accomodate the alpha channel) instead of 24bpp, and we may need to adjust the visual type of our intermediate drawables to match.
Anyway, as bryce noted, please file a bug. You might want to add my above comment to it.
-mental

fyi that page still lists the cvs command.
On Tue, 2006-05-16 at 11:46 -0700, Bryce Harrington wrote:
Hi Johan,
Thanks for testing against xorg 7.0! Can you make sure there is a bug in the bug tracker for this issue? It might also be useful to have a back trace (see our Reporting Bugs page on the website for directions).
Bryce
On Tue, May 16, 2006 at 04:17:55PM +0200, Johan Forsberg wrote:
Hi,
I'm using xorg 7.0 with the composite extension and inkscape is very easy to crash. I do the following:
- start inkscape
- use e.g. the rectangle tool to draw a shape
- open the fill&stroke dielog
- change the width of the stroke for the rectangle
- click outside the rectangle to de-select it.
Inkscape crashes immediately every time, after giving the following error:
(inkscape:22744): Gdk-WARNING **: Attempt to draw a drawable with depth 32 to a drawable with depth 24
(inkscape:22744): Gdk-WARNING **: gdkpixbuf-drawable.c:1257: Depth of the source drawable is 32 where as the visual depth of the colormap passed is 24
(inkscape:22744): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy: assertion `pixbuf != NULL' failed
(inkscape:22744): GdkPixbuf-CRITICAL **: gdk_pixbuf_saturate_and_pixelate: assertion `GDK_IS_PIXBUF (src)' failed
Emergency save activated!
Actually, the first two messages I think are appearing right before, when I change the width of the stroke.
If I disable the composite extension, the identical procedure gives no crash.
Is xorg still buggy, or is his a "proper" inkscape bug? I'll do a gdb trace if it's interesting.
Cheers,
/Johan
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid%120709&bid&3057&... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid%120709&bid&3057&... _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (4)
-
Bryce Harrington
-
Jared
-
Johan Forsberg
-
MenTaLguY