unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* gdb: bad backtrace with interrupted write call
@ 2002-07-24 15:01 Francesco Potorti`
  0 siblings, 0 replies; only message in thread
From: Francesco Potorti` @ 2002-07-24 15:01 UTC (permalink / raw)
  Cc: Emacs developers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-24 15:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-24 15:01 gdb: bad backtrace with interrupted write call Francesco Potorti`

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).