Hi Koushik,

I still would like to advise you to configure your system for debug then.
The warning you get (strictly speaking, it's not an error) is the same 
as the others:
by calling destroy(), you are instructing DirectFB to deallocate the 
different pools, like the 'Surface Pool'.
Apparently there are still objects in there which have not been freed. 
However, the pool architecture is clever enough to call the appropriate 
destructor functions to still clean up memory/system state.

Greets
Niels

sai koushik wrote:
> hi,
> my system is not configured with debug , and DFB is running with 
> single application  core only , now i am getting another error
> (!!!)  *** WARNING [still objects in 'Surface Pool'] *** [object.c:231 
> in fusion_object_pool_destroy()]
>
> actual code snippet is
>   i wrote a function named destroy() in that i am calling both 
> functions lite_destroy_window(window), lite_close() simultaneously , 
> one of these functions giving these errors.
>
>
> what are the possible reasons for above errors.
>
> thanks
> koushik.
>  
>  
>
> On Thu, Oct 23, 2008 at 2:42 PM, Niels Roest <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     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
>         directfb-users@directfb.org <mailto:directfb-users@directfb.org>
>         http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>          
>
>
>
>     -- 
>
>     .------------------------------------------.
>     | DirectFB - Hardware accelerated graphics |
>     | http://www.directfb.org/                 |
>     "------------------------------------------"
>
>


-- 

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------" 

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to