all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Daniel Kraus <daniel@kraus.my>
Cc: 28430@debbugs.gnu.org
Subject: bug#28430: 26.0.50; Segfault on unexpected connection loss
Date: Tue, 12 Sep 2017 18:00:46 +0300	[thread overview]
Message-ID: <83d16wq7vl.fsf@gnu.org> (raw)
In-Reply-To: <87h8w8qxrz.fsf@matrix> (message from Daniel Kraus on Tue, 12 Sep 2017 13:41:20 +0800)

> From: Daniel Kraus <daniel@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.





  reply	other threads:[~2017-09-12 15:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-12  5:41 bug#28430: 26.0.50; Segfault on unexpected connection loss Daniel Kraus
2017-09-12 15:00 ` Eli Zaretskii [this message]
2017-09-13  9:12   ` Daniel Kraus
2017-09-13 15:13     ` Eli Zaretskii
2017-09-14  2:27       ` Daniel Kraus
2017-09-14  2:46         ` Eli Zaretskii
2017-09-14  4:56           ` Daniel Kraus
2017-09-15 13:20             ` Eli Zaretskii
2017-09-15 13:51               ` Daniel Kraus
2017-09-15 14:39                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83d16wq7vl.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=28430@debbugs.gnu.org \
    --cc=daniel@kraus.my \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.