Re: XGammon failing
On Mon, Jul 15, 2002 at 05:14:31PM -0700, Jeffrey Chimene wrote:
> I notice that Woody's XGammon fails fairly consistently (usually when
> it's about to lose...) The failure message is approximately "floating
> point error. sorry" i.e., there's not enough information to
> work out the failure mode.
> I've examined the diff file, and I don't see anything there that
> stands out as a potential bug. The source code change involves a
> slight improvement in a typedef, and the XGammon database is the same
> size as the previous version. At this point, I suspect the run-time
> I don't believe I've got enough information here to file a useful bug
> report. What are the next steps to get enough info for the maintainer
> to use when examining the situation?
I'd suggest makeing sure that the binary has debugging info (though this is
not required) and while it's running, attach gdb to it. Tell gdb to continue
and it should just pop up when the error occurs. From there you should be
able to do a stack trace to work out which function the error occurs in.
Martijn van Oosterhout <firstname.lastname@example.org> http://svana.org/kleptog/
> There are 10 kinds of people in the world, those that can do binary
> arithmetic and those that can't.
To UNSUBSCRIBE, email to email@example.com
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org