all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 38309@debbugs.gnu.org, a@ajgrf.com
Subject: bug#38309: Recent $EMACSLOADPATH changes crash gnome-session
Date: Sun, 24 Nov 2019 12:45:51 +0900	[thread overview]
Message-ID: <87d0diuec0.fsf@gmail.com> (raw)
In-Reply-To: <87eexy1nah.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 23 Nov 2019 19:05:10 +0100")

Hello,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi Maxim,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
>
>> Really sorry about this ugly regression :-/.
>
> Should we revert 47b3b4c2aa49e21f4cc32c97ff7bbbd069bb849c so we can
> address this without pressure in the meantime?
>
> I think I missed the discussions around this patch, but we should get
> Alex Kost into the loop (Alex did the initial work in that area, if I’m
> not mistaken.)
>
> Thanks,
> Ludo’.

There would be a couple more commits to include in the revert to undo
the changes (one to the build system, others to adapt the renaming of
the emacs-set-load-path phase for some packages:

--8<---------------cut here---------------start------------->8---
63edbb65e4 * origin/master gnu: emacs-protobuf-mode: Rename the set-emacs-load-path phase.
ffb2316548 * gnu: emacs-erlang: Rename the set-emacs-load-path phase.
ed94123667 * gnu: emacs-pdf-tools: Adapt phase name.
418febb54f * gnu: emacs-scel: Fix build.
1bb39982f1 * gnu: emacs-realgud: Fix build.
c51d4c7746 * gnu: emacs-pdf-tools: Fix build.
b44357d02a * gnu: emacs-forge: Fix build.
47b3b4c2aa * gnu: emacs: Adapt the autoloads auxiliary code to use EMACSLOADPATH.
e1d31e6457 * build-system: emacs: Simplify the SET-EMACS-LOAD-PATH phase.
215a45d9b8 * gnu: emacs: Locate Elisp libraries via EMACSLOADPATH.
--8<---------------cut here---------------end--------------->8---

The bug in questino seems to have to do with a regression in recent
versions PCRE, that trigger a crash on large environment variables as
reported in [0].  There's a new version of PCRE2 (10.34) available; but
I'm unsure if it addresses this particular problem:
https://pcre.org/changelog.txt.  If it doesn't we should report the
problem to them.

This could happen with any other environment variable than
EMACSLOADPATH; it's just a matter of having an environment variable grow
sufficiently long to trigger it.

I'm testing a patch that may workaround this problem successfully right
now (that would reduce the length of EMACSLOADPATH) I'll send an
incomplete patch shortly for discussing the idea or testing.  In case
it's not clear; I'd rather workaround the issue or have it fixed at its
source, ideally.

WDYT?

Maxim

[0]  https://bugzilla.redhat.com/show_bug.cgi?id=1430103

  reply	other threads:[~2019-11-24  3:47 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-21  2:25 bug#38309: Recent $EMACSLOADPATH changes crash gnome-session Alex Griffin
2019-11-22 13:00 ` Clément Lassieur
2019-11-22 13:15   ` Mathieu Othacehe
2019-11-22 17:40     ` Maxim Cournoyer
2019-11-23 18:05       ` Ludovic Courtès
2019-11-24  3:45         ` Maxim Cournoyer [this message]
2019-11-24 17:56           ` Ludovic Courtès
2019-11-25 17:23             ` Maxim Cournoyer
2019-11-26  9:20               ` Clément Lassieur
2019-11-26  9:30                 ` Ludovic Courtès
2019-11-27 14:10                 ` Maxim Cournoyer
2019-11-27 14:15                   ` Clément Lassieur
2019-11-27 17:30                   ` Clément Lassieur
2019-11-26  9:43               ` Clément Lassieur
2019-11-26  4:04             ` Maxim Cournoyer
2019-11-26  8:56               ` Ludovic Courtès
2019-11-27  3:12                 ` Maxim Cournoyer
2019-11-27  9:04                   ` Clément Lassieur
2019-11-27  0:01 ` Leo Prikler
2019-11-27 13:58   ` Maxim Cournoyer
2019-11-27 14:21     ` Jelle Licht
2019-11-28  5:28       ` Maxim Cournoyer
2019-12-02 10:36     ` Clément Lassieur
2019-12-03  9:38       ` Arne Babenhauserheide
2019-12-04  9:14       ` Ludovic Courtès
2019-12-04 10:14         ` Clément Lassieur
2019-12-04 12:31           ` Arne Babenhauserheide
2019-12-04 11:11         ` Arne Babenhauserheide
2019-12-06 17:02           ` Maxim Cournoyer
2019-12-07 16:18             ` Arne Babenhauserheide

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d0diuec0.fsf@gmail.com \
    --to=maxim.cournoyer@gmail.com \
    --cc=38309@debbugs.gnu.org \
    --cc=a@ajgrf.com \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.