[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8162: 23.3; Crash with invalid default-process-coding-system value
From: |
Eli Zaretskii |
Subject: |
bug#8162: 23.3; Crash with invalid default-process-coding-system value |
Date: |
Thu, 03 Mar 2011 06:25:51 -0500 |
> 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.