* bug#5637: 23.1.92; Cygwin Emacs hangs after completion of //
@ 2010-02-24 9:05 Tetsurou Okazaki
2010-02-24 18:30 ` Eli Zaretskii
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Tetsurou Okazaki @ 2010-02-24 9:05 UTC (permalink / raw
To: 5637
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug. If you can, give
a recipe starting from `emacs -Q':
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]
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/local/share/emacs/23.1.92/etc/DEBUG.
In GNU Emacs 23.1.92.1 (i686-pc-cygwin, GTK+ Version 2.18.6)
of 2010-02-22 on zeroset
configured using `configure '--with-x-toolkit=gtk''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C
value of $XMODIFIERS: nil
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC [ > 0 ; 1 3 6 ; 0 c ESC x r e p o r t - e m a TAB
RET
Recent messages:
("emacs")
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
/usr/local/share/emacs/site-lisp/flim/sha1 hides /usr/local/share/emacs/23.1.92/lisp/sha1
/usr/local/share/emacs/site-lisp/flim/md4 hides /usr/local/share/emacs/23.1.92/lisp/md4
/usr/local/share/emacs/site-lisp/flim/hex-util hides /usr/local/share/emacs/23.1.92/lisp/hex-util
/usr/local/share/emacs/site-lisp/bitmap/po hides /usr/local/share/emacs/23.1.92/lisp/textmodes/po
/usr/local/share/emacs/site-lisp/flim/sasl hides /usr/local/share/emacs/23.1.92/lisp/net/sasl
/usr/local/share/emacs/site-lisp/flim/sasl-ntlm hides /usr/local/share/emacs/23.1.92/lisp/net/sasl-ntlm
/usr/local/share/emacs/site-lisp/flim/sasl-digest hides /usr/local/share/emacs/23.1.92/lisp/net/sasl-digest
/usr/local/share/emacs/site-lisp/flim/sasl-cram hides /usr/local/share/emacs/23.1.92/lisp/net/sasl-cram
/usr/local/share/emacs/site-lisp/flim/ntlm hides /usr/local/share/emacs/23.1.92/lisp/net/ntlm
/usr/local/share/emacs/site-lisp/flim/hmac-md5 hides /usr/local/share/emacs/23.1.92/lisp/net/hmac-md5
/usr/local/share/emacs/site-lisp/flim/hmac-def hides /usr/local/share/emacs/23.1.92/lisp/net/hmac-def
/usr/local/share/emacs/site-lisp/wl/rfc2368 hides /usr/local/share/emacs/23.1.92/lisp/mail/rfc2368
/usr/local/share/emacs/site-lisp/wl/utf7 hides /usr/local/share/emacs/23.1.92/lisp/gnus/utf7
Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util
netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock
sha1 sha1-el hex-util hashcash mail-utils help-mode easymenu view
emacsbug tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind system-font-setting
font-render-setting gtk x-toolkit x multi-tty emacs)
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5637: 23.1.92; Cygwin Emacs hangs after completion of //
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
2010-02-24 21:27 ` Stefan Monnier
2011-09-18 12:03 ` Lars Magne Ingebrigtsen
2 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2010-02-24 18:30 UTC (permalink / raw
To: Tetsurou Okazaki; +Cc: 5637
> 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?
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5637: 23.1.92; Cygwin Emacs hangs after completion of //
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-02-24 21:27 ` Stefan Monnier
2011-09-18 12:03 ` Lars Magne Ingebrigtsen
2 siblings, 0 replies; 7+ messages in thread
From: Stefan Monnier @ 2010-02-24 21:27 UTC (permalink / raw
To: Tetsurou Okazaki; +Cc: 5637
> 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]
Does it "hang hard" or can you interrupt the hang with C-g?
Most likely it's just waiting for some network access, in which case the
only/best thing we can do is to make sure C-g lets you interrupt the wait.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5637: 23.1.92; Cygwin Emacs hangs after completion of //
2010-02-24 18:30 ` Eli Zaretskii
@ 2010-03-08 21:06 ` Tetsurou Okazaki
2010-03-08 21:47 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Tetsurou Okazaki @ 2010-03-08 21:06 UTC (permalink / raw
To: Eli Zaretskii; +Cc: Tetsurou Okazaki, 5637
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5637: 23.1.92; Cygwin Emacs hangs after completion of //
2010-03-08 21:06 ` Tetsurou Okazaki
@ 2010-03-08 21:47 ` Eli Zaretskii
0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2010-03-08 21:47 UTC (permalink / raw
To: Tetsurou Okazaki; +Cc: okazaki, 5637
> Date: Tue, 09 Mar 2010 06:06:35 +0900
> From: Tetsurou Okazaki <okazaki@be.to>
> Cc: Tetsurou Okazaki <okazaki@be.to>, 5637@debbugs.gnu.org
>
> 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 errno = EINTR looks strange -- unless you also interrupted it
under GDB.
Could this be a Cygwin issue? Would it be a good idea to ask on the
Cygwin list about calling `stat' with an argument that begins with two
slashes?
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5637: 23.1.92; Cygwin Emacs hangs after completion of //
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-02-24 21:27 ` Stefan Monnier
@ 2011-09-18 12:03 ` Lars Magne Ingebrigtsen
2012-01-07 4:34 ` Lars Magne Ingebrigtsen
2 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-09-18 12:03 UTC (permalink / raw
To: Tetsurou Okazaki; +Cc: 5637
Tetsurou Okazaki <okazaki@be.to> writes:
> 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]
Is this still a problem with a current Emacs?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#5637: 23.1.92; Cygwin Emacs hangs after completion of //
2011-09-18 12:03 ` Lars Magne Ingebrigtsen
@ 2012-01-07 4:34 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2012-01-07 4:34 UTC (permalink / raw
To: Tetsurou Okazaki; +Cc: 5637
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Tetsurou Okazaki <okazaki@be.to> writes:
>
>> 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]
>
> Is this still a problem with a current Emacs?
More information was requested, but no response was given within a few
months, so I'm closing this bug report. If the problem still exists,
please reopen this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-01-07 4:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.