Bug #1714
closedSegfault when rendering image to pdf
0%
Description
Passing the following HTML to render():
leads to a segmentation fault with the following stacktrace:
#0 Wt::Render::Block::cssTextAlign (this=0x0) at Wt/Render/Block.C:1950
#1 0x0000000000581a89 in Wt::Render::Block::cssTextAlign (this=this@entry=0x7ffff4eabb90) at Wt/Render/Block.C:1978
#2 0x0000000000585642 in Wt::Render::Block::layoutBlock (this=0x7ffff4eabb90, ps=..., canIncreaseWidth=, renderer=..., collapseMarginTop=1.7976931348623157e+308,
collapseMarginBottom=0, cellHeight=) at Wt/Render/Block.C:1583
#3 0x00000000004e79f9 in Wt::Render::WTextRenderer::render (this=0x7ffff4ebbd20, text=..., y=) at WTextRenderer.C:94
See also http://sourceforge.net/mailarchive/message.php?msg_id=30521720
Updated by Koen Deforche over 11 years ago
- Status changed from New to Resolved
- Assignee set to Koen Deforche
- Target version set to 3.3.0
Hey,
I've fixed this. You also try the following as a workaround: wrap the img in a
(or any other block level element).
Regards,
koen
Updated by Koen Deforche over 11 years ago
- Status changed from Resolved to Closed