On Tuesday 24 February 2004 10:04, Ville Syrj�l� wrote:
> On Tue, Feb 24, 2004 at 01:19:23AM +0100, Remy Nicolas wrote:
> > This is the very begining of our development, so we just need some
> > feedback.
>
> Here's some bug feedback. I tried it and it segfaults in the very end
> because you release the IDirectFB interface before one IDirectFBSurface.
> You should release the IDirectFB interface last.
>
> --
> Ville Syrj�l�
> [EMAIL PROTECTED]
> http://www.sci.fi/~syrjala/
I don't fully understand. Here is the our dfb_quit() function from dfbinit.c :
void dfb_quit()
{
int i;
for(i = 0;i<MAXCOLORS; i++)
{
free_color(color_set[i]);
}
bgsurface->Release( bgsurface ); //If I do this release here I got a
complete freeze of my computer (not easy to debug)
//If I do it after the dfb->Release( dfb ) It segfault at the end, Is that
what you tell me?
if (video_provider)
video_provider->Release( video_provider );
layer->Release( layer );
dfb->Release( dfb );
}
I've also a few questions : Why when I try to debug with gdb I got complete
freeze if something goes bad (I'm going mad with printf() debugging ;) ). Is
that normal?
Thx for the feedback ;)
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-dev" as subject.