On 16.04.2012 14:27, Koen Deforche wrote: > Hey Stefan, > > Op 10 april 2012 16:47 heeft Stefan Ruppert<[email protected]> het > volgende geschreven: >> Hi all, >> >> I managed to use the WTreeView to load thousands and more tree items >> from our database. It works fine, but sometimes when I select a new tree >> which will remove the complete old large tree within the WTreeView it >> crashes or asserts. >> >> Currently I got the following assert(). I'm using the latest Wt 3.2.1 >> release. >> >> myarmbrowser.wt: /home/ruppert/work/wt/wt-3.2.1/src/Wt/WTreeView.C:1899: >> void Wt::WTreeView::modelRowsInserted(const Wt::WModelIndex&, int, int): >> Assertion `n' failed. >> Abgebrochen (Speicherabzug geschrieben) >> >> I have a complete call stack, it seems to crash within endInsertRows() >> signal processing. For small trees (less than 1000 items) I never >> noticed a crash. >> >> Maybe I'll try to limit the tree, but whats the number of items which >> can be handled correctly? > > Obviously, any number should be handled correctly (limited by a CSS > limitation w.r.t. maximum height of a widget, actually). > > The assertion suggests a genuine bug -- could you suggest how we can > reproduce it here, preferably with a test case ?
Hi Koen, Currently I'm very busy and its hard to isolate a test case... I'll try to put a test case together hopefully next week... Regards, Stefan ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
