unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Francesco Potorti` <pot@gnu.org>
Cc: GNU Emacs pretest bug list <emacs-pretest-bug@gnu.org>,
	"Kim F.Storm" <storm@cua.dk>,
	emacs-devel@gnu.org, rms@gnu.org
Subject: Re: cd - in shell buffers does not work any more
Date: Mon, 25 Mar 2002 13:38:26 +0100	[thread overview]
Message-ID: <E16pTk2-0000Qh-00@pot.cnuce.cnr.it> (raw)
In-Reply-To: <m38z8g6ev6.fsf@Janik.cz> (Pavel@Janik.cz)

   Current CVS.

Yes, I can reproduce it reliably.  The problem is that DATAGRAM_CONN_P
indexes an array using (correctly) (Lisp_Process *)->infd, but infd
appears to be corrupt:

Program received signal SIGSEGV, Segmentation fault.
0x08158d43 in Fprocess_send_eof (process=405319196) at process.c:5438
(gdb) xprocess 405319196
$5 = (struct Lisp_Process *) 0x828ae1c
{
  size = 10, 
  v_next = 0x818a5b8, 
  infd = 405319196, 
  outfd = 405319220, 
  subtty = 405319196, 
  tty_name = 0, 
  name = 0, 
  command = 135833036, 
  filter = 405319220, 
  sentinel = 405319220, 
  log = 405319196, 
  buffer = 0, 
  pid = 10, 
  command_channel_p = 135833060, 
  childp = 405319244, 
  mark = 405319220, 
  kill_without_query = 1479449932, 
  raw_status_low = 0, 
  raw_status_high = 8, 
  status = 135833080, 
  pty_flag = 405319220, 
  tick = 405319220, 
  update_tick = 405319196, 
  decode_coding_system = 0, 
  decoding_buf = 8, 
  decoding_carryover = 135833120, 
  encode_coding_system = 405319220, 
  encoding_buf = 405319220, 
  encoding_carryover = 1479059972, 
  inherit_coding_system_flag = 0
}

Notice that 405319196 is a value common to infd, subtty, log and
update_tick, and is 0x1828ae1c, that is, the address of the process
structure & 0x10000000.

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  reply	other threads:[~2002-03-25 12:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-22 14:03 cd - in shell buffers does not work any more Francesco Potorti`
2002-03-22 16:51 ` Eli Zaretskii
2002-03-23 16:14 ` Richard Stallman
2002-03-25  9:50   ` Francesco Potorti`
2002-03-25 11:55     ` Pavel Janík
2002-03-25 12:38       ` Francesco Potorti` [this message]
2002-03-28 19:18         ` Pavel Janík
2002-03-26  8:51     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E16pTk2-0000Qh-00@pot.cnuce.cnr.it \
    --to=pot@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=rms@gnu.org \
    --cc=storm@cua.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).