bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] Hint window memory problem


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

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.

I've gzipped it, as the backtrace etc. is fairly long.

-- 
Jim Segrave           address@hidden

Attachment: free.gdb.gz
Description: application/gunzip


reply via email to

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