From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: branch master segfault (2019-02-05) Date: Wed, 06 Feb 2019 17:44:25 +0200 Message-ID: <83y36ssyzq.fsf@gnu.org> References: <83ftt2tc0e.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="151754"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Philippe Vaucher Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 06 16:50:54 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grPTQ-000dJD-FL for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2019 16:50:52 +0100 Original-Received: from localhost ([127.0.0.1]:53008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grPTP-0008QK-Gu for ged-emacs-devel@m.gmane.org; Wed, 06 Feb 2019 10:50:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grPNT-000452-5V for emacs-devel@gnu.org; Wed, 06 Feb 2019 10:44:43 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grPNN-0003Ms-BL; Wed, 06 Feb 2019 10:44:39 -0500 Original-Received: from [176.228.60.248] (port=1323 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1grPNJ-0002nz-ON; Wed, 06 Feb 2019 10:44:37 -0500 In-reply-to: (message from Philippe Vaucher on Wed, 6 Feb 2019 10:30:06 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:233047 Archived-At: > From: Philippe Vaucher > Date: Wed, 6 Feb 2019 10:30:06 +0100 > > Okay, Emacs works if I in term.c:753 if I use this: > > ``` > coding = FRAME_TERMINAL_CODING (f); > ``` > > instead of: > > ``` > coding = (FRAME_TERMINAL_CODING (f)->common_flags & CODING_REQUIRE_ENCODING_MASK ? > FRAME_TERMINAL_CODING (f) : &safe_terminal_coding); > ``` > > I know docker allocates a "pseudo TTY", so probably that there's a misdetection happening here. No, it isn't misdetection. The problem is that safe_terminal_coding is not set up.