Your message dated Sat, 04 Mar 2006 11:04:37 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#107173: craft: segv when I'm winning
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: craft
Version: 3.5-7
Severity: normal

When playing against three computer players and winning there is a 50% chance
of a segv.

Here's the back trace:
(gdb) bt
#0  0x0807d1b2 in object_handler::man_plan_path (this=0x402ae008, id=84,
    min_dist=0, max_n=6, probe=0) at object_handler.cc:2275
#1  0x0808bb65 in object_handler::exec_knight (this=0x402ae008, id=84)
    at object_handler.cc:4418
#2  0x08070f9d in object_handler::exec (this=0x402ae008, id=84)
    at object_handler.cc:184
#3  0x08070b5d in object_handler::exec (this=0x402ae008)
    at object_handler.cc:133
#4  0x0805caee in main (num_params=1, shell_params=0xbffff944) at craft.cc:993
#5  0x4018446b in __libc_start_main () from /lib/libc.so.6

Here's the line of the segv:
      while (!  /* steps_finished */      (k == stack_size - 2 || f [xp][yp] <=
0) && cand_at_goal && another_step)

I believe that the value of xp causes the crash:
(gdb) p xp
$8 = 1072794771


Could the craft code be run through a source-reformatter?  If indenting etc
lined up then it would be a lot easier to try and debug the code...

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux lyta 2.4.6 #3 Wed Jul 18 15:43:16 CEST 2001 i686 unknown

Versions of the packages craft depends on:
ii  libc6          2.2.3-8        GNU C Library: Shared libraries and Timezone
ii  libstdc++2.10- 2.95.4-0.01070 The GNU stdc++ library
ii  xlibs          4.0.3-4        X Window System client libraries


--- End Message ---
--- Begin Message ---
Hi,

this has been lying around as unreproducible for quite a while... I
don't think it makes sense to keep it open anymore.

-- 
        Falk

--- End Message ---

Reply via email to