GNU bug report logs - #16152
ptys on MS Windows

Previous Next

Package: emacs;

Reported by: Christopher Wellons <wellons <at> nullprogram.com>

Date: Sun, 15 Dec 2013 02:49:01 UTC

Severity: wishlist

Found in version 24.3

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

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 16152 in the body.
You can then email your comments to 16152 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#16152; Package emacs. (Sun, 15 Dec 2013 02:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Wellons <wellons <at> nullprogram.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 15 Dec 2013 02:49:02 GMT) Full text and rfc822 format available.

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

From: Christopher Wellons <wellons <at> nullprogram.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; Windows Emacs crash from pty EOF
Date: Sat, 14 Dec 2013 21:48:17 -0500
[Message part 1 (text/plain, inline)]
The following expression causes Emacs to crash in Windows 7 (and
probably other versions) with Emacs 24.3.1:

     (with-temp-buffer
       (start-process "crash-emacs-bug" (current-buffer) nil)
       (process-send-eof))

The `start-process' call here is creating a pty process (according to
the docstring). The exact version string is (official GNU build):

    GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN

This issue was originally discovered here:

https://github.com/skeeto/skewer-mode/issues/38
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16152; Package emacs. (Sun, 15 Dec 2013 18:43:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Christopher Wellons <wellons <at> nullprogram.com>
Cc: 16152 <at> debbugs.gnu.org
Subject: Re: bug#16152: 24.3; Windows Emacs crash from pty EOF
Date: Sun, 15 Dec 2013 20:42:20 +0200
> From: Christopher Wellons <wellons <at> nullprogram.com>
> Date: Sat, 14 Dec 2013 21:48:17 -0500
> 
> The following expression causes Emacs to crash in Windows 7 (and
> probably other versions) with Emacs 24.3.1:
> 
>      (with-temp-buffer
>        (start-process "crash-emacs-bug" (current-buffer) nil)
>        (process-send-eof))
> 
> The `start-process' call here is creating a pty process (according to
> the docstring). The exact version string is (official GNU build):
> 
>     GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN

PTYs are not supported on MS-Windows.  I added some protection so that
Emacs doesn't crash (trunk revision 115538), but I doubt if Emacs will
do anything useful when start-process is called that way on Windows.

> This issue was originally discovered here:
> 
> https://github.com/skeeto/skewer-mode/issues/38

I don't use skeeto, so I have no idea what it tries to do in this
case.  So I cannot offer any advice for how to make skeeto work on
Windows in this case, nor tell if that is even possible.




Changed bug title to 'ptys on MS Windows' from '24.3; Windows Emacs crash from pty EOF' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 15 Dec 2013 20:15:02 GMT) Full text and rfc822 format available.

Severity set to 'wishlist' from 'normal' Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 15 Dec 2013 20:15:02 GMT) Full text and rfc822 format available.

Reply sent to Noam Postavsky <npostavs <at> users.sourceforge.net>:
You have taken responsibility. (Wed, 15 Jun 2016 01:57:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Wellons <wellons <at> nullprogram.com>:
bug acknowledged by developer. (Wed, 15 Jun 2016 01:57:02 GMT) Full text and rfc822 format available.

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

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: 16152-done <at> debbugs.gnu.org
Cc: Christopher Wellons <wellons <at> nullprogram.com>
Subject: bug#16152: 24.3; Windows Emacs crash from pty EOF
Date: Tue, 14 Jun 2016 21:56:22 -0400
Closing, as I don't see any reason to leave this open. OP reported a
crash scenario which was fixed; ptys can't be implemented on Windows
because Windows doesn't provide support for such a thing.




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

This bug report was last modified 7 years and 298 days ago.

Previous Next


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