Ah, I notice you mentioned testing in the container image. When I built it before, I was then calling the built executable outside the container, back in Ubuntu. When I run it from inside the container, it works as expected! I’m guessing this is a difference in dependencies that don’t get bundled or some such?
It seems like this is probably resolved, but in case it helps, here’s the output for the sample file, when running with RSVG_LOG=1 in Ubuntu:
(svg id=None
(defs id=None
)
(g id=None
(rect id=None
)
)
)
Error rendering SVG librsvg/librsvg_test.svg: rendering error: NoMemory
And the Wikimedia file:
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 120 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 120 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 120 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 120 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 137 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
Invalid declaration; ignoring: (ParseError { kind: Custom(UnknownProperty), location: SourceLocation { line: 0, column: 122 } }, "text-align:start;")
(svg id=svg2
(defs id=defs4
)
(namedview id=base
)
(metadata id=metadata7
)
(g id=layer1
(rect id=rect2358
)
(rect id=rect4314
)
(rect id=rect4318
)
(rect id=rect4322
)
(rect id=rect4326
)
(rect id=rect4330
)
(rect id=rect4334
)
(rect id=rect4338
)
(rect id=rect4342
)
(rect id=rect4346
)
(rect id=rect4350
)
(rect id=rect4372
)
(rect id=rect4376
)
(rect id=rect4380
)
(rect id=rect4384
)
(rect id=rect4388
)
(rect id=rect4392
)
(rect id=rect4396
)
(rect id=rect4400
)
(rect id=rect4404
)
(rect id=rect4408
)
)
)
Error rendering SVG librsvg/Pyramide_des_âges_Kourou_1999.svg: rendering error: NoMemory