GNU bug report logs - #28430
26.0.50; Segfault on unexpected connection loss

Previous Next

Package: emacs;

Reported by: Daniel Kraus <daniel <at> kraus.my>

Date: Tue, 12 Sep 2017 06:43:01 UTC

Severity: normal

Found in version 26.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Kraus <daniel <at> kraus.my>
Cc: 28430 <at> debbugs.gnu.org
Subject: bug#28430: 26.0.50; Segfault on unexpected connection loss
Date: Tue, 12 Sep 2017 18:00:46 +0300
> From: Daniel Kraus <daniel <at> kraus.my>
> Date: Tue, 12 Sep 2017 13:41:20 +0800
> 
> This bug happens with restclient mode but I suspect it happens
> for other packages as well?!
> 
> To reproduce:
> 
> Start in a process to listen on a port, e.g.
> #+BEGIN_SRC sh
> nc -l -p 6543
> #+END_SRC
> 
> Start emacs: `emacs --debug-init -Q`
> 
> Load restclient:
> #+BEGIN_SRC emacs-lisp
> (add-to-list 'load-path "/home/daniel/.emacs.d/elpa/restclient-20170727.825")
> (require 'restclient)
> #+END_SRC
> Open new buffer (e.g. 'test.rest') and `M-x restclient-mode`.
> Type:
> `GET http://127.0.0.1:6543/`
> and then press `C-c C-c`
> 
> Switch to the netcat window and Ctrl-C to break up the connection.
> Emacs segfaults:
> #+BEGIN_QUOTE
> Fatal error 11: Segmentation fault

Can you please run this under GDB, and when Emacs segfaults, produce
the C backtrace and post it here?

Thanks.




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

Previous Next


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