From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: grischka Newsgroups: gmane.emacs.devel Subject: Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SIGTERM Date: Sat, 24 Jan 2009 20:11:23 +0100 Message-ID: <497B67DB.2010203@gmx.de> References: "u7i4mujro.fsf@gnu.org" <497A1417.8040306@gmx.de> <497B22CA.4080203@gmx.de> <497B5641.7010501@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232824315 16730 80.91.229.12 (24 Jan 2009 19:11:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 24 Jan 2009 19:11:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 24 20:13:08 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LQnw7-0003ip-Jx for ged-emacs-devel@m.gmane.org; Sat, 24 Jan 2009 20:12:56 +0100 Original-Received: from localhost ([127.0.0.1]:41271 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQnup-0002lU-Ug for ged-emacs-devel@m.gmane.org; Sat, 24 Jan 2009 14:11:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LQnul-0002lF-OK for emacs-devel@gnu.org; Sat, 24 Jan 2009 14:11:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LQnuk-0002kz-9o for emacs-devel@gnu.org; Sat, 24 Jan 2009 14:11:31 -0500 Original-Received: from [199.232.76.173] (port=48861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LQnuk-0002kw-3T for emacs-devel@gnu.org; Sat, 24 Jan 2009 14:11:30 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:54211) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LQnuj-0007pT-H2 for emacs-devel@gnu.org; Sat, 24 Jan 2009 14:11:29 -0500 Original-Received: (qmail invoked by alias); 24 Jan 2009 19:11:27 -0000 Original-Received: from p57A0AD1B.dip0.t-ipconnect.de (EHLO [192.168.1.3]) [87.160.173.27] by mail.gmx.net (mp061) with SMTP; 24 Jan 2009 20:11:27 +0100 X-Authenticated: #18588216 X-Provags-ID: V01U2FsdGVkX19vT7QKilxvc0I5tyiAdCzSbrLTX169ZJ2Od0SQqV UyCybPYiWKWQeG User-Agent: Thunderbird 2.0.0.18 (X11/20081125) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.57 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:108198 Archived-At: Eli Zaretskii wrote: >> Date: Sat, 24 Jan 2009 18:56:17 +0100 >> From: grischka >> CC: emacs-devel@gnu.org >> >> Eli Zaretskii wrote: >>> Pressing Ctrl-C where? Emacs redefines SIGINT so that it is produced >>> by C-g, not by C-c (because the latter is used in many key sequences), >>> so I presume you don't mean typing Ctrl-C into the Emacs window. But >>> then where did you type it? >> In the xterm. > > It aborts in eval.c here: > > if (gc_in_progress || waiting_for_input) > abort (); > Here too. > Can you see which one of gc_in_progress and waiting_for_input is > non-zero? > I'd bet for "waiting_for_input". However the problem starts earlier at: #4 0x081a9a78 in scan_lists (from=8, count=1, depth=-1, sexpflag=0) at syntax.c:2805 where it hits the "lose" label. And no, I haven't figured out how this happens.