all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: joakim@verona.se
To: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: emacs gets stuck in wait_reading_process_output sometimes
Date: Wed, 11 Jun 2008 21:56:09 +0200	[thread overview]
Message-ID: <m33anjiw4m.fsf@verona.se> (raw)
In-Reply-To: <857icvvjn5.fsf@lola.goethe.zz> (David Kastrup's message of "Wed,  11 Jun 2008 21:47:26 +0200")

David Kastrup <dak@gnu.org> writes:

> joakim@verona.se writes:
>
>> #0  0x00110422 in __kernel_vsyscall ()
>> #1  0x00cb85bd in ___newselect_nocancel () from /lib/libc.so.6
>> #2  0x081adc25 in select_wrapper (n=-514, rfd=0x0, wfd=0xbfd5a178, xfd=0x0, tmo=0xbfd5a2a8) at process.c:4204
>> #3  0x081b0e3f in wait_reading_process_output (time_limit=0, microsecs=10000, read_kbd=0, do_display=0, wait_for_cell=137764129, wait_proc=0xb819ca0, just_wait_proc=0) at process.c:4587
>> #4  0x081b2de7 in Faccept_process_output (process=193043620, seconds=0, millisec=80, just_this_one=137764129) at process.c:3946
>>
>> This only happens sometimes.
>>
>> I have a small elisp wrapper for fetchmail, and I think the stuckness
>> might happen when fetchmail exits, but I'm not sure.
>>
>> Any hints how to debug this better when it happens?
>
> Can you check whether it is related to the setting of
> process-adaptive-read-buffering?  I seem to remember that tramp
> explicitly disabled it to get rid of large inexplicable delays, so it is
> not unlikely that there is still some bug lurking in there.

Thanks, I will take a look next time it happens.
-- 
Joakim Verona




  reply	other threads:[~2008-06-11 19:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11 19:09 emacs gets stuck in wait_reading_process_output sometimes joakim
2008-06-11 19:47 ` David Kastrup
2008-06-11 19:56   ` joakim [this message]
2008-06-11 22:06     ` David Kastrup

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

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

  git send-email \
    --in-reply-to=m33anjiw4m.fsf@verona.se \
    --to=joakim@verona.se \
    --cc=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.