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: Sat, 13 Jun 2015 10:56:02 +0300 Message-ID: <83eglgqbxp.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> <83zj45qs5a.fsf@gnu.org> <83mw04raei.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1434182249 22915 80.91.229.3 (13 Jun 2015 07:57:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2015 07:57:29 +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 Sat Jun 13 09:57:18 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 1Z3gJZ-0000Yn-33 for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 09:57:17 +0200 Original-Received: from localhost ([::1]:55049 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3gJY-0002BT-5Q for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jun 2015 03:57:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3gJU-0002Aq-B1 for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 03:57:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3gJK-0008Bb-L1 for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 03:57:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3gJK-0008BS-HE for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 03:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z3gJK-0003EA-95 for bug-gnu-emacs@gnu.org; Sat, 13 Jun 2015 03:57: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: Sat, 13 Jun 2015 07:57: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.143418217512351 (code B ref 18851); Sat, 13 Jun 2015 07:57:02 +0000 Original-Received: (at 18851) by debbugs.gnu.org; 13 Jun 2015 07:56:15 +0000 Original-Received: from localhost ([127.0.0.1]:52268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3gIY-0003D9-BB for submit@debbugs.gnu.org; Sat, 13 Jun 2015 03:56:14 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:42371) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3gIV-0003Ct-LW for 18851@debbugs.gnu.org; Sat, 13 Jun 2015 03:56:12 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NPV00F00HD89Q00@a-mtaout22.012.net.il> for 18851@debbugs.gnu.org; Sat, 13 Jun 2015 10:56:05 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPV00FEJI1GAN20@a-mtaout22.012.net.il>; Sat, 13 Jun 2015 10:56:05 +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:103882 Archived-At: > From: Glenn Morris > Cc: monnier@iro.umontreal.ca, vincent@vinc17.net, 18851@debbugs.gnu.org > Date: Fri, 12 Jun 2015 21:29:05 -0400 > > Eli Zaretskii wrote: > > > Maybe SMC cannot work with current directory removed? > > It looks that way, though xsmfns.c already seems to take the necessary > precautions for that case, and a super-quick look at the libSM source > didn't show any obvious issue. The only solution I can think of is to > disable session-management in such a case: I think you should install this. After all, how frequent is this scenario that we should bother about session-management in that case? > For completeness, here's a backtrace with debug libSM and libICE included. > (What about the address-out-of-bounds in #3?) props[4] is garbage, because there are only 4 valid elements in this case (props_idx = 4). So it's just GDB displaying a garbled 5th element of props[] array.