From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Philippe Vaucher Newsgroups: gmane.emacs.devel Subject: Emacs 25.3 alpine arm64 lisp/term/ns-win.elc memory leak? Date: Sun, 17 May 2020 13:38:22 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005eb8ea05a5d67d14" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="55119"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 17 13:40:10 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jaHeM-000EE9-0T for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 13:40:10 +0200 Original-Received: from localhost ([::1]:43282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaHeL-0006ay-2Y for ged-emacs-devel@m.gmane-mx.org; Sun, 17 May 2020 07:40:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaHd5-0005Ei-ND for emacs-devel@gnu.org; Sun, 17 May 2020 07:38:51 -0400 Original-Received: from mail-lf1-x143.google.com ([2a00:1450:4864:20::143]:46887) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaHd4-0001SR-Ng for emacs-devel@gnu.org; Sun, 17 May 2020 07:38:51 -0400 Original-Received: by mail-lf1-x143.google.com with SMTP id v5so5489564lfp.13 for ; Sun, 17 May 2020 04:38:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yUYmC8/m9cSwWr6LcvyjfgHLOXSV3r/AqnbOgH+JsCw=; b=kd5Vvd9XGzikRaJB7D7XhRx1eS4yesWv3ChVJrZu/DsO448ckpE7dbmI+h8/7ZI5My 4Nw+Jreh8EjXFkCd4Gpu+gn38COz95QNkASrtgV6BMp9LQNFhXklUnouE1RQPIgetufi srS61XoJio+ZN4xMiWQQ+PwjrugU9UmKH6z9SmoPLk6JXN8IbLrg2B0f9yIxWB+Ub8B9 QMu3US00TwFZVWnM9m7Z62LwQC01TEbcIz15znZ8sqKhUNzfMhbZd7SK1EZvTeNYQnjJ GuiTpMOxwoU7ZJ68k71B+GTwd5KmLtXJJOME3gIbAeXeWnLZzHHHZS+RYQDNUnEzoy3m S4PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yUYmC8/m9cSwWr6LcvyjfgHLOXSV3r/AqnbOgH+JsCw=; b=HbSxqmcocc6sHyIbvzZtWmnLIG8VL9TBSkaC4va+0hRaIRy7jwbMkoOyDiK2oJBSnv hjzq7HB3shsdlrmQXQ55weqfdQqLi5aJGbllty3zyuJNGC/LmpltLYhF/adBMYCJxfVV 8jKiv1wxV4PxqL6SN2txl6xxwMfAi5jFP3Kc4iMLKth5PiG4STd85WOe+UVN0knvqz4Y W3JrIJX3wkKdBySGWAIXaBIw45konbnCbOveYZVKqnQtUjDMki/YigLOIJRX4RD6sleV IOAd/WY1sSymckmplAzFFdo983U5N+JDmSmnit4iFX6vfTx0FJ4+6SqwQ66VHdHrE/ag mTVQ== X-Gm-Message-State: AOAM531JptW4ulbCQmY1PmMcHKSiSj/ec7i6jHoLy0OVm9acQkg+d3My vORk4rdP8BCQmXW75Aw095+opxAnMlhYlPWVf3C1qpQu2VA= X-Google-Smtp-Source: ABdhPJwohZK/4V4u4JNJybrGdnDECbj0W/0qwWyQJa2lyUpbrZET/PXIf+xwfLPmZiE2d2vE8aPh1EPg2C39m0OrYh0= X-Received: by 2002:a05:6512:455:: with SMTP id y21mr8362301lfk.202.1589715528495; Sun, 17 May 2020 04:38:48 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::143; envelope-from=philippe.vaucher@gmail.com; helo=mail-lf1-x143.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:250587 Archived-At: --0000000000005eb8ea05a5d67d14 Content-Type: text/plain; charset="UTF-8" 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 --0000000000005eb8ea05a5d67d14 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

When building Emacs 25.2 & 25.3 on arm64= one file=C2=A0takes 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 Che= cking /opt/emacs/lisp/leim/quail/QJ-b5.el ...
#7 215.4 Checking /opt/ema= cs/lisp/leim/quail/QJ.el ...
#7 215.4 Checking /opt/emacs/lisp/leim/quai= l/latin-post.el ...
#7 215.5 make[2]: Leaving directory '/opt/emacs/= leim'
#7 215.8 Writing /opt/emacs/lisp/international/charprop.el...<= br>#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 =C2=A0 = ELC =C2=A0 =C2=A0 =C2=A0../lisp/international/ucs-normalize.elc
#7 215.8= =C2=A0 ELC =C2=A0 =C2=A0 =C2=A0../lisp/term/ns-win.elc
#7 216.9 Directo= ries 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-li= sp ./emulation ./erc ./eshell ./gnus ./international ./language ./leim ./le= im/quail ./mail ./mh-e ./net ./nxml ./org ./play ./progmodes ./textmodes ./= url ./vc
#7 216.9 =C2=A0 GEN =C2=A0 =C2=A0 =C2=A0loaddefs.el
#7 220.9= Making generated-autoload-file local to =C2=A0*autoload-file* while let-bo= und!
#7 249.3 make[2]: Leaving directory '/opt/emacs/lisp'
#7= 287.3 make[2]: Leaving directory '/opt/emacs/lisp'
#7 526.1 mak= e[2]: Leaving directory '/opt/emacs/lisp'
#7 526.1 make[2]: *** = [Makefile:256: ../lisp/term/ns-win.elc] Killed
#7 526.2 make[1]: *** [Ma= kefile:725: ../lisp/term/ns-win.elc] Error 2
#7 526.3 make[1]: Leaving d= irectory '/opt/emacs/src'
#7 526.3 make: *** [Makefile:398: src]= Error 2

Alpine needs the following patches= for Emacs to build:


If anyone h= as 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
--0000000000005eb8ea05a5d67d14--