* bug#16152: 24.3; Windows Emacs crash from pty EOF
@ 2013-12-15 2:48 Christopher Wellons
2013-12-15 18:42 ` Eli Zaretskii
2016-06-15 1:56 ` Noam Postavsky
0 siblings, 2 replies; 3+ messages in thread
From: Christopher Wellons @ 2013-12-15 2:48 UTC (permalink / raw)
To: 16152
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#16152: 24.3; Windows Emacs crash from pty EOF
2013-12-15 2:48 bug#16152: 24.3; Windows Emacs crash from pty EOF Christopher Wellons
@ 2013-12-15 18:42 ` Eli Zaretskii
2016-06-15 1:56 ` Noam Postavsky
1 sibling, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2013-12-15 18:42 UTC (permalink / raw)
To: Christopher Wellons; +Cc: 16152
> From: Christopher Wellons <wellons@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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#16152: 24.3; Windows Emacs crash from pty EOF
2013-12-15 2:48 bug#16152: 24.3; Windows Emacs crash from pty EOF Christopher Wellons
2013-12-15 18:42 ` Eli Zaretskii
@ 2016-06-15 1:56 ` Noam Postavsky
1 sibling, 0 replies; 3+ messages in thread
From: Noam Postavsky @ 2016-06-15 1:56 UTC (permalink / raw)
To: 16152-done; +Cc: Christopher Wellons
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-15 1:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-15 2:48 bug#16152: 24.3; Windows Emacs crash from pty EOF Christopher Wellons
2013-12-15 18:42 ` Eli Zaretskii
2016-06-15 1:56 ` Noam Postavsky
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).