unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Philippe Vaucher <philippe.vaucher@gmail.com>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Emacs 25.3 alpine arm64 lisp/term/ns-win.elc memory leak?
Date: Sun, 17 May 2020 13:38:22 +0200	[thread overview]
Message-ID: <CAGK7Mr4yUe1k5okcbTcfwuS0dJ8r0tnBEYTsEgSAUw7-_9DsiA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2247 bytes --]

Hello,

When building Emacs 25.2 & 25.3 on arm64 one file takes 100% CPU and more
and more memory until it gets killed by the OOM killer:

#7 215.4 Checking /opt/emacs/lisp/leim/quail/lrt.el ...
#7 215.4 Checking /opt/emacs/lisp/leim/quail/CCDOSPY.el ...
#7 215.4 Checking /opt/emacs/lisp/leim/quail/QJ-b5.el ...
#7 215.4 Checking /opt/emacs/lisp/leim/quail/QJ.el ...
#7 215.4 Checking /opt/emacs/lisp/leim/quail/latin-post.el ...
#7 215.5 make[2]: Leaving directory '/opt/emacs/leim'
#7 215.8 Writing /opt/emacs/lisp/international/charprop.el...
#7 215.8 make[2]: Leaving directory '/opt/emacs/admin/unidata'
#7 215.8 make[2]: Entering directory '/opt/emacs/lisp'
#7 215.8 make[2]: Entering directory '/opt/emacs/lisp'
#7 215.8   ELC      ../lisp/international/ucs-normalize.elc
#7 215.8   ELC      ../lisp/term/ns-win.elc
#7 216.9 Directories for loaddefs: . ./calc ./calendar ./cedet ./cedet/ede
./cedet/semantic ./cedet/semantic/analyze ./cedet/semantic/bovine
./cedet/semantic/decorate ./cedet/semantic/symref ./cedet/semantic/wisent
./cedet/srecode ./emacs-lisp ./emulation ./erc ./eshell ./gnus
./international ./language ./leim ./leim/quail ./mail ./mh-e ./net ./nxml
./org ./play ./progmodes ./textmodes ./url ./vc
#7 216.9   GEN      loaddefs.el
#7 220.9 Making generated-autoload-file local to  *autoload-file* while
let-bound!
#7 249.3 make[2]: Leaving directory '/opt/emacs/lisp'
#7 287.3 make[2]: Leaving directory '/opt/emacs/lisp'
#7 526.1 make[2]: Leaving directory '/opt/emacs/lisp'
#7 526.1 make[2]: *** [Makefile:256: ../lisp/term/ns-win.elc] Killed
#7 526.2 make[1]: *** [Makefile:725: ../lisp/term/ns-win.elc] Error 2
#7 526.3 make[1]: Leaving directory '/opt/emacs/src'
#7 526.3 make: *** [Makefile:398: src] Error 2


Alpine needs the following patches for Emacs to build:

-
https://git.alpinelinux.org/aports/plain/community/emacs/gamedir.patch?h=3.7-stable
-
https://git.alpinelinux.org/aports/plain/community/emacs/musl.patch?h=3.7-stable
-
https://git.alpinelinux.org/aports/plain/community/emacs/noaslr-dump.patch?h=3.7-stable

If anyone has a clue about what I could try that'd be very welcome.

The patches are not needed anymore in Emacs 26.1, which compiles without
any problem on alpine.

Kind regards,
Philippe

[-- Attachment #2: Type: text/html, Size: 2950 bytes --]

             reply	other threads:[~2020-05-17 11:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-17 11:38 Philippe Vaucher [this message]
2020-05-17 13:48 ` Emacs 25.3 alpine arm64 lisp/term/ns-win.elc memory leak? Stefan Monnier
2020-05-17 17:19   ` Philippe Vaucher
2020-05-17 20:26     ` Philippe Vaucher
2020-05-17 20:46       ` Philippe Vaucher

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAGK7Mr4yUe1k5okcbTcfwuS0dJ8r0tnBEYTsEgSAUw7-_9DsiA@mail.gmail.com \
    --to=philippe.vaucher@gmail.com \
    --cc=emacs-devel@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).