[Top][All Lists]

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

Re: [Bug-gnubg] gnubg on amd64 architecture

From: Jim Segrave
Subject: Re: [Bug-gnubg] gnubg on amd64 architecture
Date: Tue, 13 Feb 2007 14:33:12 +0100
User-agent: mutt-ng/devel-r804 (FreeBSD)

On Tue 13 Feb 2007 (11:51 +0000), Jonathan Kinsey wrote:
> >
> >I've been testing builds on both an i386 machine (my old laptop -
> >FreeBSD) and the amd64 box.
> >
> >pulling cvs from 31 Jan 2007 or later fails on both machines
> >pulling cvs from 30 Nov 2006 appears to work on both machines (since
> >I'm not at home, I can't see the display on the amd64 machine, but it
> >isn't segfaulting when running in graphical mode)
> >
> >As noted, nStride was -1 when the segfault occurs.
> >
> >If it matters, my .gnubgautorc is set for clockwise play (I bear off
> >to the left).
> >
> >I'm going to do a binary search to find the failure point.

versions fetched from cvs with -D '2006-12-23' work, later ones fail.

For the older version:

board_new() is called from CreateMainWindow()
board_new() calls board_get_type() which creates a GtkType with an
  init function board_class_init()
  board_class_init is then called from GTK and sets up
     callbacks to board_size_request and board_size_allocate
when RunGTK is called, the callbacks to
     board_size_request() and
     occur (both are called in that order, twice during startup)

for versions post 23-12-2006:
board_new() is called, board_class_init() is called, but the callbacks
to board_size_request() and board_size_allocate() are never used,
leaving the program with nSize = -1

The working and non-working programs are linked against the same gtk
libraries: gtk+-2.10.6, bu one version is making the callbacks and the
other is not doing so.

Jim Segrave           address@hidden

reply via email to

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