Package: inkscape
Version: 0.48.3.1-1.3
Severity: important
Dear Maintainer,
Here are the steps that I used to reproduce the bug on my machine.
* Click menu “File” -- “Import from Open Clip Art”
* Type Tubo de Ensaio
* Click Search
* Select the fist or second item in the list
X dialog appears: “Inkscape encountered an internal error and will close
now
The console output:
Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can
fix it.
Segmentation fault (core dumped)
I have recompiled the package from source in order to get usable backtrace
DEB_BUILD_OPTIONS=nostrip noopt fakeroot apt-get -b source inkscape
And here is the backtrace:
$ gdb inkscape core
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/inkscape...done.
[New LWP 16264]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
Core was generated by `inkscape'.
Program terminated with signal 11, Segmentation fault.
#0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:260
260 ../sysdeps/x86_64/multiarch/strcmp.S: No such file or directory.
(gdb) bt
#0 __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp.S:260
#1 0x014269d2 in cr_rgb_set_from_name (a_this=0x7fff53355ad0,
a_color_name=0x7db9a20 none) at libcroco/cr-rgb.c:422
#2 0x7fad31950aff in rsvg_css_parse_color (str=optimized out,
inherit=0x7db97e4) at rsvg-css.c:380
#3 0x7fad319683a0 in rsvg_parse_style_pair (important=0, value=0x7db9a20
none, name=0x7db9980 stop-color, state=0x7db9640, ctx=0x6213450)
at rsvg-styles.c:756
#4 rsvg_parse_style_pair (ctx=0x6213450, state=0x7db9640, name=0x7db9980
stop-color, value=0x7db9a20 none, important=0) at rsvg-styles.c:463
#5 0x7fad31969780 in rsvg_parse_style (ctx=0x6213450, state=0x7db9640,
str=optimized out) at rsvg-styles.c:972
#6 0x7fad31952734 in rsvg_stop_set_atts (self=0x7db95e0, ctx=0x6213450,
atts=0x6b948c0) at rsvg-paint-server.c:206
#7 0x7fad3196c052 in rsvg_node_set_atts (atts=0x6b948c0, ctx=0x6213450,
node=0x7db95e0) at rsvg-base.c:1952
#8 rsvg_standard_element_start (ctx=0x6213450, name=optimized out,
atts=0x6b948c0) at rsvg-base.c:283
#9 0x7fad3196f548 in rsvg_start_element (data=0x6213450, name=optimized
out, atts=optimized out) at rsvg-base.c:647
#10 0x7fad46eec668 in xmlParseStartTag__internal_alias
(ctxt=ctxt@entry=0x7d6e450) at ../../parser.c:8411
#11 0x7fad46ef4ff0 in xmlParseTryOrFinish (ctxt=ctxt@entry=0x7d6e450,
terminate=terminate@entry=0) at ../../parser.c:11120
#12 0x7fad46ef5d61 in xmlParseChunk__internal_alias (ctxt=0x7d6e450,
chunk=0x7fff53356160 ?xml version=\1.0\ encoding=\UTF-8\
standalone=\no\?\n!-- Created with Inkscape (http://www.inkscape.org/)
--\nsvg xmlns:dc=\http://purl.org/dc/elements/1.1/\;
xmlns:cc=\http://web.resource.org/cc/\;..., size=28252, terminate=0) at
../../parser.c:11897
#13 0x7fad3196ecef in rsvg_handle_write_impl (error=0x7fff533671f8,
count=28252,
buf=0x7fff53356160 ?xml version=\1.0\ encoding=\UTF-8\
standalone=\no\?\n!-- Created with Inkscape (http://www.inkscape.org/)
--\nsvg xmlns:dc=\http://purl.org/dc/elements/1.1/\;
xmlns:cc=\http://web.resource.org/cc/\;..., handle=0x6213450) at
rsvg-base.c:1121
#14 rsvg_handle_write (handle=0x6213450,
buf=0x7fff53356160 ?xml version=\1.0\ encoding=\UTF-8\
standalone=\no\?\n!-- Created with Inkscape (http://www.inkscape.org/)
--\nsvg xmlns:dc=\http://purl.org/dc/elements/1.1/\;
xmlns:cc=\http://web.resource.org/cc/\;..., count=28252,
error=0x7fff533671f8) at rsvg-base.c:1680
#15 0x7fad31b7dd51 in gdk_pixbuf__svg_image_load_increment (data=0x7ce5820,
buf=0x7fff53356160 ?xml version=\1.0\ encoding=\UTF-8\
standalone=\no\?\n!-- Created with Inkscape (http://www.inkscape.org/)
--\nsvg xmlns:dc=\http://purl.org/dc/elements/1.1/\;
xmlns:cc=\http://web.resource.org/cc/\;..., size=28252, error=0x7fff533671f8)
at io-svg.c:135
#16 0x7fad43df2394 in ?? () from
/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
#17 0x7fad43df25ac in gdk_pixbuf_new_from_file () from
/usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
#18 0x7fad46332a21 in Gdk::Pixbuf::create_from_file(std::string const) ()
from /usr/lib/libgdkmm-2.4.so.1
#19 0x0104f18b in Inkscape::UI::Dialog::SVGPreview::showImage