From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: jca@wxcvbn.org (=?utf-8?Q?J=C3=A9r=C3=A9mie_Courr=C3=A8ges-Anglas?=) Newsgroups: gmane.emacs.devel Subject: Re: When should ralloc.c be used? Date: Fri, 28 Oct 2016 08:19:48 +0200 Message-ID: <871sz1gfln.fsf@ritchie.wxcvbn.org> References: <831szqhbc2.fsf@gnu.org> <87d1itt79z.fsf_-_@users.sourceforge.net> <7baa18d4-2b09-caa8-005e-29008a383ad1@cs.ucla.edu> <83mvhwrgd5.fsf@gnu.org> <8539f38f-9a11-44c3-4de7-bb974c96206c@cs.ucla.edu> <8360ojpndr.fsf@gnu.org> <83wpgzo30m.fsf@gnu.org> <5a4bbe6d-08ce-e6c6-39d1-49c9cd6d1ffd@cs.ucla.edu> <83mvhvns9a.fsf@gnu.org> <83d1irnozo.fsf@gnu.org> <83mvhunb0d.fsf@gnu.org> <423fab24-9be6-778c-58c3-29a0b825b8c7@cs.ucla.edu> <83a8du5gy1.fsf@gnu.org> <92ca0bf8-7ad4-a7de-70e5-ddbd6eab9741@cs.ucla.edu> <83zilt3dne.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477635705 18258 195.159.176.226 (28 Oct 2016 06:21:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 28 Oct 2016 06:21:45 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) Cc: Paul Eggert , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 28 08:21:41 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c00Xe-0002M7-2H for ged-emacs-devel@m.gmane.org; Fri, 28 Oct 2016 08:21:26 +0200 Original-Received: from localhost ([::1]:46919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c00Xg-0008So-FD for ged-emacs-devel@m.gmane.org; Fri, 28 Oct 2016 02:21:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c00X6-0008Se-Qm for emacs-devel@gnu.org; Fri, 28 Oct 2016 02:20:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c00X6-0006tN-3r for emacs-devel@gnu.org; Fri, 28 Oct 2016 02:20:52 -0400 Original-Received: from chomsky.autogeree.net ([91.216.110.36]:59636) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c00X0-0006qq-Gn; Fri, 28 Oct 2016 02:20:46 -0400 Original-Received: from ritchie.wxcvbn.org (localhost [127.0.0.1]) by wxcvbn.org (8.15.2/8.15.2) with ESMTP id u9S6Jnba077501; Fri, 28 Oct 2016 08:19:49 +0200 (CEST) Original-Received: (from jca@localhost) by ritchie.wxcvbn.org (8.15.2/8.15.2/Submit) id u9S6JmUj011881; Fri, 28 Oct 2016 08:19:48 +0200 (CEST) In-Reply-To: <83zilt3dne.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 24 Oct 2016 19:39:01 +0300") Mail-Followup-To: Eli Zaretskii , Paul Eggert , emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 91.216.110.36 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208912 Archived-At: Eli Zaretskii writes: [...] >> As I understand it, although the ralloc.c approach worked for a long >> time, it fell out of favor on common platforms and so hasn't been >> debugged as thoroughly for the past several years. Unfortunately, recent >> changes to glibc have caused ralloc.c to be used again on common GNU >> platforms and this are shaking out longstanding bugs with the ralloc.c >> approach. This means people using bleeding-edge glibc are suffering >> problems similar to what people on now-unusual platforms must have had >> for some time. > > Yes, exactly. And since most people at least here use Emacs on > GNU/Linux, the nasty problems due to ralloc.c are popping up much > faster and more frequently than they did when only *BSD and Windows > used ralloc.c. I'm a bit surprised that such issues happen on recent glibc systems. Emacs has been using ralloc on OpenBSD since years, and seems to be pretty stable. Granted, memory corruption bugs can depend on many parameters, but still... -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE