[Pachi] Bus overflow error?

Petr Baudis pasky at ucw.cz
Mon Jul 9 18:54:35 CEST 2012


On Mon, Jul 09, 2012 at 12:30:56PM -0400, Andrew J wrote:
> I did make clean & remade;
> 
> "bt full" yields:
> (gdb) bt full
> #0  0x0000000100002964 in board_play_f (board=0x100462bb0,
> m=0x100409550, f=237) at board.c:1334
> No locals.
> #1  0x000000010003e245 in middle_ladder_walk (b=0x100462bb0,
> laddered=<value temporarily unavailable, due to optimizations>,
> nextmove=283, lcolor=S_BLACK) at ladder.c:73
> 	m = {
>   coord = 283,
>   color = S_BLACK
> }
> 	res = <value temporarily unavailable, due to optimizations>
> 	liblist = {0, 0}
> 	libs = <value temporarily unavailable, due to optimizations>
> 	is_ladder = <value temporarily unavailable, due to optimizations>
> 
> Shall i compile with less optimizations?

What I'm confused about is that only two frames are shown. This seems
like overwritten stack...

Could you try running this in Valgrind if that's easy for you? Trying to
compile with less optimizations is also good idea, though it will be
visible on the performance.

				Petr "Pasky" Baudis


More information about the Pachi mailing list