From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18851: 24.4; emacs cannot be started if the current directory has been removed Date: Fri, 12 Jun 2015 10:53:37 +0300 Message-ID: <83zj45qs5a.fsf@gnu.org> References: <87h9ypiqmm.fsf@xvii.vinc17.org> <8k61f398u4.fsf@fencepost.gnu.org> <20141029012802.GS4400@xvii.vinc17.org> <83y4rz1qmj.fsf@gnu.org> <20141029080939.GT4400@xvii.vinc17.org> <83r3xr0x4u.fsf@gnu.org> <20141029153959.GM5545@ypig.lip.ens-lyon.fr> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1434095671 8977 80.91.229.3 (12 Jun 2015 07:54:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jun 2015 07:54:31 +0000 (UTC) Cc: vincent@vinc17.net, 18851@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 12 09:54:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z3Jn2-00076q-PD for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jun 2015 09:54:12 +0200 Original-Received: from localhost ([::1]:49892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Jn2-0004ya-26 for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jun 2015 03:54:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Jmx-0004yF-Qa for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 03:54:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3Jms-0005XN-SA for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 03:54:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Jms-0005XI-P3 for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 03:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3Jms-0007x8-87 for bug-gnu-emacs@gnu.org; Fri, 12 Jun 2015 03:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jun 2015 07:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18851 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18851-submit@debbugs.gnu.org id=B18851.143409563230555 (code B ref 18851); Fri, 12 Jun 2015 07:54:02 +0000 Original-Received: (at 18851) by debbugs.gnu.org; 12 Jun 2015 07:53:52 +0000 Original-Received: from localhost ([127.0.0.1]:51210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Jmh-0007wk-PY for submit@debbugs.gnu.org; Fri, 12 Jun 2015 03:53:52 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:41696) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Jme-0007wR-LK for 18851@debbugs.gnu.org; Fri, 12 Jun 2015 03:53:49 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NPT00F00MWA1Y00@mtaout27.012.net.il> for 18851@debbugs.gnu.org; Fri, 12 Jun 2015 10:49:04 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPT008PNN1SER70@mtaout27.012.net.il>; Fri, 12 Jun 2015 10:49:04 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103855 Archived-At: > From: Glenn Morris > Cc: Vincent Lefevre , 18851@debbugs.gnu.org, Eli Zaretskii > Date: Thu, 11 Jun 2015 20:39:04 -0400 > > Stefan Monnier wrote: > > >> IMHO, if the current directory no longer exists, the default-directory > >> of *scratch* can be nil. > > > > Yes, that seems to be the right fix for this problem. > > Of course a default-directory set to nil can cause problems down the > > road, but these are either unavoidable or should likely be fixable. > > I installed something along these lines. Now: > > mkdir /tmp/foo > cd /tmp/foo > rmdir /tmp/foo > emacs -Q > > works for me ~ 10% of the time. The rest of the time it segfaults. It doesn't segfault for me. Can you show a backtrace?