From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?G=C3=B6ktu=C4=9F?= Kayaalp Newsgroups: gmane.emacs.bugs Subject: bug#33629: 27.0.50; Emacs built --without-threads signals (void-function thread-name) when `save-buffers-kill-terminal' Date: Thu, 06 Dec 2018 16:57:21 +0300 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1544105040 26386 195.159.176.226 (6 Dec 2018 14:04:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 6 Dec 2018 14:04:00 +0000 (UTC) Cc: 33629@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 06 15:03:56 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUuFq-0006bN-Jy for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Dec 2018 15:03:50 +0100 Original-Received: from localhost ([::1]:41158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUuHx-0005Tk-4I for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Dec 2018 09:06:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUuDf-000077-05 for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2018 09:01:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUuAF-0003tV-Sv for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2018 08:58:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59023) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gUuAE-0003sb-B8 for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2018 08:58:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gUuAE-0002eS-5w for bug-gnu-emacs@gnu.org; Thu, 06 Dec 2018 08:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?G=C3=B6ktu=C4=9F?= Kayaalp Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Dec 2018 13:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33629 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33629-submit@debbugs.gnu.org id=B33629.154410465610152 (code B ref 33629); Thu, 06 Dec 2018 13:58:02 +0000 Original-Received: (at 33629) by debbugs.gnu.org; 6 Dec 2018 13:57:36 +0000 Original-Received: from localhost ([127.0.0.1]:35048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUu9k-0002da-94 for submit@debbugs.gnu.org; Thu, 06 Dec 2018 08:57:36 -0500 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:49995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUu9d-0002dL-5L for 33629@debbugs.gnu.org; Thu, 06 Dec 2018 08:57:29 -0500 X-Originating-IP: 31.206.238.29 Original-Received: from alpha.alpha (unknown [31.206.238.29]) (Authenticated sender: self@gkayaalp.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 4106320002; Thu, 6 Dec 2018 13:57:22 +0000 (UTC) In-Reply-To: <837egn96mo.fsf@gnu.org> (message from Eli Zaretskii on Wed, 05 Dec 2018 20:21:35 +0200) 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: 208.118.235.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:153146 Archived-At: On 2018-12-05 20:21 +02, Eli Zaretskii wrote: > Does the patch below fix the problem? Yes, thank you! > diff --git a/lisp/simple.el b/lisp/simple.el > index e192238..db59b9f 100644 > --- a/lisp/simple.el > +++ b/lisp/simple.el > @@ -4006,7 +4006,9 @@ list-processes--refresh > (tty (or (process-tty-name p) "--")) > (thread > (cond > - ((null (process-thread p)) "--") > + ((or > + (null (process-thread p)) > + (not (fboundp 'thread-name))) "--") > ((eq (process-thread p) main-thread) "Main") > ((thread-name (process-thread p))))) > (cmd --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp 024C 30DD 597D 142B 49AC 40EB 465C D949 B101 2427