emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: segfault in read_process_output() during vc-diff


From: Tim Van Holder
Subject: Re: segfault in read_process_output() during vc-diff
Date: Wed, 8 Nov 2006 16:46:46 +0100

On 11/8/06, Kenichi Handa <address@hidden> wrote:
In article <address@hidden>, address@hidden (Kim F. Storm) writes:

> > bt full output:
> >
> > #0  0x40895af0 in bcopy () from /lib/libc.so.6
> > No symbol table info available.
> > #1  0x081864d4 in read_process_output (proc=143372852, channel=<value 
optimized out>) at /home/tim/gnu/src/emacs/src/process.c:5144
> >         odeactivate = 137457249
> >         text = 142872947
> >         outer_running_asynch_code = 0
> >         waiting = -1
> >         nbytes = <value optimized out>

I want to see the value of "nbytes".  If you re-build emacs
as below, I think you can see the value when segfault
happens.

% cd .../emacs/src
% touch process.c
% make CFLAGS=-g

With -g I get

(gdb) up
#1  0x0818c7ec in read_process_output (proc=142856980, channel=5) at
/home/tim/gnu/src/emacs/src/process.c:5144
5144          bcopy (chars + coding->consumed, SDATA (p->decoding_buf),
(gdb) info locals
count = 3
odeactivate = 137465089
obuffer = 140212876
waiting = -1
okeymap = 142839261
text = 143388459
outer_running_asynch_code = 0
nbytes = 1058
chars = 0xbfffd5f0 "testsuite/input/godwit/ucm/system/sources
--include=/test/testsuite/input/godwit/ucm/system/includes \\\n-
--files-from=/test/testsuite/input/godwit/ucm/system/all-sources.lst\n-\n-#
UCM - UCMP\n-set args"...
outstream = 142892721
old = (struct buffer *) 0x85b7a88
p = (struct Lisp_Process *) 0x883d310
opoint = 1869033332
coding = (struct coding_system *) 0x8841fc8
carryover = -1316
readmax = 4096




reply via email to

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