On Tue, Sep 04, 2012 at 02:36:29PM +0200, Sebastian Geerken wrote:
I'm mostly finished with cleaning up the calculation of extremes (used for tables). This should already work now, please test it again.
Just pushed some more changes; should be complete now. Please test thoroughly.
For me it crashes on e.g. focus.de after resizing the window or clicking a link. The stack is pretty long: Program terminated with signal 11, Segmentation fault. #0 0x0809adb6 in dw::Textblock::rewrap (this=0x2aca07f0) at textblock_linebreaking.cc:901 901 if (word->content.type == core::Content::WIDGET) { (gdb) bt #0 0x0809adb6 in dw::Textblock::rewrap (this=0x2aca07f0) at textblock_linebreaking.cc:901 #1 0x080975e7 in dw::Textblock::sizeRequestImpl (this=0x2aca07f0, requisition=0x287525f0) at textblock.cc:140 #2 0x080b6d3f in dw::core::Widget::sizeRequest (this=0x2aca07f0, requisition=0x287525f0) at widget.cc:176 #3 0x080949e1 in dw::Textblock::calcWidgetSize (this=0x2aca1930, widget=0x2aca07f0, size=0x287525f0) at textblock.cc:772 #4 0x0809ae04 in dw::Textblock::rewrap (this=0x2aca1930) at textblock_linebreaking.cc:897 #5 0x080975e7 in dw::Textblock::sizeRequestImpl (this=0x2aca1930, requisition=0x28cd6570) at textblock.cc:140 #6 0x080b6d3f in dw::core::Widget::sizeRequest (this=0x2aca1930, requisition=0x28cd6570) at widget.cc:176 #7 0x080949e1 in dw::Textblock::calcWidgetSize (this=0x2aca4030, widget=0x2aca1930, size=0x28cd6570) at textblock.cc:772 #8 0x0809ae04 in dw::Textblock::rewrap (this=0x2aca4030) at textblock_linebreaking.cc:897 #9 0x080975e7 in dw::Textblock::sizeRequestImpl (this=0x2aca4030, requisition=0x2aca3bb0) at textblock.cc:140 #10 0x080b6d3f in dw::core::Widget::sizeRequest (this=0x2aca4030, requisition=0x2aca3bb0) at widget.cc:176 #11 0x080949e1 in dw::Textblock::calcWidgetSize (this=0x2aca4330, widget=0x2aca4030, size=0x2aca3bb0) at textblock.cc:772 #12 0x0809ae04 in dw::Textblock::rewrap (this=0x2aca4330) at textblock_linebreaking.cc:897 #13 0x080975e7 in dw::Textblock::sizeRequestImpl (this=0x2aca4330, requisition=0x2aca3df0) at textblock.cc:140 #14 0x080b6d3f in dw::core::Widget::sizeRequest (this=0x2aca4330, requisition=0x2aca3df0) at widget.cc:176 #15 0x080949e1 in dw::Textblock::calcWidgetSize (this=0x2aca41b0, widget=0x2aca4330, size=0x2aca3df0) at textblock.cc:772 #16 0x0809ae04 in dw::Textblock::rewrap (this=0x2aca41b0) at textblock_linebreaking.cc:897 #17 0x080975e7 in dw::Textblock::sizeRequestImpl (this=0x2aca41b0, requisition=0x287d10f8) at textblock.cc:140 #18 0x080b6d3f in dw::core::Widget::sizeRequest (this=0x2aca41b0, requisition=0x287d10f8) at widget.cc:176 ... Any ideas? Johannes