From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#37786: 26.3; Emacs crashes when calling function to decode string Date: Fri, 18 Oct 2019 11:49:17 +0200 Message-ID: References: <80sgnsdn9a.fsf@felesatra.moe> <87zhi0knm5.fsf@gnus.org> <80wod21xu4.fsf@felesatra.moe> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="192494"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Lars Ingebrigtsen , 37786@debbugs.gnu.org To: Allen Li Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 18 11:52:07 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLOvU-000nme-0H for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Oct 2019 11:52:04 +0200 Original-Received: from localhost ([::1]:37278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLOvS-0002m0-OT for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Oct 2019 05:52:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49450) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLOta-0000tS-U9 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 05:50:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLOtV-0006GM-RU for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 05:50:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLOtV-0006GE-Ne for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 05:50:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iLOtV-0004LM-J8 for bug-gnu-emacs@gnu.org; Fri, 18 Oct 2019 05:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Oct 2019 09:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37786 X-GNU-PR-Package: emacs Original-Received: via spool by 37786-submit@debbugs.gnu.org id=B37786.157139216916642 (code B ref 37786); Fri, 18 Oct 2019 09:50:01 +0000 Original-Received: (at 37786) by debbugs.gnu.org; 18 Oct 2019 09:49:29 +0000 Original-Received: from localhost ([127.0.0.1]:49403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLOsy-0004KK-On for submit@debbugs.gnu.org; Fri, 18 Oct 2019 05:49:29 -0400 Original-Received: from mail-wr1-f43.google.com ([209.85.221.43]:37388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLOsw-0004K3-Aa for 37786@debbugs.gnu.org; Fri, 18 Oct 2019 05:49:27 -0400 Original-Received: by mail-wr1-f43.google.com with SMTP id p14so5532776wro.4 for <37786@debbugs.gnu.org>; Fri, 18 Oct 2019 02:49:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=Nu1Gn8rpeNpryWIHHMXbHhSracN+uVTL7hxA6CuAlg8=; b=L5ngTS+dsIs/7YfZ4PZx1SUS2BExigmjB7EJ1+BOUGNgbnTasrHB8hfFklPci6bMz7 9BBa87cvouJ+VmKPWc8y1jKWr5suv/lMHK6RjXNsK8UK6Op/EiUA0FG0TfEylw879PPb 3uKAylhqgQn8ycddbm6Yc32Vvq2uMautKXRHWYnTd69eWQo+NG12loIqMFEDm3fV34YY eOQFns2fnCjJ4A6uo/GtTZ41Ef3UDX1XMXnPLzwg2WKLDfTaA37INy1H1Z8yZzCOOQdU HmZmuF8QYd+p8tvwCasBVas+NpXm/Yst670cM1uW6jGB/AeWXOb6d7R5lZWI4hMto+lT irwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=Nu1Gn8rpeNpryWIHHMXbHhSracN+uVTL7hxA6CuAlg8=; b=HsHlM5hdUA4DcS8mdyf0urE70zrA0wE9/8RAIkltwqOx2UMk7b8PPzxeQhdHbqlKUu q4VoZDMDTj/quuOedL43nydQpgqGim7bgKl4ATBVDTDV7Kh0bIMDQVMUWGFXu+l1NjHo NU5tEF9KlcpeLn5sv87AjHia0u7NXlkx2jteRuRCuVgQc527crcY8Ve51jDsjIDQR98c eE1F52pL6M0GZmzlw4YoKY4PcvvnTkRA+p0uhvDYNXkbuTJDivh+qFXWYrPPNfXCqCq4 gRDiVvhH7Xfp86f/dVSnAKTzn0YucoMQkzpwt16rWZX9YoCT5qUIM+iUi1h6L3XB0iBX k1qw== X-Gm-Message-State: APjAAAWgDAasP6+GN75ryNnn2WBGqM9SZ6AWJy5CZtCvQUrUbdOOzbRL pks7QtTDTHB5gB7f8pDMSd8nRknMY74= X-Google-Smtp-Source: APXvYqxjhzEKKbe8lltZhXNgv5d+jfd4tJDIIUEkqa0WcjpcEP20vj7kVraOEBGhkoA27BYYkWQYdA== X-Received: by 2002:a5d:522f:: with SMTP id i15mr6618291wra.257.1571392159869; Fri, 18 Oct 2019 02:49:19 -0700 (PDT) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id 79sm8071666wmb.7.2019.10.18.02.49.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Oct 2019 02:49:18 -0700 (PDT) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <80wod21xu4.fsf@felesatra.moe> (Allen Li's message of "Thu, 17 Oct 2019 21:28:35 -0700") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169655 Archived-At: >>>>> On Thu, 17 Oct 2019 21:28:35 -0700, Allen Li said: Allen> This is the backtrace using the simpler repro from Robert. Allen> #0 0x0000000000565ae9 in terminate_due_to_signal (sig=3D6, back= trace_limit=3D40) at emacs.c:363 Allen> #1 0x000000000058ca83 in emacs_abort () at sysdep.c:2380 Allen> #2 0x000000000045c17e in redisplay_internal () at xdisp.c:13797 Allen> #3 0x000000000045e0b7 in redisplay_preserve_echo_area (from_whe= re=3D13) at xdisp.c:14602 Allen> #4 0x0000000000667fbe in Fdelete_process (process=3DXIL(0x6aa33= 95)) at process.c:1054 Allen> #5 0x000000000067716b in kill_buffer_processes (buffer=3DXIL(0)= ) at process.c:7819 Allen> #6 0x00000000005683d0 in shut_down_emacs (sig=3D0, stuff=3DXIL(= 0)) at emacs.c:2096 Allen> #7 0x000000000052d854 in x_connection_closed (dpy=3D0x2b77f50, Allen> error_message=3D0x7fffffff6fc0 "X protocol error: BadLength (poly Allen> request too large or internal Xlib length error) on protocol req= uest Allen> 139", ioerror=3Dfalse) at xterm.c:9799 I thought we=CA=BCd fixed these kinds of bugs, but obviously not. Can you try your test in combination with the following from etc/DEBUG, it should tell us which font is responsible: For X protocol errors related to displaying unusual characters or to font-related customizations, try invoking Emacs like this: XFT_DEBUG=3D16 emacs -xrm "emacs.synchronous: true" This should produce information from the libXft library which could give useful hints regarding font-related problems in that library. Regards Robert