Hi Koushik. If you end with pressing "Ctrl-C" it is normal to have some leaks; the program is aborted abnormally. If you end regularly, by calling all the necessary deinitialization functions, you have a memory leak. This is a little bit tricky, but you can put "debug=Fusion/Object" in your directfbrc file (if you have configured with --enable-debug, otherwise this will not work), this will print out (1) all allocations, and (2) all the memory leaks that are detected after exiting. Hopefully this will show you which objects are still kept, and should have been freed. During the creation of the object an id is printed, which you can correlate through dfbdump, if you have your system configured for --enable-multi that is. The tricky part is to find the offending non-freed allocation..
Greets Niels sai koushik wrote: > hi > i am using DFB 1.0.1 and LiTE 0.8.9 ,i wrote an application using > LiTE ,when it runs it is ruuning normally and it is giving the error > when closing the DFB resources used by the LiTE framework, and the > program is halted. > the errors are > > > (!!!) *** WARNING [still objects in 'Layer Region Pool'] *** > [object.c:231 in fusion_object_pool_destroy()] > (!!!) *** WARNING [still objects in 'Window Pool'] *** [object.c:231 > in fusion_object_pool_destroy()] > > > how can i remove that errors , what are the possible reasons for that > errors. > > > thanks > koushik. > ------------------------------------------------------------------------ > > _______________________________________________ > directfb-users mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > -- .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
