This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: backtrace/1547: corrupt stack?
- From: "Nikita \"Lestat\" Andreev" <nik at kemsu dot ru>
- To: chastain at sourceware dot org
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 9 Feb 2004 10:58:01 -0000
- Subject: Re: backtrace/1547: corrupt stack?
- Reply-to: "Nikita \"Lestat\" Andreev" <nik at kemsu dot ru>
The following reply was made to PR backtrace/1547; it has been noted by GNATS.
From: "Nikita \"Lestat\" Andreev" <nik@kemsu.ru>
To: <chastain@sourceware.org>,
<gdb-prs@sources.redhat.com>,
<nik@kemsu.ru>,
<nobody@sources.redhat.com>,
<gdb-gnats@sources.redhat.com>
Cc:
Subject: Re: backtrace/1547: corrupt stack?
Date: Mon, 9 Feb 2004 17:52:44 +0700
This is a multi-part message in MIME format.
------=_NextPart_000_0028_01C3EF35.857DDFB0
Content-Type: text/plain;
charset="koi8-r"
Content-Transfer-Encoding: 7bit
Hi!
Sorry, but I can't understand how to work with
http://sources.redhat.com/cgi-bin/gnatsweb.pl?database=gdb. How to reply on
bug reports? I didn't see any "Edit Problem Report Page".
Right report is 1548.
But I give you duplicate in attachment.
Thanks.
----- Original Message -----
From: <chastain@sourceware.org>
To: <chastain@sourceware.org>; <gdb-prs@sources.redhat.com>; <nik@kemsu.ru>;
<nobody@sources.redhat.com>
Sent: Monday, February 09, 2004 5:32 PM
Subject: Re: backtrace/1547: corrupt stack?
> Synopsis: corrupt stack?
>
> Responsible-Changed-From-To: unassigned->chastain
> Responsible-Changed-By: chastain
> Responsible-Changed-When: Mon Feb 9 10:32:59 2004
> Responsible-Changed-Why:
>
> Mine.
>
> State-Changed-From-To: open->feedback
> State-Changed-By: chastain
> State-Changed-When: Mon Feb 9 10:32:59 2004
> State-Changed-Why:
> I need the gdb typescript that you mentioned.
>
> I tried running lasker 2.2.2 on red hat linux 8.0.
> It worked fine. I logged in as admin, then logged in twice more as
two guests, did "match guest EYWJ 20 150 black", and moved d2d3, d7d6, e2e4,
e7e5. Worked fine.
>
> I really need that typescript to see what you are talking about.
>
>
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&databas
e=gdb&pr=1547
>
------=_NextPart_000_0028_01C3EF35.857DDFB0
Content-Type: application/octet-stream;
name="gdb.log"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="gdb.log"
-------------------------------------------------------------------------=
---
5.3
-------------------------------------------------------------------------=
---
Script started on Fri Feb 6 14:01:44 2004 [root@radius chessd]# gdb
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you =
are
welcome to change it and/or distribute copies of it under certain =
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for =
details.
This GDB was configured as "i386-redhat-linux".
(gdb) file /usr/local/debug-chess/chessd/bin/chessd
Reading symbols from /usr/local/debug-chessd/chessd/bin/chessd...done.
(gdb) attach 17544
Attaching to program: /usr/local/debug-chessd/chessd/bin/chessd, Pid =
17544
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from =
/usr/local/debug-chessd/chessd/./lib/chessd.so...done.
0x1dbc61 in __libc_nanosleep () from /lib/libc.so.6
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x2501b6 in holding_str (holding=3D0x2abe1c) at board.c:176
176 tmp[i++] =3D wpstring[p][0];
(gdb) bt
#0 0x2501b6 in holding_str (holding=3D0x2abe1c) at board.c:176
#1 0x2502e5 in append_holding_display (buf=3D0x2ac520 'P' <repeats 200 =
times>..., gs=3D0x2abd1c, white=3D1) at board.c:205
#2 0x2506ad in board_to_string (wn=3D0x2506ad "\215\203\004\b", =
bn=3D0x2ac520 'P' <repeats 200 times>..., wt=3D2800924, bt=3D1,=20
b=3D0x2abd1c, ml=3D0x2bb978, style=3D135640364, orientation=3D0, =
relation=3D-1073745028, p=3D2481331) at board.c:297
#3 0xbffff300 in ?? ()
#4 0x804a788 in ?? ()
-------------------------------------------------------------------------=
---
6.0
-------------------------------------------------------------------------=
---
Script started on Sat Feb 7 17:29:32 2004 [root@radius chessd]# gdb
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you =
are
welcome to change it and/or distribute copies of it under certain =
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for =
details.
This GDB was configured as "i686-pc-linux-gnu".
(gdb) fiel bin/chessd
Reading symbols from bin/chessd...done.
(gdb) attach 18551
Attaching to program: /usr/local/debug-chessd/chessd/bin/chessd, process =
18551
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from ./lib/chessd.so...done.
Loaded symbols for ./lib/chessd.so
0x001f717e in __select () from /lib/libc.so.6
(gdb) bt
#0 0x001f717e in __select () from /lib/libc.so.6
#1 0x0026ff98 in select_loop () at network.c:593
#2 0x08048d78 in main_event_loop () at ficsmain.c:90
#3 0x08049222 in main (argc=3D5, argv=3D0xbffffa44) at ficsmain.c:232
(gdb) c
Continuing.
Program received signal SIGSEGV, Segmentation fault.
0x002501b6 in holding_str (holding=3D0x2abe1c) at board.c:176
176 tmp[i++] =3D wpstring[p][0];
(gdb) bt
#0 0x002501b6 in holding_str (holding=3D0x2abe1c) at board.c:176
#1 0x002502e5 in append_holding_display (buf=3D0x2ac520 'P' <repeats =
200 times>..., gs=3D0x2abd1c, white=3D1) at board.c:205
#2 0x002506ad in board_to_string (wn=3D0x2506ad "\215\203\004\b", =
bn=3D0x2ac520 'P' <repeats 200 times>..., wt=3D2800924, bt=3D1,=20
b=3D0x2abd1c, ml=3D0x2bb978, style=3D135618500, orientation=3D0, =
relation=3D-1073745028, p=3D2481331) at board.c:297
Previous frame inner to this frame (corrupt stack?)
(gdb) quit
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/local/debug-chessd/chessd/bin/chessd, =
process 18551
[root@radius chessd]# exit Script done on Sat Feb 7 17:32:46 2004
------=_NextPart_000_0028_01C3EF35.857DDFB0--