From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45159: 28.0.50; crash when no space on disk Date: Fri, 11 Dec 2020 10:12:25 +0200 Message-ID: <83ft4c3gnq.fsf@gnu.org> References: <83im994u4k.fsf@gnu.org> <837dpp4m9d.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19947"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45159@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 11 09:13:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kndY7-00055V-KR for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 09:13:11 +0100 Original-Received: from localhost ([::1]:48614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kndY6-0002bU-Kv for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 11 Dec 2020 03:13:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39544) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kndXy-0002ah-GA for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 03:13:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kndXy-0001Vl-8c for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 03:13:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kndXy-0004jd-3j for bug-gnu-emacs@gnu.org; Fri, 11 Dec 2020 03:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Dec 2020 08:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45159 X-GNU-PR-Package: emacs Original-Received: via spool by 45159-submit@debbugs.gnu.org id=B45159.160767437218181 (code B ref 45159); Fri, 11 Dec 2020 08:13:02 +0000 Original-Received: (at 45159) by debbugs.gnu.org; 11 Dec 2020 08:12:52 +0000 Original-Received: from localhost ([127.0.0.1]:39861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kndXo-0004jB-2b for submit@debbugs.gnu.org; Fri, 11 Dec 2020 03:12:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kndXl-0004iv-VW for 45159@debbugs.gnu.org; Fri, 11 Dec 2020 03:12:50 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58110) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kndXg-0001Ot-N1; Fri, 11 Dec 2020 03:12:44 -0500 Original-Received: from [176.228.60.248] (port=1078 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kndXf-0008CL-ON; Fri, 11 Dec 2020 03:12:44 -0500 In-Reply-To: (message from Jean Louis on Fri, 11 Dec 2020 00:23:23 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:195726 Archived-At: > Date: Fri, 11 Dec 2020 00:23:23 +0300 > From: Jean Louis > Cc: 45159@debbugs.gnu.org > > > > Additionally I can see that if there is any package like > > > persistent-scratch, Emacs cannot be killed with C-x C-c as package > > > asked to be saved. There is no way to exit Emacs is disk space is full > > > and some package want to save data on exit. > > > > That is also a bug. > > Business of debugging makes my computer frozen. This time I have > attached gdb to Emacs and it did not crash. I could not do > anything. Operation interrupted and I could not do just nothin with > Emacs. xkilled it, and madde bt full which is attached. I will try > tomorrow again. What Emacs command triggered the problem which happened before you attached GDB? Above, you are talking about not being able to kill Emacs with "C-x C-c" when persistent-scratch is used -- is that what you did there before attaching GDB? > #0 0x00007f15991dedb0 in raise () at /lib/libpthread.so.0 > #1 0x0000000000418ccd in terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=40) at emacs.c:408 > #2 0x0000000000418ea0 in emacs_abort () at sysdep.c:2282 > #3 0x000000000045a4ec in redisplay_internal () at xdisp.c:15474 What do you have on line 15474 of xdisp.c in the source tree from which this binary was produced? I don't think I understand how redisplay_internal called emacs_abort in this case. > #7 0x00000000004f3223 in shut_down_emacs (sig=sig@entry=6, stuff=stuff@entry=0x0) at emacs.c:2450 > tpgrp = > #8 0x0000000000418c9e in terminate_due_to_signal (sig=sig@entry=6, backtrace_limit=backtrace_limit@entry=40) at emacs.c:391 > #9 0x0000000000418ea0 in emacs_abort () at sysdep.c:2282 > #10 0x000000000045c2a2 in message3_nolog (m=m@entry=0x4ccd694) at xdisp.c:11117 > sf = Likewise here: what do you have on line 11117 of xdisp.c, in message3_nolog function? I don't understand how emacs_abort got called here, either. Thanks.