I just got another one, this one definitely from the font renderer. I was working on converting some markup, so the C++ code is all the current trunk version. I guess the next step is to use unique_ptr for the RenderNodes after we have the multitexture branch finished - I had looked into it there and decided against it in order to keep the diff a bit smallerer. Also, the change will be non-trivial.
Thread 1 "widelands" received signal SIGSEGV, Segmentation fault.
0x0000000000dede0f in RT::DivTagRenderNode::~DivTagRenderNode (this=0x8f48860, __in_chrg=<optimised out>)
at /home/bratzbert/sources/widelands/fh1-editorhelp/src/graphic/text/rt_render.cc:688
688 delete n;
(gdb) backtrace
#0 0x0000000000dede0f in RT::DivTagRenderNode::~DivTagRenderNode (this=0x8f48860, __in_chrg=<optimised out>)
at /home/bratzbert/sources/widelands/fh1-editorhelp/src/graphic/text/rt_render.cc:688
#1 0x0000000000dede9e in RT::DivTagRenderNode::~DivTagRenderNode (this=0x8f48860, __in_chrg=<optimised out>)
at /home/bratzbert/sources/widelands/fh1-editorhelp/src/graphic/text/rt_render.cc:691
#2 0x0000000000df87ea in std::default_delete<RT::RenderNode>::operator() (this=0x7fffffffa050, __ptr=0x8f48860)
at /usr/include/c++/5/bits/unique_ptr.h:76
#3 0x0000000000df5e19 in std::unique_ptr<RT::RenderNode, std::default_delete<RT::RenderNode> >::~unique_ptr (this=0x7fffffffa050,
__in_chrg=<optimised out>) at /usr/include/c++/5/bits/unique_ptr.h:236
#4 0x0000000000dec348 in RT::Renderer::render (this=0x1c28810,
text="<rt><p><font size=18 bold=1 color=D1D1D1>Àilean beinne<br></font></p><vspace gap=6><div width=100%><div width=100%><p><font size=12><img src=world/terrains/pics/desert/highmountainmeadow_00.png><vspa"..., width=338, allowed_tags=std::set with 0 elements)
at /home/bratzbert/sources/widelands/fh1-editorhelp/src/graphic/text/rt_render.cc:1485
#5 0x0000000000dbd053 in (anonymous namespace)::RTImage::texture (this=0x8f47f80)
at /home/bratzbert/sources/widelands/fh1-editorhelp/src/graphic/font_handler1.cc:91
#6 0x0000000000dbcf5e in (anonymous namespace)::RTImage::width (this=0x8f47f80)
I just got another one, this one definitely from the font renderer. I was working on converting some markup, so the C++ code is all the current trunk version. I guess the next step is to use unique_ptr for the RenderNodes after we have the multitexture branch finished - I had looked into it there and decided against it in order to keep the diff a bit smallerer. Also, the change will be non-trivial.
Thread 1 "widelands" received signal SIGSEGV, Segmentation fault. rNode:: ~DivTagRenderNo de (this=0x8f48860, __in_chrg= <optimised out>) /sources/ widelands/ fh1-editorhelp/ src/graphic/ text/rt_ render. cc:688 rNode:: ~DivTagRenderNo de (this=0x8f48860, __in_chrg= <optimised out>) /sources/ widelands/ fh1-editorhelp/ src/graphic/ text/rt_ render. cc:688 rNode:: ~DivTagRenderNo de (this=0x8f48860, __in_chrg= <optimised out>) /sources/ widelands/ fh1-editorhelp/ src/graphic/ text/rt_ render. cc:691 delete< RT::RenderNode> ::operator( ) (this=0x7ffffff fa050, __ptr=0x8f48860) c++/5/bits/ unique_ ptr.h:76 ptr<RT: :RenderNode, std::default_ delete< RT::RenderNode> >::~unique_ptr (this=0x7ffffff fa050, chrg=<optimised out>) at /usr/include/ c++/5/bits/ unique_ ptr.h:236 :render (this=0x1c28810, "<rt><p> <font size=18 bold=1 color=D1D1D1>Àilean beinne< br></font> </p><vspace gap=6><div width=100%><div width=100%><p><font size=12><img src=world/ terrains/ pics/desert/ highmountainmea dow_00. png><vspa" ..., width=338, allowed_ tags=std: :set with 0 elements) /sources/ widelands/ fh1-editorhelp/ src/graphic/ text/rt_ render. cc:1485 ::RTImage: :texture (this=0x8f47f80) /sources/ widelands/ fh1-editorhelp/ src/graphic/ font_handler1. cc:91 ::RTImage: :width (this=0x8f47f80)
0x0000000000dede0f in RT::DivTagRende
at /home/bratzbert
688 delete n;
(gdb) backtrace
#0 0x0000000000dede0f in RT::DivTagRende
at /home/bratzbert
#1 0x0000000000dede9e in RT::DivTagRende
at /home/bratzbert
#2 0x0000000000df87ea in std::default_
at /usr/include/
#3 0x0000000000df5e19 in std::unique_
__in_
#4 0x0000000000dec348 in RT::Renderer:
text=
at /home/bratzbert
#5 0x0000000000dbd053 in (anonymous namespace)
at /home/bratzbert
#6 0x0000000000dbcf5e in (anonymous namespace)