all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tetsurou Okazaki <okazaki@be.to>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Tetsurou Okazaki <okazaki@be.to>, 5637@debbugs.gnu.org
Subject: bug#5637: 23.1.92; Cygwin Emacs hangs after completion of //
Date: Tue, 09 Mar 2010 06:06:35 +0900	[thread overview]
Message-ID: <864okqbk10.wl%%cc9230e4f6b11649d75e8c3813911dbe1dd37419@be.to> (raw)
In-Reply-To: <83aauymqq2.fsf@gnu.org>

At Wed, 24 Feb 2010 20:30:13 +0200,
Eli Zaretskii wrote:
> 
> > Date: Wed, 24 Feb 2010 18:05:11 +0900
> > From: Tetsurou Okazaki <okazaki@be.to>
> > Cc: 
> > 
> >   Emacs in trunk built with Cygwin environment hangs
> >   when you try to complete path name after double slashes.
> > 
> >   M-x find-file
> >   (In the minibuffer) //[TAB]
> 
> Could it be that it just waits for the network?  If you leave it alone
> for a few minutes, does it come back to life?

No.  Sending QUIT signal from outside the process returns control to Emacs.
Tracing with gdb revealed that Emacs blocks in the function `file_name_completion_stat'
at `stat' call with the argument fullname = "//bin" after the previous `lstat' call
with same arguments returns -1 with errno = EINTR.


> The // is the beginning of the UNC, so Emacs could be trying to access
> the network.  If that's true, it will time-out after a few minutes.



--
Tetsurou






  reply	other threads:[~2010-03-08 21:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-24  9:05 bug#5637: 23.1.92; Cygwin Emacs hangs after completion of // Tetsurou Okazaki
2010-02-24 18:30 ` Eli Zaretskii
2010-03-08 21:06   ` Tetsurou Okazaki [this message]
2010-03-08 21:47     ` Eli Zaretskii
2010-02-24 21:27 ` Stefan Monnier
2011-09-18 12:03 ` Lars Magne Ingebrigtsen
2012-01-07  4:34   ` Lars Magne Ingebrigtsen

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=864okqbk10.wl%%cc9230e4f6b11649d75e8c3813911dbe1dd37419@be.to \
    --to=okazaki@be.to \
    --cc=5637@debbugs.gnu.org \
    --cc=eliz@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.