unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* SIGPIPE
@ 2002-07-03 13:07 Francesco Potorti`
  2002-07-04 18:24 ` SIGPIPE Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Francesco Potorti` @ 2002-07-03 13:07 UTC (permalink / raw)


While running Emacs (pretest version) under gdb, I got this:

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) 

This has occasionally happened to me since version 21 when signing a
meail messagge with mailcrypt (which uses gpg).

From the backtrace it seemed to me that the stack was smashed, so I
continued the process, expecting to see it abort.  Instead, it continued
and displayed a message:

mc-gpg-process-region: SIGPIPE raised on process *GPG*; closed it

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SIGPIPE
  2002-07-03 13:07 SIGPIPE Francesco Potorti`
@ 2002-07-04 18:24 ` Richard Stallman
  2002-07-05  9:59   ` SIGPIPE Francesco Potorti`
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2002-07-04 18:24 UTC (permalink / raw)
  Cc: emacs-devel

    0x403a83e4 in write () from /lib/libc.so.6
    (gdb) bt
    #0  0x403a83e4 in write () from /lib/libc.so.6
    #1  0x00000000 in ?? ()
    (gdb) 

    >From the backtrace it seemed to me that the stack was smashed, so I
    continued the process, expecting to see it abort.

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.

What platform is this?  What GDB version?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SIGPIPE
  2002-07-04 18:24 ` SIGPIPE Richard Stallman
@ 2002-07-05  9:59   ` Francesco Potorti`
  2002-07-05 22:04     ` SIGPIPE Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Francesco Potorti` @ 2002-07-05  9:59 UTC (permalink / raw)
  Cc: emacs-devel

       0x403a83e4 in write () from /lib/libc.so.6
       (gdb) bt
       #0  0x403a83e4 in write () from /lib/libc.so.6
       #1  0x00000000 in ?? ()
       (gdb) 
   What platform is this?  What GDB version?
   
Linux pot.cnuce.cnr.it 2.4.18 #1 Fri May 17 13:44:40 CEST 2002 i686 unknown
Debian woody glibc (2.2.5-6)
GNU gdb 2002-04-01-cvs

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SIGPIPE
  2002-07-05  9:59   ` SIGPIPE Francesco Potorti`
@ 2002-07-05 22:04     ` Richard Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2002-07-05 22:04 UTC (permalink / raw)
  Cc: emacs-devel

    GNU gdb 2002-04-01-cvs

Well, that is a pretty recent CVS version, but since it is a
development version you ought to try a CVS update and see if the
problem goes away.  If it does not, could you file a GDB bug report?

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-07-05 22:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-03 13:07 SIGPIPE Francesco Potorti`
2002-07-04 18:24 ` SIGPIPE Richard Stallman
2002-07-05  9:59   ` SIGPIPE Francesco Potorti`
2002-07-05 22:04     ` SIGPIPE Richard Stallman

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).