[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5637: 23.1.92; Cygwin Emacs hangs after completion of //
From: |
Tetsurou Okazaki |
Subject: |
bug#5637: 23.1.92; Cygwin Emacs hangs after completion of // |
Date: |
Tue, 09 Mar 2010 06:06:35 +0900 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) Emacs/23.1 Mule/6.0 (HANACHIRUSATO) |
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
- bug#5637: 23.1.92; Cygwin Emacs hangs after completion of //,
Tetsurou Okazaki <=