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

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

Re: Ediff frequently crashes emacs.


From: Kim F. Storm
Subject: Re: Ediff frequently crashes emacs.
Date: Sat, 13 Nov 2004 00:10:06 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Peter Seibel <address@hidden> writes:

> Richard Stallman <address@hidden> writes:
>
>> Please follow the advice in etc/DEBUG for what to do when Emacs is
>> looping.
>
> Okay, I tried. My lack of facility with gdb may mean this is still not
> quite what you want--I invoked gdb from within another Emacs (i.e. M-x
> gdb) to attach to the hung Emacs process (gdb -pid=xxxxx). Which
> seemed to work fine. Then I used `finish' as suggested to find the
> frame which did not return. From there it was not entirely clear how
> to get back to the gdb prompt so I could step. I flailed around and
> managed to get back to the prompt but may have dorked something up in
> the meantime. Anyway, once I got the prompt back stepping with C-c C-n
> seemed to indicate that the loop hopped between the three lines marked
> with >>> in wait_reading_process_output as shown below:

If you do:

p channel
p max_process_desc

you will see that those lines are inside a loop which is supposed
to be repeated a (finite) number of times.  So I would be surprised
if you have found the right loop.


>       for (channel = 0; channel <= max_process_desc; channel++)
>       {
>>>>>     if (FD_ISSET (channel, &Available) ...
>>>>>     if (check_connect && FD_ISSET (channel, &Connecting) ...
>>>>    }

-- 
Kim F. Storm  http://www.cua.dk





reply via email to

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