Hi Koushik.
If you are using X11 as your system, it is possible that these problems
arise.
This has to do with the somewhat kludgy nature of the close/destruction
code.
For X11 you don't need to worry anyway since everything is cleaned-up
afterwards.
The messages you get are 'warnings' not 'errors' and are not responsible
for the hanging of the program.
You need to provide more information if you want us to be able to help
you with debugging...
A backtrace at the 'hanging' moment would be of great help.
Also of great help would be building DirectFB with debug, and then
running with debug on.
Greets
Niels
n.b. you don't need to cc' me or Denis since we are both subscribed to
the mailing lists.
sai koushik wrote:
> hi
>
> when running the dfb application i am getting the error
>
> *** WARNING [still objects in 'Window Pool'] *** [object.c:231 in
> fusion_object_pool_destroy()]
> (!!!) *** WARNING [still objects in 'Surface Pool'] ***
> [object.c:231 in fusion_object_pool_destroy()]
>
> i am using DFb 1.0.1 and lite 0.8.9 and the part of the code is
> in fail() function
> {
> ---------------
> -------------
> i am declaring this to exit the event loop after 2 seconds
> lite_enqueue_window_timeout(2000, NULL, NULL, NULL);
>
> return DFB_OK;
> }
> and it is a callback function
>
> in display()
> {
> lite_window_event_loop(window,0);
> }
>
> in destroy()
> {
> lite_destroy_window( window );
> lite_close();
> }
>
>
> in main()
> {
> i am registering a callback , this callback is callling the failure
> function
> lite_enqueue_idle_callback ((LiteTimeoutFunc)update_event_callback,
> NULL, NULL);
>
> fota_ui_display();
> fota_ui_destroy();
>
> }
>
>
> but in the function destory i am getting the errors above mentioned
> and the program is hanging .
>
> and code is written in lite
>
>
> i want to where is the problem
> whether it is in destor_window() function , or lite_close() function
>
> can any one help me.
>
>
>
>
> 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