bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Another crash report....


From: Gary Wong
Subject: Re: [Bug-gnubg] Another crash report....
Date: Mon, 16 Dec 2002 10:36:34 -0500
User-agent: Mutt/1.3.28i

On Sun, Dec 15, 2002 at 12:55:55PM -0500, Gary Wong wrote:
> On Sun, Dec 15, 2002 at 06:38:30PM +0100, ?ystein Johansen wrote:
> > 2. The program crashes when I resize the window. It accept small
> > sizes, but if I maximize or make the window much bigger, it
> > crashes. Some kind of board size limit?
> 
> Argh!  For a while I could reliably reproduce #2, then it went away before I
> could track it down.  To be precise, gnubg dumped core when the board window
> was shrunk down to size 1 (i.e. the "board" bit was 108x72) and then exapnded
> horizontally; the crash was in something like gdkgeometry-x11.c while
> moving the menu bar (!).

Ick.  Now that I read more closely, it seems that the bug I found was not
the same as yours.  The problem I found was caused by the board label
text not being entirely contained within the board (now fixed in CVS).
Hopefully that fixes your problem too... if not, one thing that might
cause problems with big boards is a small stack size limit.  The
g_alloca() at the end of board_expose() could use a couple of megabytes of
stack space -- does replacing that with a malloc() (which can be free()d
immediately after the gdk_draw_rgb_image() call) help?

Cheers,
Gary.
-- 
   Gary Wong           address@hidden           http://www.cs.arizona.edu/~gary/



reply via email to

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