bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Hint window memory problem


From: Jim Segrave
Subject: Re: [Bug-gnubg] Hint window memory problem
Date: Mon, 29 Jul 2002 13:08:21 +0200
User-agent: Mutt/1.2.5i

On Mon 29 Jul 2002 (10:33 +0000), Joern Thyssen wrote:
> On Mon, Jul 29, 2002 at 11:50:32AM +0200, Jim Segrave wrote
> > 
> > Enclosed is a detailed gdb investigation of how gtk is handling the
> > user data associated with the Hint window. The quick summary is that
> > when you close the Hint window, gtk is freeing the hintdata before
> > calling DestroyHint(), which needs to find a pointer to a matchlist in
> > the user data so that it can free this. Under FreeBSD, this can cause
> > severe problems (putting a test for a null pointer in the matchlist
> > helps prevent core dumps, but that's only by luck.
> > 
> > Under other OSes, I expect that this can also cause problems, it just
> > may take longer before someone gets hit by this, depending on how the
> > malloc/free system works, when it garbage collects, etc.
> 
> Is it still a problem with my check-in from saturday?

This was with 

$Id: gtkgame.c,v 1.198 2002/07/27 11:35:42 thyssen Exp $

You have three checkins on Saturday, one at 11:35, another at 17:13
and a final one at 17:23.

I'll pull the current CVS and repeat the debugging tests before I
leave work today (it's a lot easier with two machines). But a quick
scan of the CVS diffs suggest that 1.199 may well fix things.

-- 
Jim Segrave           address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]