On Sun, Jul 13, 2008 at 08:25:49PM +0200, Koen Deforche wrote: > > Wt will crash when trying to call WContainerWidget::setLayout when you > > pass in a WGridLayout that satisfies the following conditions > > > > - does not yet have that WContainerWidget as a Parent > > - is not complete, ie for example when adding a widget to cells > > 0,0; 0,1 and 1,1 but not 1,0. > > > > I trust Koen to bring out a quick fix or I shall have to > > regulate his meat intake during the BBQ next week! A patch to 2.1.4 is > > appreciated. > > I have checked in a fix, among alot of other cosmetic changes (which > involve improved logging and error handling), in CVS. > > Due to me being a bit clumsy with git, it is not so easy to provide a > clean patch to 2.1.4. Would using CVS be an adequate temporary > solution?
It is still problematic (CVS as of today) : relevant backtrace #0 Wt::StdLayoutImpl::getImpl (item=0x0) at /Users/bartvanhauwaert/src/wt-cvs/wt/src/wt/StdLayoutImpl.C:29 #1 0x00694b1b in Wt::StdLayoutImpl::containerAddWidgets (this=0xd14110, container=0xd13230) at /Users/bartvanhauwaert/src/wt-cvs/wt/src/wt/StdLayoutImpl.C:72 #2 0x006910fa in Wt::StdGridLayoutImpl::containerAddWidgets (this=0xd14110, container=0xd13230) at /Users/bartvanhauwaert/src/wt-cvs/wt/src/wt/StdGridLayoutImpl.C:208 #3 0x006d9dbc in Wt::WContainerWidget::setLayout (this=0xd14110, layout=0xd13370, alignment=4) at /Users/bartvanhauwaert/src/wt-cvs/wt/src/wt/WContainerWidget.C:83 Looking at Wt::StdLayoutImpl::containerAddWidgets it still seems to loop from 0 to count()? cu bart ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
