infinite loop opening attached file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Alvin Penner | ||
inkscape (Debian) |
Fix Released
|
Unknown
|
Bug Description
Hi,
I just tried rebuilding debian's openclipart package and noticed the attached file lead to an infinite loop repeating
** (inkscape:24622): WARNING **: helper-
** (inkscape:24622): WARNING **: helper-
** (inkscape:24622): WARNING **: helper-
on the console. The inkscape window never opens. The last lines in an strace before the loop are:
25353 stat("/
25353 open("/
25353 fstat(7, {st_mode=
25353 mmap(NULL, 34040, PROT_READ, MAP_SHARED, 7, 0) = 0x7f4110eee000
25353 close(7) = 0
25353 stat("/
25353 open("/
25353 fstat(7, {st_mode=
25353 mmap(NULL, 1472, PROT_READ, MAP_SHARED, 7, 0) = 0x7f4110eed000
25353 close(7) = 0
25353 stat("/
25353 open("/
25353 fstat(7, {st_mode=
25353 read(7, "\4\374\
25353 close(7) = 0
25353 brk(0x351c000) = 0x351c000
25353 brk(0x351d000) = 0x351d000
25353 brk(0x351c000) = 0x351c000
25353 brk(0x353d000) = 0x353d000
25353 brk(0x353c000) = 0x353c000
25353 brk(0x355d000) = 0x355d000
25353 brk(0x357e000) = 0x357e000
25353 brk(0x359f000) = 0x359f000
25353 brk(0x359e000) = 0x359e000
25353 brk(0x35bf000) = 0x35bf000
25353 brk(0x35e0000) = 0x35e0000
25353 write(2, "\n** (inkscape:25353): WARNING **"..., 140) = 140
25353 write(2, "\n** (inkscape:25353): WARNING **"..., 175) = 175
25353 write(2, "\n** (inkscape:25353): WARNING **"..., 219) = 219
25353 write(2, "\n** (inkscape:25353): WARNING **"..., 174) = 174
25353 write(2, "\n** (inkscape:25353): WARNING **"..., 124) = 124
25353 write(2, "\n** (inkscape:25353): WARNING **"..., 124) = 124
I use version 0.47 from debian unstable on an amd64 laptop.
Version 0.46-2.lenny2 does render the file, so it seems to be a regression.
Thanks,
Wolfi
Related branches
tags: | added: crash |
Changed in inkscape: | |
assignee: | nobody → Alvin Penner (apenner) |
milestone: | none → 0.49 |
Changed in inkscape (Debian): | |
status: | Unknown → New |
Changed in inkscape (Debian): | |
status: | New → Confirmed |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Changed in inkscape (Debian): | |
status: | Confirmed → Fix Released |
reproduced with Inkscape 0.47+devel r9013 on OS X 10.5.8: I didn't catch any error messages from Inkscape since it created havoc with my log file I redirect console output to (obviously *not* recommended when testing to open this file in Inkscape 0.47).
Batik 1.7 doesn't load the file at all:
org.apache. batik.bridge. BridgeException : For input string: "17,4" batik.bridge. AbstractSVGGrad ientElementBrid ge$SVGStopEleme ntBridge. createStop( AbstractSVGGrad ientElementBrid ge.java: 326) batik.bridge. AbstractSVGGrad ientElementBrid ge.extractLocal Stop(AbstractSV GGradientElemen tBridge. java:237) batik.bridge. AbstractSVGGrad ientElementBrid ge.extractStop( AbstractSVGGrad ientElementBrid ge.java: 189) batik.bridge. AbstractSVGGrad ientElementBrid ge.createPaint( AbstractSVGGrad ientElementBrid ge.java: 70) batik.bridge. PaintServer. convertURIPaint (PaintServer. java:359) batik.bridge. PaintServer. convertPaint( PaintServer. java:259) batik.bridge. PaintServer. convertFillPain t(PaintServer. java:228) batik.bridge. PaintServer. convertFillAndS troke(PaintServ er.java: 146) batik.bridge. SVGShapeElement Bridge. createShapePain ter(SVGShapeEle mentBridge. java:117) batik.bridge. SVGDecoratedSha peElementBridge .createFillStro kePainter( SVGDecoratedSha peElementBridge .java:58) batik.bridge. SVGDecoratedSha peElementBridge .createShapePai nter(SVGDecorat edShapeElementB ridge.java: 84) batik.bridge. SVGShapeElement Bridge. buildGraphicsNo de(SVGShapeElem entBridge. java:91) batik.bridge. GVTBuilder. build(GVTBuilde r.java: 145) batik.bridge. SVGUseElementBr idge.buildCompo siteGraphicsNod e(SVGUseElement Bridge. java:216) batik.bridge. SVGUseElementBr idge.createGrap hicsNode( SVGUseElementBr idge.java: 98) batik.bridge. GVTBuilder. buildGraphicsNo de(GVTBuilder. java:213) batik.bridge. GVTBuilder. buildComposite( GVTBuilder. java:171) batik.bridge. GVTBuilder. buildGraphicsNo de(GVTBuilder. java:219) batik.bridge. GVTBuilder. buildComposite( GVTBuilder. java:171) batik.bridge. GVTBuilder. build(GVTBuilde r.java: 82) batik.swing. svg.GVTTreeBuil der.run( GVTTreeBuilder. java:96)
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.