From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#38309: Recent $EMACSLOADPATH changes crash gnome-session Date: Sat, 23 Nov 2019 02:40:51 +0900 Message-ID: <87k17rvmfw.fsf@gmail.com> References: <87y2w8vzeq.fsf@lassieur.org> <8736egaw7g.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33174) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYCwY-0003lJ-GQ for bug-guix@gnu.org; Fri, 22 Nov 2019 12:42:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYCwX-0006Kl-7T for bug-guix@gnu.org; Fri, 22 Nov 2019 12:42:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46636) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYCwX-0006Kh-3s for bug-guix@gnu.org; Fri, 22 Nov 2019 12:42:05 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:33048) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iYCvg-0003PS-IE for bug-guix@gnu.org; Fri, 22 Nov 2019 12:41:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iYCvW-00069I-Vo for bug-guix@gnu.org; Fri, 22 Nov 2019 12:41:06 -0500 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]:32820) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iYCvT-000692-74 for bug-guix@gnu.org; Fri, 22 Nov 2019 12:40:59 -0500 Received: by mail-qk1-x743.google.com with SMTP id c124so2573892qkg.0 for ; Fri, 22 Nov 2019 09:40:59 -0800 (PST) In-Reply-To: <8736egaw7g.fsf@gmail.com> (Mathieu Othacehe's message of "Fri, 22 Nov 2019 14:15:31 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Mathieu Othacehe Cc: a@ajgrf.com, 38309@debbugs.gnu.org Hello all, Really sorry about this ugly regression :-/. I'm surprised that a 22000 characters in an environment variable would be an issue though, given that that's probably around 22 KiB of memory and some people tested huge variables (>18 MiB) without facing any hard limit other than RAM [0]. Which leads me to suspect that the problem might be Gnome specific? I haven't experienced it, but then my EMACSLOADPATH variable is only about 7000 characters and I'm not using Gnome (I use ratpoison as a WM). If someone could confirm that they can login using another desktop (XFCE, perhaps?) that'd tell us we need to look more carefully at what gnome-session does and why it crashes on larger than average environment variables. I believe the "enhancement" #1 (to deprecate guix.d subdirectories) in XFCE?) as explained in bug #38273 [1] could lead to a much leaner EMACSLOADPATH, by reducing the number of entries necessary to refer to all the Elisp packages. [0] https://aplawrence.com/Unixart/variable_limits.html [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38273#34 Maxim