Hi animesh,
I ran a backtrace while debugging............n this is what it gave.......the log is below......... #0 0xb723e143 in dfb_wm_update_window (window=0x20020100, region=0xa23ee37c, flags=DSFLIP_NONE) at wm.c:831 #1 0xb723b214 in dfb_window_repaint (window=0x20020100, region=0xa23ee37c, flags=DSFLIP_NONE) at windows.c:1248 #2 0xb71fa375 in IDirectFBSurface_Window_Flip (thiz=0x8466cb0, region=0x0, flags=<value optimized out>) at idirectfbsurface_window.c:177 #3 0xb71fa48d in Flipping_Thread (arg=0x8466cb0) at idirectfbsurface_window.c:308 #4 0x008d03db in start_thread () from /lib/libpthread.so.0 #5 0x0082a06e in clone () from /lib/libc.so.6 Regards, sv........... On Sat, Apr 26, 2008 at 11:37 AM, animesh <[EMAIL PROTECTED]> wrote: > Hi SV, > The error is due to the reason i have said before, You are not > properly exiting the DirectFB. > > So just backtrace and see, which is the place you are exiting in your > application. > > And at that place add the release code as per your application. > > regards > Animesh > svalbard colaco wrote: > > Hi animesh... > > Hey thanks man ..........I m looking into it.......... N tryin to > understand the same............. > > The exact error is as below...see if this adds to anything which will help > me understand more....... > > (!!!) *** WARNING [Application exited without deinitialization of > DirectFB!] *** [core.c:775 in dfb_core_deinit_check()] > [Thread -1250796656 (LWP 3867) exited] > [Thread -1259189360 (LWP 3868) exited] > [Thread -1267582064 (LWP 3869) exited] > [Thread -1275974768 (LWP 3870) exited] > [Thread -1284367472 (LWP 3871) exited] > [Thread -1292760176 (LWP 3872) exited] > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread -1421694064 (LWP 3942)] > 0xb71dd143 in dfb_wm_update_window (window=0x2001c300, region=0xab42a37c, > flags=DSFLIP_NONE) at wm.c:831 > 831 return wm_local->funcs->UpdateWindow( window, wm_local->data, > > Regards > Sv... > > On Fri, Apr 25, 2008 at 7:44 PM, animesh <[EMAIL PROTECTED]> > wrote: > > > HI SV. > > Suppose you have a sample code like in this place. > > http://www.directfb.org/docs/DirectFB_Tutorials/simple.html > > So now if you see this code, When it has done drawing it is finally > > releasing the > > primary surface by calling > > primary->Release (primary); > > and then releasing IDirectFB interface by calling > > dfb->Release (dfb); > > > > Since these are the two interface that is being created in the > > program, So you also have to > > Release the interface that you are creating while initiliazing. > > > > And this release should idealy at a place where you are exiting from > > your application. > > > > Hope this will help you. > > > > regards > > Animesh. > > > > svalbard colaco wrote: > > > > Hi Animesh, > > > > Thanx for your valuable inputs................ > > > > Will try that................ on exit it comes to this function > > dfb_wm_update_window............ > > > > Can u elaborate on what exactly i should be doing........... I m new to > > this DFB stuff............... > > > > Thanx > > Sv........... > > > > On Fri, Apr 25, 2008 at 6:30 PM, animesh <[EMAIL PROTECTED]> > > wrote: > > > > > Hi, > > > The problem is your application while exiting is not releasing > > > the resource allocated while initialization. > > > Line You need to do dfb->Release (dfb); > > > Kindly check at what point is you application exiting, and at > > > that place kindly add the code for release, > > > for all the resource you have allocated like, primary surface, > > > idirectfb instance, inputbuffer etc. > > > > > > Hope you won't get this warning message. > > > And if i am not wrong this is not the correct mailing list to put > > > these problems, you can use the user fouram. > > > > > > Regards > > > Animesh > > > > > > svalbard colaco wrote: > > > > > > HI all, > > > > > > Porting Evolution mail client on DFB and my application runs k..but on > > > exit it requires to reboot the machine........... > > > It doesnt exit the process smoothly...............every time i exit i > > > got to reboot the machine....... > > > > > > It gives me the following warnings.......... > > > > > > (!!!) *** WARNING [Application exited without deinitialization of > > > DirectFB!] *** [core.c:775 in dfb_core_deinit_check()] > > > (!!!) *** ONCE [waiting for DirectFB slaves to terminate] *** > > > [core.c:373 in dfb_core_destroy()] > > > > > > Regards > > > sv. > > > > > > ------------------------------ > > > > > > _______________________________________________ > > > directfb-dev mailing [EMAIL > > > PROTECTED]://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > > > > > > > > > > > > > >
_______________________________________________ directfb-dev mailing list directfb-dev@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev