From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Dynamic modules: emacs-module.c and signaling errors Date: Sat, 28 Nov 2015 15:31:10 -0800 Organization: UCLA Computer Science Department Message-ID: <565A393E.20106@cs.ucla.edu> References: <83k2p7xk13.fsf@gnu.org> <87wpt7p369.fsf@tromey.com> <83d1uzxgvw.fsf@gnu.org> <5654D7CF.90001@cs.ucla.edu> <87si3vox7j.fsf@tromey.com> <56555B52.3030703@cs.ucla.edu> <837fl6xa02.fsf@gnu.org> <5655F10D.9080805@cs.ucla.edu> <83vb8ovkc5.fsf@gnu.org> <83a8q0vgb9.fsf@gnu.org> <83si3stuzn.fsf@gnu.org> <83poywtsxl.fsf@gnu.org> <565777AE.6030204@cs.ucla.edu> <83poyvst6k.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1448753493 31923 80.91.229.3 (28 Nov 2015 23:31:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Nov 2015 23:31:33 +0000 (UTC) Cc: Stefan Monnier , Emacs development discussions To: =?UTF-8?Q?Aur=c3=a9lien_Aptel?= , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 29 00:31:21 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a2oxc-00018T-2i for ged-emacs-devel@m.gmane.org; Sun, 29 Nov 2015 00:31:20 +0100 Original-Received: from localhost ([::1]:34344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2oxf-0002z5-IT for ged-emacs-devel@m.gmane.org; Sat, 28 Nov 2015 18:31:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2oxc-0002yz-PG for emacs-devel@gnu.org; Sat, 28 Nov 2015 18:31:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a2oxb-0000E2-Sx for emacs-devel@gnu.org; Sat, 28 Nov 2015 18:31:20 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:60217) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a2oxU-0000Cv-OR; Sat, 28 Nov 2015 18:31:12 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id F3473160DFC; Sat, 28 Nov 2015 15:31:11 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 94dqjLURVo93; Sat, 28 Nov 2015 15:31:11 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 51391160E2A; Sat, 28 Nov 2015 15:31:11 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id akXHB63DRyMa; Sat, 28 Nov 2015 15:31:11 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 26222160DFC; Sat, 28 Nov 2015 15:31:11 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:195497 Archived-At: Aur=C3=A9lien Aptel wrote: > working on the dynamic modules feature > made me realize how Emacs core might leak memory everytime a call > signals in the middle a function if you're not careful If modules use the Emacs memory allocator we should be able to arrange fo= r any=20 such leaks to be garbage collected, so this shouldn't be a problem.