Hi,

While some details may have changed in one class or another, the principle
that a parent deletes its children has not changed. I don't know by heart
why this specific case worked in 3.2.1 and doesn't work in 3.3.1 - this
requires some investigation.

Note that if you make sure that your children are destroyed before the
parent is destroyed, the code will probably work. But I must say I don't
use this style so I don't have practical experience with it. Does it work
when you change the order of the declarations in your class like this:

Wt::WContainerWidget theCW1;
Wt::WContainerWidget theCW2;
Wt::WTabWidget theTabWidget;

BR,
Wim.




2013/12/18 Antonio Mancina <[email protected]>

> Hi Thomas,
>
>
> >> When I ctrl-C the process, in wt-3.2.1 everything goes fine, while
> >> in wt-3.3.1 I've a glibc error of double free or corruption.
> >>
> > I would recommend running your old 3.2.1 code under valgrind. You
> > probably always got lucky.
>
>
> in such cases, that is exactly my standard workflow: anyway, I did not
> paste any output from it, so here it is.
>
> http://pastebin.com/WibkqMQ6
>
> As you may see, no problems at all.
>
> Thanks,
> Antonio
>
> P.S. As a side note, I also immediately got the impression that working
>      with Wt implies using the stack as little as possible.
>      Nevertheless, I guess this might be of some interests for wt
>      developers.
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to