Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skewer-repl crashes Emacs on Windows 7 for certain inputs #38

Closed
NateEag opened this issue Dec 13, 2013 · 3 comments
Closed

skewer-repl crashes Emacs on Windows 7 for certain inputs #38

NateEag opened this issue Dec 13, 2013 · 3 comments

Comments

@NateEag
Copy link
Contributor

NateEag commented Dec 13, 2013

I've started playing with Skewer's JS REPL, having mostly just used it for CSS work since I discovered it.

I have found a way to crash Emacs with it on Windows 7. It's not hard to avoid, but genuine crashes are nasty things, so I thought I'd file a report.

Start Emacs (emacs-version output is "GNU Emacs 24.3.1 (i386-mingw-nt6.1.7601) of 2013-03-17 on MARVIN").

Execute the run-skewer command.

Execute 'skewer-repl'.

In the new REPL, press C-d.

A dialog box with the following message appears:

A fatal error has occurred!

Would you like to attach a debugger?

Select YES to debug, NO to abort Emacs

(type "gdb -p <emacs-PID> and "continue" inside GDB before clicking YES.)

and of course Emacs shuts down when you say No (I don't have GDB installed on this box).

@skeeto
Copy link
Owner

skeeto commented Dec 15, 2013

Thanks for the bug report. I was able to narrow it down to this:

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

Uses `start-process' to create a PTY process (what does this do in
Windows?) which crashes Emacs when sent an EOF. I'll send this on to the
Emacs bug mailing list.

@skeeto
Copy link
Owner

skeeto commented Dec 15, 2013

Here's the Emacs bug report:

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16152

@NateEag
Copy link
Contributor Author

NateEag commented Dec 15, 2013

Excellent. Thanks very much for passing it on.

@NateEag NateEag closed this as completed Dec 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants