GNU bug report logs - #23791
25.1.50; w32-shell-execute hangs

Previous Next

Package: emacs;

Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>

Date: Sat, 18 Jun 2016 08:29:02 UTC

Severity: normal

Tags: moreinfo

Found in version 25.1.50

Done: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 23791 in the body.
You can then email your comments to 23791 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#23791; Package emacs. (Sat, 18 Jun 2016 08:29:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 18 Jun 2016 08:29:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1.50; w32-shell-execute hangs
Date: Sat, 18 Jun 2016 17:27:58 +0900
On MSYS2 64bit build from trunk and emacs-25 branch, emacs hangs when
w32-shell-execute is called with "open" operation (no CPU usage, but
not respond to C-g).

(w32-shell-execute "open" "D:/test.pdf")

The bevhavior seems to depend on target.  For example, "a shortcut for
'Cygwin Terminal'" has no problem, but "cmd.exe" hangs emacs and
cmd.exe is not executed.  Overmore, Cygwin build (both 32bit and
64bit) from the same source has no problem.

-- 
Kazuhiro Ito




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23791; Package emacs. (Sat, 18 Jun 2016 08:49:02 GMT) Full text and rfc822 format available.

Message #8 received at 23791 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Cc: 23791 <at> debbugs.gnu.org
Subject: Re: bug#23791: 25.1.50; w32-shell-execute hangs
Date: Sat, 18 Jun 2016 11:48:56 +0300
> Date: Sat, 18 Jun 2016 17:27:58 +0900
> From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
> 
> On MSYS2 64bit build from trunk and emacs-25 branch, emacs hangs when
> w32-shell-execute is called with "open" operation (no CPU usage, but
> not respond to C-g).
> 
> (w32-shell-execute "open" "D:/test.pdf")

I cannot reproduce this in a 32-bit build: I see no problem with
w32-shell-execute and PDF targets (or any other target I tried).

Can you step with a debugger into w32-shell-execute, and see where it
hangs?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23791; Package emacs. (Sat, 18 Jun 2016 09:24:01 GMT) Full text and rfc822 format available.

Message #11 received at 23791 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Cc: 23791 <at> debbugs.gnu.org
Subject: Re: bug#23791: 25.1.50; w32-shell-execute hangs
Date: Sat, 18 Jun 2016 12:24:38 +0300
> Date: Sat, 18 Jun 2016 17:27:58 +0900
> From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
> 
> On MSYS2 64bit build from trunk and emacs-25 branch

Can you show all the usual information about the affected build,
everything that's collected by 'report-emacs-bug'?  It might be
important (and should be part of a bug report anyway).

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23791; Package emacs. (Sat, 18 Jun 2016 14:06:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Óscar Fuentes <ofv <at> wanadoo.es>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#23791: 25.1.50; w32-shell-execute hangs
Date: Sat, 18 Jun 2016 16:04:37 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:

> I cannot reproduce this in a 32-bit build: I see no problem with
> w32-shell-execute and PDF targets (or any other target I tried).

I cannot reproduce in Emacs 25.1.50.1 x86_64-w64-mingw32 running on
Windows 8.1 64bits. The pdf opens correctly and trying to open a file
with an unregistered extension pops up the Windows dialog for choosing
an application for opening it.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#23791; Package emacs. (Sat, 18 Jun 2016 17:18:01 GMT) Full text and rfc822 format available.

Message #17 received at 23791 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 23791 <at> debbugs.gnu.org
Subject: Re: bug#23791: 25.1.50; w32-shell-execute hangs
Date: Sat, 18 Jun 2016 20:17:56 +0300
> From: Óscar Fuentes <ofv <at> wanadoo.es>
> Date: Sat, 18 Jun 2016 16:04:37 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > I cannot reproduce this in a 32-bit build: I see no problem with
> > w32-shell-execute and PDF targets (or any other target I tried).
> 
> I cannot reproduce in Emacs 25.1.50.1 x86_64-w64-mingw32 running on
> Windows 8.1 64bits. The pdf opens correctly and trying to open a file
> with an unregistered extension pops up the Windows dialog for choosing
> an application for opening it.

Thanks.  I suspect the original problem has something to do with local
setup on the OP's system.




Reply sent to Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>:
You have taken responsibility. (Tue, 21 Jun 2016 23:48:02 GMT) Full text and rfc822 format available.

Notification sent to Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>:
bug acknowledged by developer. (Tue, 21 Jun 2016 23:48:02 GMT) Full text and rfc822 format available.

Message #22 received at 23791-done <at> debbugs.gnu.org (full text, mbox):

From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23791-done <at> debbugs.gnu.org
Subject: Re: bug#23791: 25.1.50; w32-shell-execute hangs
Date: Wed, 22 Jun 2016 08:47:29 +0900
Sorry for insufficient infromation.  And I noticed the problem is due
to my local patch.  I mistook the result of patched trunk for emacs-25
branch which is not patched.  The patch was disabled on Cygwin build
and did not affect.

I'm closing it.  Sorry for my mistake.

-- 
Kazuhiro Ito




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 20 Jul 2016 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 32 days ago.

Previous Next


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