[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Stack clobbering bug
From: |
Thien-Thi Nguyen |
Subject: |
Re: Stack clobbering bug |
Date: |
22 Jul 2006 03:57:08 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Richard Stallman <address@hidden> writes:
> The first thing to do is x/20xw $sp
> and then repeat x/20xw a few times
> to see if part of the stack is clobbered with -1.
appended is some gdb output for the latest crash. i don't
see any -1 (assuming its representation is 0xffffffff).
thi
___________________________________________
(gdb) bt
#0 0x40131d95 in _XSetClipRectangles () from /usr/X11R6/lib/libX11.so.6
Cannot access memory at address 0x8
(gdb) x/20xw $sp
0xbfffe2a8: 0x085c9aa8 0x00000000 0x0805ece8 0x085ef2c0
0xbfffe2b8: 0x00000001 0xbfffe30c 0x0805ecd3 0x00000008
0xbfffe2c8: 0x00000001 0xbfffe30c 0x40131f77 0x085c9aa8
0xbfffe2d8: 0x087ce7c8 0x00000000 0x00000000 0xbfffe354
0xbfffe2e8: 0x00000001 0x00000000 0x40131f3d 0xbfffe414
(gdb) x/20xw
0xbfffe2f8: 0xbfffe354 0xbfffe32c 0x4011d270 0x085c9aa8
0xbfffe308: 0x087ce7c8 0x085ca048 0x4011d212 0x401dbfdc
0xbfffe318: 0x085c9aa8 0x087ce7c8 0x00000000 0x091c7a78
0xbfffe328: 0xbfffe414 0xbfffe35c 0x40131ffb 0x085c9aa8
0xbfffe338: 0x087ce7c8 0x00000000 0x40131fbe 0x091c7a78
(gdb) x/20xw
0xbfffe348: 0xbfffe414 0x00000000 0x00000000 0xbfffe404
0xbfffe358: 0x00000001 0xbfffe3ec 0x080b409e 0x085c9aa8
0xbfffe368: 0x087ce7c8 0x00000000 0xbfffe398 0x00000000
0xbfffe378: 0x00000001 0x085ef2c0 0x080768e1 0x08a7f048
0xbfffe388: 0x08c4b1e0 0xbfffe3bc 0x0805dcb2 0x085ef2c0
(gdb) x/20xw
0xbfffe398: 0x00000000 0xbfffe404 0xbfffe3c8 0x085ef2c0
0xbfffe3a8: 0x00000000 0x091c7a78 0x080768e1 0x085ef2c0
0xbfffe3b8: 0x00000000 0xbfffe3ec 0x0805dddc 0x085ef2c0
0xbfffe3c8: 0x00000001 0xbfffe56c 0x08078958 0x085ef2c0
0xbfffe3d8: 0x00000001 0x00000000 0x0000000c 0x00000000
(gdb) x/20xw
0xbfffe3e8: 0x00000016 0xbfffe56c 0x08078a18 0x085ef2c0
0xbfffe3f8: 0x00000001 0x000003fd 0x00000000 0x00002020
0xbfffe408: 0x00000001 0x085ef2c0 0x00800011 0x00000001
0xbfffe418: 0x000002d7 0x000002e9 0x0000000c 0x0000000c
0xbfffe428: 0x00000016 0x00000000 0x00000000 0x085eefe8