emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cd - in shell buffers does not work any more


From: Francesco Potorti`
Subject: Re: cd - in shell buffers does not work any more
Date: Mon, 25 Mar 2002 13:38:26 +0100

   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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]