From unknown Sun Aug 17 09:09:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24708 <24708@debbugs.gnu.org> To: bug#24708 <24708@debbugs.gnu.org> Subject: Status: 25.1; Launching Emacs Under ld-linux.so Results in Memory Exhausted on Some Linuxes Reply-To: bug#24708 <24708@debbugs.gnu.org> Date: Sun, 17 Aug 2025 16:09:48 +0000 retitle 24708 25.1; Launching Emacs Under ld-linux.so Results in Memory Exh= austed on Some Linuxes reassign 24708 emacs submitter 24708 Nicolas Hafner severity 24708 normal tag 24708 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 16 12:31:11 2016 Received: (at submit) by debbugs.gnu.org; 16 Oct 2016 16:31:11 +0000 Received: from localhost ([127.0.0.1]:35126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvoL8-0004yz-SN for submit@debbugs.gnu.org; Sun, 16 Oct 2016 12:31:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvkbN-00061r-JN for submit@debbugs.gnu.org; Sun, 16 Oct 2016 08:31:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvkbG-0002Zp-GN for submit@debbugs.gnu.org; Sun, 16 Oct 2016 08:31:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39135) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bvkbG-0002Zl-DH for submit@debbugs.gnu.org; Sun, 16 Oct 2016 08:31:34 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvkbE-0003hy-EH for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 08:31:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bvkb9-0002Xh-Bl for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 08:31:32 -0400 Received: from supersolid.equilibrium.tymoon.eu ([213.239.195.20]:52808) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bvkb9-0002XH-0T for bug-gnu-emacs@gnu.org; Sun, 16 Oct 2016 08:31:27 -0400 Received: from [192.168.178.63] (xdsl-188-154-181-161.adslplus.ch [188.154.181.161]) by supersolid.equilibrium.tymoon.eu (Postfix) with ESMTPSA id 0FF389E1374; Sun, 16 Oct 2016 12:31:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tymoon.eu; s=mail; t=1476621085; bh=tLN62Ejrjlu284B2sx1KW6OjSpIzZTH7kiePtJyQJYc=; h=To:From:Subject:Cc:Date:From; b=Qcdl5zo2qS5cPB+DXlY2/EZEtTb9BwybZidXPIkEbh3mMwV46tYhD50RfHm6K+i72 Ooh5VrjP+16b1/4Owq154G8u+zBUy6Erx58527luOpRfbANFhTmD8PO5NOzXJ4XXgB GnRL3Gro57BCqgPGPl5Bat3FgduOWSfW1I7ekTAg= To: bug-gnu-emacs@gnu.org From: Nicolas Hafner Subject: 25.1; Launching Emacs Under ld-linux.so Results in Memory Exhausted on Some Linuxes Message-ID: <6a699126-0f67-54e5-bf13-53151c3e60f8@tymoon.eu> Date: Sun, 16 Oct 2016 14:31:19 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kTWbDhilwtrnpivXKQkBi90bFVafG2SeU" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 16 Oct 2016 12:31:09 -0400 Cc: mordocai@mordocai.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --kTWbDhilwtrnpivXKQkBi90bFVafG2SeU Content-Type: multipart/mixed; boundary="ibkKjO4JreoTx8WkSngUinKpcNhtt9dX2"; protected-headers="v1" From: Nicolas Hafner To: bug-gnu-emacs@gnu.org Cc: mordocai@mordocai.net Message-ID: <6a699126-0f67-54e5-bf13-53151c3e60f8@tymoon.eu> Subject: 25.1; Launching Emacs Under ld-linux.so Results in Memory Exhausted on Some Linuxes --ibkKjO4JreoTx8WkSngUinKpcNhtt9dX2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Attempting to run Emacs 25.1 with ld-linux.so under certain Linux distributions will cause an immediate crash with a "Memory exhausted" message. I can reproduce this consistently under Arch Linux (Kernel 4.8.1-1) and Debian Stretch (Kernel 4.6.0-1). However, Emacs launches just fine with ld-linux under Linux Mint 17.1 (Kernel 3.13). The command I'm using to run emacs like this is simply: > /lib64/ld-linux-x86-64.so.2 /usr/bin/emacs When running under GDB, the output is as follows: > Starting program: /lib64/ld-linux-x86-64.so.2 /usr/bin/emacs > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/usr/lib/libthread_db.so.1". > [New Thread 0x7fffe7f23700 (LWP 19205)] > [New Thread 0x7fffe6efc700 (LWP 19206)] > [New Thread 0x7fffe64cf700 (LWP 19207)] > > ***MEMORY-ERROR***: emacs[19201]: GSlice: failed to allocate 8176 bytes (alignment: 8192): Cannot allocate memory > > > Thread 1 "ld-linux-x86-64" received signal SIGABRT, Aborted. > 0x00007ffff0f4004f in raise () from /usr/lib/libc.so.6 > (gdb) backtrace > #0 0x00007ffff0f4004f in raise () at /usr/lib/libc.so.6 > #1 0x00007ffff0f4147a in abort () at /usr/lib/libc.so.6 > #2 0x00007ffff58400f4 in () at /usr/lib/libglib-2.0.so.0 > #3 0x00007ffff5840b19 in () at /usr/lib/libglib-2.0.so.0 > #4 0x00007ffff5841668 in g_slice_alloc () at /usr/lib/libglib-2.0.so.0= > #5 0x00007ffff58416fe in g_slice_alloc0 () at /usr/lib/libglib-2.0.so.= 0 > #6 0x00007ffff5b212b4 in g_type_create_instance () at /usr/lib/libgobject-2.0.so.0 > #7 0x00007ffff5b031fb in () at /usr/lib/libgobject-2.0.so.0 > #8 0x00007ffff5b0510e in g_object_new_valist () at /usr/lib/libgobject-2.0.so.0 > #9 0x00007ffff5b053b1 in g_object_new () at /usr/lib/libgobject-2.0.so= =2E0 > #10 0x00000000004e4187 in () > #11 0x0000000000009cc0 in () > #12 0x000000000000b2b0 in () > #13 0x00000000011f1c30 in () > #14 0x00000000010bfcc3 in () > #15 0x0000000000000000 in () The only thing I've found related to this issue is a NEWS thread from 2005, though I am unsure as to how relevant this is for the current problem. The reason as to why I'm launching Emacs in this way is that I am deploying cross-distribution portable packages of emacs that ship their own versions of the shared libraries. In order for this to work I need to ensure that the libraries are loaded from a custom folder, rather than from the standard system directories. I need to invoke ld-linux.so directly in order to do this. Interestingly enough, if I build such a deployed package on the working Linux Mint system --including all required shared libraries and ld-linux.so in itself-- and copy it over to one of the other systems, it launches just fine. Still, I would rather not have to potentially be restricted to a build system that might break at any moment due to an update to the Kernel or some other component that might trigger the bug. If there's any other data that I could provide in order to help resolve this issue, I would be more than happy to do what I can. Sincerely, Nicolas Hafner In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9) of 2016-09-18 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.1180400= 0 System Description: Arch Linux Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-xft 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-strong' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_CTYPE: en_GB.UTF-8 value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: @im=3Duim locale-coding-system: utf-8-unix Major mode: REPL Minor modes in effect: paredit-mode: t slime-trace-dialog-minor-mode: t slime-autodoc-mode: t slime-repl-map-mode: t slime-editing-mode: t my-keys-minor-mode: t company-quickhelp-mode: t global-company-mode: t company-mode: t openwith-mode: t global-linum-mode: t linum-mode: t delete-selection-mode: t global-semanticdb-minor-mode: t global-semantic-idle-scheduler-mode: t semantic-mode: t global-ede-mode: t show-paren-mode: t ido-everywhere: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: =2E./../usr/share/emacs/site-lisp/uim-el/uim.el: (lambda (x) ...) quoted with ' rather than with #' [9 times] =E2=80=98epa-file=E2=80=99 already enabled Polling "/tmp/slime.989" .. 1 (Abort with =E2=80=98M-x slime-abort-connec= tion=E2=80=99.) Starting new Ispell process /usr/bin/aspell with british dictionary... Polling "/tmp/slime.989" .. 2 (Abort with =E2=80=98M-x slime-abort-connec= tion=E2=80=99.) For information about GNU Emacs and the GNU system, type C-h C-a. Polling "/tmp/slime.989" .. 3 (Abort with =E2=80=98M-x slime-abort-connec= tion=E2=80=99.) Polling "/tmp/slime.989" .. 4 (Abort with =E2=80=98M-x slime-abort-connec= tion=E2=80=99.) Connecting to Swank on port 33717.. Connected. Hack and be merry! Load-path shadows: /home/linus/.emacs.d/elpa/cmake-mode-20160928.505/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /home/linus/.emacs.d/elpa/seq-2.16/seq hides /usr/share/emacs/25.1/lisp/emacs-lisp/seq Features: (shadow sort mail-extr emacsbug message idna dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail mail-utils neotree network-stream nsm starttls flyspell ispell paredit company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb shinmera-startup shinmera-js shinmera-haskell shinmera-matlab shinmera-web shinmera-tex shinmera-eiffel slime-indentation slime-cl-indent slime-hyperdoc url-http tls gnutls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-cookie url-domsuf url-util url-parse auth-source gnus-util mm-util help-fns mail-prsvr password-cache url-gw url-vars slime-sprof slime-asdf grep slime-fancy slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references slime-compiler-notes-tree slime-scratch slime-presentations bridge slime-macrostep macrostep slime-mdot-fu slime-enclosing-context slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc slime-repl slime-parse slime-company slime compile arc-mode archive-mode noutline outline pp comint ansi-color hyperspec browse-url elisp-slime-nav etags xref project ring cl-indent shinmera-lisp epa-file epa derived epg shinmera-gpg shinmera-spell uim uim-helper uim-candidate uim-preedit uim-key uim-util uim-debug uim-keymap uim-var uim-version shinmera-uim shinmera-windows shinmera-paste shinmera-magit easy-mmode shinmera-keys shinmera-neotree company-quickhelp pos-tip company edmacro kmacro shinmera-company spolsky-theme openwith linum delsel semantic/db-mode semantic/db semantic/idle semantic/format semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func ede/speedbar ede/files ede ede/detect ede/base ede/auto ede/source eieio-base eieio-speedbar speedbar sb-image ezimage dframe eieio-custom cl-seq wid-edit eieio eieio-core cedet paren smex ido server powerline powerline-separators color powerline-themes expand-region text-mode-expansions er-basic-expansions expand-region-core expand-region-custom multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations rectangular-region-mode mc-mark-pop mc-mark-more thingatpt mc-cycle-cursors mc-edit-lines multiple-cursors-core rect advice shinmera-functions shinmera-general cl-macs cl shinmera-package iso-transl shinmera-init shinmera finder-inf tex-site slime-autoloads info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 318956 18913) (symbols 48 39383 0) (miscs 40 572 931) (strings 32 90618 11930) (string-bytes 1 2435217) (vectors 16 34591) (vector-slots 8 738263 2797) (floats 8 791 315) (intervals 56 821 59) (buffers 976 23)) --ibkKjO4JreoTx8WkSngUinKpcNhtt9dX2-- --kTWbDhilwtrnpivXKQkBi90bFVafG2SeU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJYA3MXAAoJEOErFEeL5MkiTcYIAImIzT99itD9gWqIUpuKsU78 /7ZkTXltu47mHR7TAU7/7T197Lsy/DKu3Dx5vbmyUsK7FsUyIxx1gimEqSokywao jyf4AIiVZ5eEKSxCQJQhNg0UjT59UsFX+2pz/5N3oruWqWLNCmojPLX/R1Ek4eVs dYM59iVMQaPCdefDRkCchyhPn5AhzOk4H8/flPwraLDRfrITvCIR7a8Ro7xarrWi J9AOhuu/qp+BLwmqHZd8MNy6XW3YNg22ILq9ftt4wODfOPA8hJhHJOCI6t9d8QVy siQs4OEvBr00G0k4y30h5uPEW0Tpc5VOJzI7yZbBx+G3blqyBCCGW43Htkl0BVw= =rOlx -----END PGP SIGNATURE----- --kTWbDhilwtrnpivXKQkBi90bFVafG2SeU-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 05 19:45:26 2018 Received: (at 24708) by debbugs.gnu.org; 5 Jun 2018 23:45:26 +0000 Received: from localhost ([127.0.0.1]:35607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQLdm-0003cu-Ax for submit@debbugs.gnu.org; Tue, 05 Jun 2018 19:45:26 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:55300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQLdk-0003W6-PT for 24708@debbugs.gnu.org; Tue, 05 Jun 2018 19:45:25 -0400 Received: by mail-it0-f66.google.com with SMTP id 144-v6so5725137iti.5 for <24708@debbugs.gnu.org>; Tue, 05 Jun 2018 16:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=RxSPyJ+K68JmuwVd0Do3rKRxRJIP/8VLJnLfUpaG+qE=; b=Y2tY+ZPiGFBHJ+r6NAMG68zVxw0uHFEOpU2BwHym/XNqQkQfnw/pFv/EVmRd6teXTn 019VtRNgganK7buZTF/sSq3m4yqVx3uXEQIxLF7pznB1mdr6MXZY27Fql5OidwaNf108 m3/vxBxl4ZeiXYojRhNSguF0MnqxmGa2YKcjIueolSn7P63RiHShvPyCROaskE4w55S2 wUblnXk1PVVjNHw8hOjdLTrvUS7TEeMJ0fSGjVl3JyVqLQFpKyMK8WqNqwRe9v2fgCIZ 2RcmwfNJSQMejhVou2J40n6mXkwviJDIKWncLgbPywoBEHJEGPWMJOh64VvYInIRP+hk y2kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=RxSPyJ+K68JmuwVd0Do3rKRxRJIP/8VLJnLfUpaG+qE=; b=KPpUMukdZaEBnmx1mZR3XU2I8rWvTAGNwwbKNWWOMzKOU+nVLjqMdWbqmMTg88Kx74 Ksw2e3Ge163S10C0/XaTshq58zqBtBh8KOnLZuK/MTQCO4lPBW8pFc2r6onliFZS4zVl C1bPeZrBnKl+58CrLPnTnqg+rZpkJu1hWVOH0fI3ZnqM6/CbHIvS592Octi2nZkqChLL CLxoXakXclZykTCtfWCMBonu3+5bcZDXJy5pzUJXlBwhDo/NWxjIRq0jtsQJrpVZmO6w FBC94DYjbm/QbjmGkChHhmGx1hIOxgYymDU0f/R/ATbxi+r2xS6szGYxgU9SoHHKIIDA KpGw== X-Gm-Message-State: APt69E3h/ckUD00pOh4jdMbUlsuQ+PoHxElgkHf9ZklKRvDN8wZz+BC9 lOIv0BbnZMmmY/Hz3FV33Hs= X-Google-Smtp-Source: ADUXVKI8A4onTabesVOe/nFnXzj3n+RePfPwyrqEm44PxTifnQW0J4317hooKI+qH5J2X9SZH9iX9w== X-Received: by 2002:a24:70d0:: with SMTP id f199-v6mr353010itc.2.1528242319267; Tue, 05 Jun 2018 16:45:19 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id l82-v6sm1252091itl.25.2018.06.05.16.45.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Jun 2018 16:45:18 -0700 (PDT) From: Noam Postavsky To: Nicolas Hafner Subject: Re: bug#24708: 25.1; Launching Emacs Under ld-linux.so Results in Memory Exhausted on Some Linuxes References: <6a699126-0f67-54e5-bf13-53151c3e60f8@tymoon.eu> Date: Tue, 05 Jun 2018 19:45:16 -0400 In-Reply-To: <6a699126-0f67-54e5-bf13-53151c3e60f8@tymoon.eu> (Nicolas Hafner's message of "Sun, 16 Oct 2016 14:31:19 +0200") Message-ID: <878t7s7q7n.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 24708 Cc: mordocai@mordocai.net, 24708@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Nicolas Hafner writes: > Attempting to run Emacs 25.1 with ld-linux.so under certain Linux > distributions will cause an immediate crash with a "Memory exhausted" > message. I can reproduce this consistently under Arch Linux (Kernel > 4.8.1-1) and Debian Stretch (Kernel 4.6.0-1). However, Emacs launches > just fine with ld-linux under Linux Mint 17.1 (Kernel 3.13). Does still happen with Emacs 26.1? There's been some changes to memory allocater selection since then. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 06 05:31:34 2018 Received: (at 24708) by debbugs.gnu.org; 6 Jun 2018 09:31:34 +0000 Received: from localhost ([127.0.0.1]:35868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQUn0-00059i-0N for submit@debbugs.gnu.org; Wed, 06 Jun 2018 05:31:34 -0400 Received: from supersolid.equilibrium.tymoon.eu ([213.239.195.20]:47468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQUmy-00059V-1u for 24708@debbugs.gnu.org; Wed, 06 Jun 2018 05:31:32 -0400 Received: from [192.168.178.63] (xdsl-31-165-147-141.adslplus.ch [31.165.147.141]) by supersolid.equilibrium.tymoon.eu (Postfix) with ESMTPSA id 12C1B9E1E02; Wed, 6 Jun 2018 09:31:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tymoon.eu; s=mail; t=1528277486; bh=aULJ0IzXQJ39XHflp2VyUrsS1zwIe4SbCkyD8ovi/0U=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=rctk3mrE6EUzGAfkvBlpLvyeZ6c0FpWSvUt0btL5Pd7onFbpM6OPGySgu0oPFCjOs uxmyqR1oPhbqbL/tKiG/7eYmCtN7eQryMVXzT1WsAukHME751vzq2U8tV+4Byv4PiB 6PYkpA1aArJQ7I7LOi/PIFDrD3/+PTOOzBeQiduw= Subject: Re: bug#24708: 25.1; Launching Emacs Under ld-linux.so Results in Memory Exhausted on Some Linuxes To: Noam Postavsky References: <6a699126-0f67-54e5-bf13-53151c3e60f8@tymoon.eu> <878t7s7q7n.fsf@gmail.com> From: Nicolas Hafner Openpgp: preference=signencrypt Autocrypt: addr=shinmera@tymoon.eu; prefer-encrypt=mutual; keydata= xsBNBFR9iA8BCACcJeQoYw8XRekE7heQD6ZCLz93K6f5r8vpELRgAMgoS8jVURBEhMDWi0/J MyKjo/hvspDDCanp6ZLgHo+sCpF8ue1K8UdVpQEvruAX/6uHhhSe3wtdkme6TNd2OjwCS1A5 fmkp6tHiMsVq0FZwkAP+wEm5feuL+wiJRB3YTPBv3lbw3mxinVLmcX1ZCyulerL8mDEhFWXU /iqbUe5vxnHMgGKa3ukrLg7AmWwWlfE06GDRbHPm9ciT+5RTV+DnWSvhR1zvbnkDHjWnrqn6 PXoWTZQjvXI2BUJ7lQ7WGrPuNI9qyrpr/MHNkQ8y0oS2vWfYl+bbrA5HCVQyxia0f6xNABEB AAHNI05pY29sYXMgSGFmbmVyIDxzaGlubWVyYUB0eW1vb24uZXU+wsB3BBMBCAAhBQJUfYgP AhsDBQsJCAcCBhUICQoLAgQWAgMBAh4BAheAAAoJEOErFEeL5MkizhkH/1No+WYZ0Xa8A3qX 42jXZPveflFEYyM5Fqd/947qRnqur80seVbZkb0ga76WvIa1bv7yaV4QeyALeExMqoP8jivH j2Eu35cb8UE3xVW+c/C9PICNqmNcEt9LGa3WGdGrazEoJ/NqZy9cNjJC4WVf3+wylMBYCWa4 1JbXvtmqy6Dq3heQf8SKnwi/GCfTtMbAA9gIi45//n8LVGOxHxIMdEjOk29d89VAMDqSvXL/ T3SkeAjVrSP+MYDoRKe2Aq5sYLx0r2YPnkEcCecqJjaer6vC1RxaqTZJpgluNleyvnJDDM4h qWk33JE0vvyH7CJcMvnuzfg6H/Ob4fEQwrh3DN3OwE0EVH2IDwEIAOHU6MebF4ZykIv+szWz YVfg5w0ktkCZBHdSK+aNyfBPVl87IDOCX+zZ1/2KTqEYnrCltUUkegOJvJ4axsI1tibBxdTE q0d1uBFgoh/e6jvX7Bv/2fMSRGthXDY+tVlkmlThm+Dt/13xOmlDv3DYZKnVCrY6hVK2kuDB LddDLIzzq3iGxM/xIg3Nr5knpEcyRvmQ+IAO/2VUFGl7uMiqP+58O54D0DHjJeFTnl1EYoN5 MGujzqlLJubAQAIZUaNpgWeVh8s49J6tCXkvM/RV1FDJRWU772W4kRyaghvrccreWdNcmdsI 8T2yw9f/EqtxwAqOyVLDkiwLIPpDa4pzQ4sAEQEAAcLAXwQYAQgACQUCVH2IDwIbDAAKCRDh KxRHi+TJIh6tB/9QaZhCcFcRvBgvSmI8Xfk54dm5Dzf0Y5kttu923i6RepebSfRjE6A/NIU/ E4qDYJISn/BYB/g/yVt2qfGCAxDejhcepRA6yF50zOXwnMBZuCSKaPjT3AgAdVgFluN+UhgO daibo9vHIAJUGpuLLwbOBHjnrR1DenPo6gobODF7oaQ53Qy3BXNBGQlS1kyYaF5wMrtD3S3V P2tkMCclqZszBCl4atyMLxM5mVv/jgrRqxOhbmOXPy5sQPc5SIanGrGpHxk8jLaa1n2wjLer k4T5p9hOfbSkJT3pb6pl7wOeOmn8LSAuYlmYKIQOCmETVO7DujH5Yyysshd5c9BJweo0 Message-ID: <9f580581-f027-78e8-d20f-d902935c1a57@tymoon.eu> Date: Wed, 6 Jun 2018 11:31:24 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <878t7s7q7n.fsf@gmail.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nvY2A38RfLpErhOJKuW8b6cjBEqDoOT38" X-Spam-Status: No, score=-1.0 required=6.0 tests=ALL_TRUSTED,HTML_MESSAGE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dropleton.supersolid.equilibrium.tymoon.eu X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 24708 Cc: 24708@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nvY2A38RfLpErhOJKuW8b6cjBEqDoOT38 Content-Type: multipart/mixed; boundary="ZJ0SL4NUr4I3mKB6sVF2o1hkvOxR0ZelN"; protected-headers="v1" From: Nicolas Hafner To: Noam Postavsky Cc: 24708@debbugs.gnu.org Message-ID: <9f580581-f027-78e8-d20f-d902935c1a57@tymoon.eu> Subject: Re: bug#24708: 25.1; Launching Emacs Under ld-linux.so Results in Memory Exhausted on Some Linuxes References: <6a699126-0f67-54e5-bf13-53151c3e60f8@tymoon.eu> <878t7s7q7n.fsf@gmail.com> In-Reply-To: <878t7s7q7n.fsf@gmail.com> --ZJ0SL4NUr4I3mKB6sVF2o1hkvOxR0ZelN Content-Type: multipart/alternative; boundary="------------E68DA09C75A515D6A6154D61" Content-Language: en-GB This is a multi-part message in MIME format. --------------E68DA09C75A515D6A6154D61 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I've tested it with 26.1 and indeed the problem seems to have been fixed. Fantastic! On 06/06/18 01:45, Noam Postavsky wrote: > Nicolas Hafner writes: > >> Attempting to run Emacs 25.1 with ld-linux.so under certain Linux >> distributions will cause an immediate crash with a "Memory exhausted" >> message. I can reproduce this consistently under Arch Linux (Kernel >> 4.8.1-1) and Debian Stretch (Kernel 4.6.0-1). However, Emacs launches >> just fine with ld-linux under Linux Mint 17.1 (Kernel 3.13). > Does still happen with Emacs 26.1? There's been some changes to memory= > allocater selection since then. > --------------E68DA09C75A515D6A6154D61 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

