all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#57878: Emacs native compilation on startup can crash the system
@ 2022-09-17  9:09 Konrad Hinsen
  2022-09-17 10:28 ` bug#57878: Minimal reproducible setup Konrad Hinsen
  2022-12-09 14:30 ` bug#57878: Some further investigation Konrad Hinsen
  0 siblings, 2 replies; 27+ messages in thread
From: Konrad Hinsen @ 2022-09-17  9:09 UTC (permalink / raw)
  To: 57878

After updating to a commit after the introduction of native compilation
in Emacs, I cannot start Emacs any more. It launches an ever increasing
number of async processes for native compilation, which rapidly makes
kswapd the main CPU user on my machine, and ultimately crashes the
kernel.

Some experiments showed that it's loading the site-lisp/site-start.el  that
causes this avalanche of processes:

  emacs -Q --batch --eval="(print load-path)"

works fine. As does:

  emacs -Q --batch --load=~/.guix-profile/share/emacs/site-lisp/guix-emacs.el --eval="(print load-path)"

But not:

  emacs -Q --batch --load=~/.guix-profile/share/emacs/site-lisp/site-start.el --eval="(print load-path)"

which starts the avalanche of compilation.

Possibly related: in my user-dir (~/.emacs.d/) I have a directory
"eln-cache" containing a directory "28.1-f1a30909", but that directory
remains empty. Perhaps all native compilation attempts fail and that's
what causes the problem. Just guessing!

Cheers,
  Konrad.




^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2023-10-14 14:38 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-17  9:09 bug#57878: Emacs native compilation on startup can crash the system Konrad Hinsen
2022-09-17 10:28 ` bug#57878: Minimal reproducible setup Konrad Hinsen
2022-09-17 15:45   ` Konrad Hinsen
2022-09-17 23:19     ` Liliana Marie Prikler
2022-09-18 18:35       ` Liliana Marie Prikler
2022-09-19  6:04         ` Konrad Hinsen
2022-09-19  8:51           ` Konrad Hinsen
2022-10-02  0:15             ` Thompson, David
2022-10-02  0:23               ` Liliana Marie Prikler
2022-10-02  8:25               ` Konrad Hinsen
2022-10-12 19:42                 ` Liliana Marie Prikler
2022-10-13  9:31                   ` Max Brieiev
2022-10-13 18:23                     ` Liliana Marie Prikler
2022-10-14 16:07                   ` zimoun
2022-10-14 18:22                     ` Liliana Marie Prikler
2022-10-15 10:11                       ` zimoun
2022-10-15 14:40                         ` Liliana Marie Prikler
2022-10-15 15:40                           ` zimoun
2022-10-15 16:30                             ` Liliana Marie Prikler
2022-10-25 16:23                               ` Max Brieiev
2022-10-25 18:31                                 ` Liliana Marie Prikler
2022-10-26  7:46                                   ` zimoun
2022-10-11 10:04               ` zimoun
2022-10-13 10:06                 ` Max Brieiev
2023-10-12 14:50       ` bug#57878: Emacs native compilation on startup can crash the system Ludovic Courtès
2023-10-14 14:37         ` Konrad Hinsen
2022-12-09 14:30 ` bug#57878: Some further investigation Konrad Hinsen

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.