gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] Crash found in 3.4


From: Shimmie
Subject: Re: [gnugo-devel] Crash found in 3.4
Date: Tue, 23 Dec 2003 14:42:29 +1100

Paul,

MS V++ game me something similar, an assertion failure on owl.c (5421):

    gg_assert(&owl_stack[(*owl)->number_in_stack] == *owl);

Here is the call stack:

  gnugo.exe!do_push_owl(local_owl_data * * owl=0x0012fac8)  Line 5421 C
  gnugo.exe!push_owl(local_owl_data * * owla=0x0012fac8, local_owl_data * *
owlb=0x00000000)  Line 5484 + 0x6 C
  gnugo.exe!do_owl_attack(int str=63, int * move=0x0012fb08, int *
wormid=0x0012fb04, local_owl_data * owl=0x01040020, int komaster=0, int
kom_pos=0, int escape=0)  Line 1712 C
  gnugo.exe!owl_attack(int target=17039392, int * attack_point=0x0012fb4c,
int * certain=0x00343dd0, int * kworm=0x0012fb44)  Line 1375 C
  gnugo.exe!make_dragons(int color=1, int stop_before_owl=0)  Line 361 C
  gnugo.exe!examine_position(int color=1, int how_much=99)  Line 154 C
  gnugo.exe!do_genmove(int * move=0x00000000, int color=0, float
pure_threat_value=0.00000000, int * allowed_moves=0x00000000)  Line 361 C
  gnugo.exe!genmove(int * i=0x0012fe58, int * j=0x0012fe68, int color=1)
Line 244 C
  gnugo.exe!load_and_analyze_sgf_file(Gameinfo * gameinfo=0x0012fed0)  Line
163 C
  gnugo.exe!main(int argc=3, char * * argv=0x00341620)  Line 1063 + 0xa C
  gnugo.exe!mainCRTStartup()  Line 259 + 0x12 C

Let me know if you need more info.

Shimmie.


----- Original Message ----- 
From: "Paul Pogonyshev" <address@hidden>
To: <address@hidden>
Cc: "Shimmie" <address@hidden>
Sent: Tuesday, December 23, 2003 11:26 AM
Subject: Re: [gnugo-devel] Crash found in 3.4


> i wrote:
> > Meanwhile, i'm going to valgrind GNU Go on this file.  Hopefully it
> > won't take ages.
>
> ==3582== Invalid read of size 4
> ==3582==    at 0x808296B: do_push_owl (owl.c:5655)
> ==3582==    by 0x8082A6A: push_owl (owl.c:5719)
> ==3582==    by 0x807BA5A: do_owl_attack (owl.c:1811)
> ==3582==    by 0x807A961: semeai_trymove_and_recurse (owl.c:1072)
> ==3582==    Address 0x43A8BD68 is not stack'd, malloc'd or free'd
>
>
> ***assertion failure:
> owl.c:5655 - &owl_stack[(*owl)->number_in_stack] == *owl near PASS***
>
>
> I did it not for 3.4, but for some recent version.  Note that
> assertion only failed under `valgrind'.
>
> Paul
>
>
> P.S. 3.4 doesn't crash on the submitted file either.  Running
>      `valgrind'...
>





reply via email to

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