I've attached a test program that creates a dialog containing multiple tabs. If I only create a single tab, the test program works. I'm using Wt from git, updated as of 2009/9/25. Here's part of the backtrace - note that item=0x0 in the routine that crashed.

Should I create the dialog differently, or is this a bug?


#0 Wt::WContainerWidget::propagateLayoutItemsOk (this=0xf133a0, item=0x0) at /Users/vanandel/code/wt_git/src/Wt/WContainerWidget.C:516 #1 0x0057c5ec in Wt::WContainerWidget::propagateLayoutItemsOk (this=0xf133a0, item=0xf134f0) at /Users/vanandel/code/wt_git/src/Wt/ WContainerWidget.C:520 #2 0x0057c5ec in Wt::WContainerWidget::propagateLayoutItemsOk (this=0xf133a0, item=0xf13430) at /Users/vanandel/code/wt_git/src/Wt/ WContainerWidget.C:520 #3 0x0057c927 in Wt::WContainerWidget::propagateRenderOk (this=0xf133a0, deep=true) at /Users/vanandel/code/wt_git/src/Wt/ WContainerWidget.C:535 #4 0x00689192 in Wt::WWebWidget::createSDomElement (this=0xf133a0, app=0xf0c980) at /Users/vanandel/code/wt_git/src/Wt/WWebWidget.C:1371 #5 0x0057cbe3 in Wt::WContainerWidget::createDomChildren (this=0xf11a30, pare...@0xf15f50, app=0xf0c980) at /Users/vanandel/ code/wt_git/src/Wt/WContainerWidget.C:652 #6 0x0057d59f in Wt::WContainerWidget::createDomElement (this=0xf11a30, app=0xf0c980) at /Users/vanandel/code/wt_git/src/Wt/ WContainerWidget.C:594 #7 0x00616ea7 in Wt::WStackedWidget::createDomElement (this=0xf11a30, app=0xf133a0) at /Users/vanandel/code/wt_git/src/Wt/WStackedWidget.C:107 #8 0x006893a0 in Wt::WWebWidget::createSDomElement (this=0xf11a30, app=0xf0c980) at /Users/vanandel/code/wt_git/src/Wt/WWebWidget.C:1399 #9 0x005285cc in Wt::StdWidgetItemImpl::createDomElement (this=0xf133a0, fitWidth=true, fitHeight=true, app=0xf0c980) at /Users/ vanandel/code/wt_git/src/Wt/StdWidgetItemImpl.C:46 #10 0x00524a16 in Wt::StdGridLayoutImpl::createDomElement (this=0xf12310, fitWidth=true, fitHeight=true, app=0xf0c980) at /Users/ vanandel/code/wt_git/src/Wt/StdGridLayoutImpl.C:570 #11 0x0057cb6d in Wt::WContainerWidget::createDomChildren (this=0xf117e0, pare...@0xf15cb0, app=0xf0c980) at /Users/vanandel/ code/wt_git/src/Wt/WContainerWidget.C:606 #12 0x0057d59f in Wt::WContainerWidget::createDomElement (this=0xf117e0, app=0xf0c980) at /Users/vanandel/code/wt_git/src/Wt/ WContainerWidget.C:594 #13 0x006893a0 in Wt::WWebWidget::createSDomElement (this=0xf117e0, app=0xf0c980) at /Users/vanandel/code/wt_git/src/Wt/WWebWidget.C:1399 #14 0x005285cc in Wt::StdWidgetItemImpl::createDomElement (this=0xf133a0, fitWidth=false, fitHeight=false, app=0xf0c980) at / Users/vanandel/code/wt_git/src/Wt/StdWidgetItemImpl.C:46 #15 0x00524a16 in Wt::StdGridLayoutImpl::createDomElement (this=0xf116b0, fitWidth=true, fitHeight=true, app=0xf0c980) at /Users/ vanandel/code/wt_git/src/Wt/StdGridLayoutImpl.C:570 #16 0x0057cb6d in Wt::WContainerWidget::createDomChildren (this=0xf10b70, pare...@0xf15620, app=0xf0c980) at /Users/vanandel/ code/wt_git/src/Wt/WContainerWidget.C:606 #17 0x0057d59f in Wt::WContainerWidget::createDomElement (this=0xf10b70, app=0xf0c980) at /Users/vanandel/code/wt_git/src/Wt/ WContainerWidget.C:594 #18 0x006893a0 in Wt::WWebWidget::createSDomElement (this=0xf10b70, app=0xf0c980) at /Users/vanandel/code/wt_git/src/Wt/WWebWidget.C:1399 #19 0x005285cc in Wt::StdWidgetItemImpl::createDomElement (this=0xf133a0, fitWidth=true, fitHeight=true, app=0xf0c980) at /Users/ vanandel/code/wt_git/src/Wt/StdWidgetItemImpl.C:46 #20 0x00524a16 in Wt::StdGridLayoutImpl::createDomElement (this=0xf10cd0, fitWidth=false, fitHeight=true, app=0xf0c980) at / Users/vanandel/code/wt_git/src/Wt/StdGridLayoutImpl.C:570 #21 0x0057cb6d in Wt::WContainerWidget::createDomChildren (this=0xf10190, pare...@0xf14f90, app=0xf0c980) at /Users/vanandel/ code/wt_git/src/Wt/WContainerWidget.C:606 #22 0x0057d59f in Wt::WContainerWidget::createDomElement (this=0xf10190, app=0xf0c980) at /Users/vanandel/code/wt_git/src/Wt/ WContainerWidget.C:594 #23 0x006893a0 in Wt::WWebWidget::createSDomElement (this=0xf10190, app=0xf0c980) at /Users/vanandel/code/wt_git/src/Wt/WWebWidget.C:1399 #24 0x0057e596 in Wt::WContainerWidget::updateDom (this=0xf0cb70, eleme...@0xf14ee0, all=false) at /Users/vanandel/code/wt_git/src/Wt/ WContainerWidget.C:480 #25 0x0057d72a in std::vector<Wt::DomElement*, std::allocator<Wt::DomElement*> >::push_back () at stl_vector.h:584 #26 0x0057d72a in Wt::WContainerWidget::getDomChanges (this=0xf0cb70, resu...@0xb05113f8, app=0xf0c980) at /Users/vanandel/code/wt_git/src/ Wt/WContainerWidget.C:585 #27 0x00687c37 in Wt::WWebWidget::getSDomChanges (this=0xf0cb70, resu...@0xb05113f8, app=0xf0c980) at /Users/vanandel/code/wt_git/src/ Wt/WWebWidget.C:1280 #28 0x006ea473 in std::_Rb_tree_const_iterator<std::pair<int const, Wt::WWidget*> >::operator++ () at stl_tree.h:925 #29 0x006ea473 in Wt::WebRenderer::collectChanges (this=0x1011840, chang...@0xb05113f8) at /Users/vanandel/code/wt_git/src/web/ WebRenderer.C:887



Attachment: dialogTabDemo.C
Description: Binary data

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to