GNU bug report logs - #11536
23.4; frequent spurious auto-save while typing

Previous Next

Package: emacs;

Reported by: Jim Paris <jim <at> jtan.com>

Date: Mon, 21 May 2012 21:24:02 UTC

Severity: normal

Tags: moreinfo

Found in version 23.4

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: "Herbert J. Skuhra" <hskuhra <at> eumx.net>
Cc: Jim Paris <jim <at> jtan.com>, 11536 <at> debbugs.gnu.org
Subject: bug#11536: [Emacs-diffs] /srv/bzr/emacs/trunk r110781: Fix a race condition in wait_reading_process_output (tiny change).
Date: Mon, 05 Nov 2012 10:35:24 +0800
"Herbert J. Skuhra" <hskuhra <at> eumx.net> writes:

> the changes in r110781 (and r110782) make Emacs hang on both Arch
> GNU/Linux (i686) and FreeBSD 9.1-PRERELEASE (i386), e.g: 
> when Wanderlust is checking IMAP4 mailboxes.
>
> Strace on GNU/Linux is showing a loop of:
>
> poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN}, {fd=7,
> events=POLLIN}, {fd=3, events=POLLIN}], 4, 0) = 0 (Timeout)
> pselect6(13, [12], [], NULL, {0, 0}, {NULL, 8}) = 0 (Timeout)
> clock_gettime(CLOCK_REALTIME, {1352071692, 886361097}) = 0
> clock_gettime(CLOCK_REALTIME, {1352071692, 886549522}) = 0
> recv(6, 0x887ea58, 4096, 0) = -1 EAGAIN (Resource temporarily
> unavailable)
>
> Ktrace on FreeBSD is showing a loop of:
>
> 11723 emacs-24.3.50 RET   poll 0
> 11723 emacs-24.3.50 CALL  pselect(0x13,0xbfbf98bc,0xbfbf983c,0,0xbfbf99f8,0)
> 11723 emacs-24.3.50 RET   pselect 0
> 11723 emacs-24.3.50 CALL  read(0x3,0x849a018,0x1000)
> 11723 emacs-24.3.50 RET   read -1 errno 35 Resource temporarily unavailable

OK.  I'm reverting the change and reopening Bug#11536.





This bug report was last modified 3 years and 328 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.