Debian Bug report logs - #154154
gdb: bad backtrace with interrupted write call

version graph

Package: gdb; Maintainer for gdb is Héctor Orón Martínez <[email protected]>; Source for gdb is src:gdb (PTS, buildd, popcon).

Reported by: Francesco Potorti` <[email protected]>

Date: Wed, 24 Jul 2002 15:03:18 UTC

Severity: normal

Found in version 5.2.cvs20020401-6

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Francesco Potorti` <[email protected]>, Daniel Jacobowitz <[email protected]>, [email protected]:
Bug#154154; Package gdb. (full text, mbox, link).


Acknowledgement sent to Francesco Potorti` <[email protected]>:
New Bug report received and forwarded. Copy sent to Francesco Potorti` <[email protected]>, Daniel Jacobowitz <[email protected]>, [email protected]. (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Francesco Potorti` <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Cc: Emacs developers <[email protected]>
Subject: gdb: bad backtrace with interrupted write call
Date: Wed, 24 Jul 2002 17:01:53 +0200
Package: gdb
Version: 5.2.cvs20020401-6
Severity: normal

While running Emacs under gdb, it got a SIGPIPE (this is the consequence
of an unknown bug in Emacs).  The debugger then showed this backtrace:

Program received signal SIGPIPE, Broken pipe
0x403a83e4 in write () from /lib/libc.so.6
(gdb) bt
#0  0x403a83e4 in write () from /lib/libc.so.6
#1  0x00000000 in ?? ()
(gdb) 

which made me think that the stack was smashed, so I continued the
process, expecting to see it abort.  Instead, it continued and Emacs
went on, handling the problem by itself.  In similar conditions, Emacs
later on crashed, but not this time.

Richard Stallman thus commented this information:
 It looks to me like GDB has got confused by some legitimate
 stack contents.  Perhaps the `write' function does not set up
 a normal stack frame.  It would be good to change GDB to
 handle what `write' actually does on the stack.

So I am writing this bug report, however poor of information it may be.

-- System Information
Debian Release: 3.0
Kernel Version: Linux pot.cnuce.cnr.it 2.4.18 #1 Fri May 17 13:44:40 CEST 2002 i686 unknown

Versions of the packages gdb depends on:
ii  libc6          2.2.5-10       GNU C Library: Shared libraries and Timezone
ii  libncurses5    5.2.20020112a- Shared libraries for terminal handling
ii  libreadline4   4.2a-5         GNU readline and history libraries, run-time



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 07:39:09 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.