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: Kenichi Handa
Subject: Re: segfault in read_process_output() during vc-diff
Date: Thu, 09 Nov 2006 21:13:43 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, "Tim Van Holder" <address@hidden> writes:

> 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-#

Thank you, but I have no idea why nbytes (1058) can be less
than coding->consumed (2374).  Please show the value of
p->decoding_carryover too.

(gdb) p p->decoding_carryover
(gdb) pr

---
Kenichi Handa
address@hidden




reply via email to

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