Author: Heiner Marxen
Date: 09:36:31 10/27/03
Go up one level in this thread
On October 25, 2003 at 17:44:38, Tord Romstad wrote: >On October 25, 2003 at 15:11:45, Dieter Buerssner wrote: > >>On October 25, 2003 at 09:49:58, Tord Romstad wrote: >> >>>I compiled without -fbranch-prediction (but this makes the engine much slower). >>> >>>After spending a few hours debugging, I found that the crash occurs in the >>>following >>>innocent-looking function: >> >>Very strange. Did you have a look at the generated assembly with and without >>-fbranch-prediction for that function? > >No, I haven't done that, but it sounds like a good idea. > >>Stack overflow should not happen that fast. If the bug really is in that function, one should >>be able to see it from the assembly. Perhaps another bug is just triggered here. > >A bug somewhere else in my code, you mean? That's what I fear, too (although I >don't >understand how a bug somewhere else could be triggered here). When the FILE struct (here stdin) is already garbled, an fgets() may crash. Cheers, Heiner
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.