I've tested it with 26.1 and indeed the problem seems to have been fixed. Fantastic!


On 06/06/18 01:45, Noam Postavsky wrote:
Nicolas Hafner <shinmera@tymoon.eu> writes:

Attempting to run Emacs 25.1 with ld-linux.so unde=
r certain Linux
distributions will cause an immediate crash with a "Memory exhausted"
message. I can reproduce this consistently under Arch Linux (Kernel
4.8.1-1) and Debian Stretch (Kernel 4.6.0-1). However, Emacs launches
just fine with ld-linux under Linux Mint 17.1 (Kernel 3.13).
Does still happen with Emacs 26.1?  There's been some changes to memory
allocater selection since then.


--------------E68DA09C75A515D6A6154D61-- --ZJ0SL4NUr4I3mKB6sVF2o1hkvOxR0ZelN-- --nvY2A38RfLpErhOJKuW8b6cjBEqDoOT38 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEb2ybnkJO7uMpdarg4SsUR4vkySIFAlsXqewACgkQ4SsUR4vk ySJaXgf/Y1/i3LxMhJO6J9Hng/ZJzkHjmDwt8GdqgzOpSpIVvL5xMNW56mkokb0x v21+G32mXbY9WP+DzZop9I05+2erzL4cXDpdxG1t1AgK5bulLIckcigFlTVAGeHa NPBsbUkNJ8ROzTUzokuCXjsnyNvwEWyE6VbkofgaqN8p7VD1FgNjLHW6fzsP1+Ak /XGMjAL0Bx/X4wFM+n+bqSYt8V6WzhIp9eduILmlWa/4+DFx6KOtq4VjC10XoEva vPQKuBlQPWvTT9IDVTMG+w71dVbljKKUhYeMhCq1avm0FHjLlPEr0UnYI7UB5weB DebZAt5la/3/2WmiDjBWbczoV0fw6A== =A7Co -----END PGP SIGNATURE----- --nvY2A38RfLpErhOJKuW8b6cjBEqDoOT38-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 06 06:52:07 2018 Received: (at control) by debbugs.gnu.org; 6 Jun 2018 10:52:07 +0000 Received: from localhost ([127.0.0.1]:35948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQW2x-0000YZ-JQ for submit@debbugs.gnu.org; Wed, 06 Jun 2018 06:52:07 -0400 Received: from mail-it0-f53.google.com ([209.85.214.53]:52464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQW2w-0000Y5-8h for control@debbugs.gnu.org; Wed, 06 Jun 2018 06:52:06 -0400 Received: by mail-it0-f53.google.com with SMTP id m194-v6so7426151itg.2 for ; Wed, 06 Jun 2018 03:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=zlRRDw3bNigiFROIWp9rbXplkRSGPLWFIbln3Xio0q8=; b=qV+9kBmKanD1PpmWLQmhNwiar6D2KQ1KOGXmoJsHWjHv9j4DZ+/q06D9eOGHUB+6Oh Hf38hwV5s77MF00eDO8qUSv/0RXJ1Mfvol1LHJYLWfJe1g/TpWkrxeLohS0+u4hIADQ7 3dJmjx0PzAV3PpOTe2KpvufyKzjkauUqW7BQnQLNMjTrYUjT307xRODhvD8RUHgPEIRh TQHyVAO9kZ2DmiJdMRFlIW7x87cNpuS8nlPAGI61ayREzFtyv081YZyEptOAZI2Vpkgj L+AV7xaAXw4moPvh8qG2gCLAqqoA8BLD95ImdBJwJ9tzKwcMeVQHpt2+hqwbcpfSq0PC yvGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=zlRRDw3bNigiFROIWp9rbXplkRSGPLWFIbln3Xio0q8=; b=nOlg4qiOyDR9Tn8N+NpUX1Y6uaXeBisFQY9Sx2y76q1CBksKkDymzQ4eYafcRVWRdw R8xP5EdyPKkCTIU8q3r2vM7uK+3PEN7xebjaYzvWUzJulQikzQGEifZj2UeCXEVB7cdA EBoETG9dPqpXWlGPPJtsFp2z678L7IFYTfxJC2I0+W70MWJH5TIV8gjzzVC1jwYyvEG+ Br45yTqrodFGacsR+HwBX/xrWV1zrgKRK1FUKQOZdaisxpzF8pXTcDF9jat6o7pUT7Dd WyZpDqtwjmS2afZastumj/xtSsPDzrue69GjA0JRFFP4x7ygAVE+pniVLtJGpDacm/j+ Wv3A== X-Gm-Message-State: APt69E1W022PimaD9AOS/KWdZ/M6mlr69uK3mcAYTk9jKFhVTb9G/Bat kBtL+AxJQCDgnXNPBYt9HWAJBEEB X-Google-Smtp-Source: ADUXVKJTqLnFV40cicTCUJgFHsoRVMger3ovaVsGnksGFW4q68UyIV8svpc0h2pWXEM1r9IokGSMVw== X-Received: by 2002:a24:ef05:: with SMTP id i5-v6mr1894174ith.112.1528282320599; Wed, 06 Jun 2018 03:52:00 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id y8-v6sm5948146ioc.50.2018.06.06.03.51.59 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jun 2018 03:52:00 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #24708 Date: Wed, 06 Jun 2018 06:51:59 -0400 Message-ID: <87wovc427k.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) tags 24708 fixed close 24708 26.1 quit From unknown Sun Aug 17 09:09:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 04 Jul 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator