[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18851: 24.4; emacs cannot be started if the current directory has be
From: |
Eli Zaretskii |
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 |
> From: Glenn Morris <rgm@gnu.org>
> 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.