unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: 8162@debbugs.gnu.org
Subject: bug#8162: 23.3; Crash with invalid default-process-coding-system value
Date: Thu, 03 Mar 2011 06:25:51 -0500	[thread overview]
Message-ID: <E1Pv6fH-0003zX-AI@fencepost.gnu.org> (raw)
In-Reply-To: <wl8vwwv734.wl%mituharu@math.s.chiba-u.ac.jp> (message from YAMAMOTO Mitsuharu on Thu, 03 Mar 2011 19:20:15 +0900)

> Date: Thu, 03 Mar 2011 19:20:15 +0900
> From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
> Cc: 
> 
> Steps to reproduce:
> 
>   1. $ emacs -Q
>   2. M-x shell RET
>   3. M-: (setq default-process-coding-system '(dummy . utf-8-unix)) RET
>   4. C-u M-x shell RET RET
>   5. RET (in the *shell*<2> buffer)
> 
> Result:
> 
>   Crash with SIGSEGV at process.c:5737

Don't you see an error message regarding an invalid coding-system,
before you type the last RET (which causes the crash)?

set-process-coding-system signals an error when it sees the `dummy'
part, but comint.el does nothing about that.  It should kill the shell
buffer it just created, IMO.





  reply	other threads:[~2011-03-03 11:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-03 10:20 bug#8162: 23.3; Crash with invalid default-process-coding-system value YAMAMOTO Mitsuharu
2011-03-03 11:25 ` Eli Zaretskii [this message]
2011-03-03 12:38   ` Kenichi Handa
2011-03-03 13:14     ` Eli Zaretskii
2011-03-04  0:33       ` YAMAMOTO Mitsuharu
2011-03-04  0:37       ` Kenichi Handa
2011-03-05 20:17     ` Chong Yidong
2011-08-14 17:51       ` Chong Yidong

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1Pv6fH-0003zX-AI@fencepost.gnu.org \
    --to=eliz@gnu.org \
    --cc=8162@debbugs.gnu.org \
    --cc=mituharu@math.s.chiba-u.ac.jp \
    /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 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).