From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: Using the ImageMagick backend seems to leak memory Date: Tue, 11 Jan 2011 09:47:24 +0100 Message-ID: <87lj2rq12b.fsf@member.fsf.org> References: <87sjx6zczl.fsf@member.fsf.org> <877heca0s8.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294736969 1779 80.91.229.12 (11 Jan 2011 09:09:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Jan 2011 09:09:29 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 11 10:09:26 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PcaE1-0003i3-5d for ged-emacs-devel@m.gmane.org; Tue, 11 Jan 2011 10:09:20 +0100 Original-Received: from localhost ([127.0.0.1]:54374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pca6t-0001t6-6P for ged-emacs-devel@m.gmane.org; Tue, 11 Jan 2011 04:01:47 -0500 Original-Received: from [140.186.70.92] (port=57310 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PcZxu-0007T4-CH for emacs-devel@gnu.org; Tue, 11 Jan 2011 03:52:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PcZt1-00022i-D2 for emacs-devel@gnu.org; Tue, 11 Jan 2011 03:47:28 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:21073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PcZt1-00022I-5d for emacs-devel@gnu.org; Tue, 11 Jan 2011 03:47:27 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id CD9147801863 for ; Tue, 11 Jan 2011 09:47:25 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 12429-07 for ; Tue, 11 Jan 2011 09:47:25 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 25B4378017DA for ; Tue, 11 Jan 2011 09:47:25 +0100 (CET) In-Reply-To: <877heca0s8.fsf@member.fsf.org> (Tassilo Horn's message of "Mon, 10 Jan 2011 22:47:51 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134438 Archived-At: Hi all, this is driving me nuts. I've already tried modifying imagemagick_load_image() with some messages, and so that it always does MagickWandGenesis() first and MagickWandTerminus() after destroying the last MagickWand. It does so, but that didn't help... One strangeness I found is the line image_error ("im read failed", Qnil, Qnil); which is called unconditionally in imagemagick_load_image(). Why? Anyway, that cannot be the culprit. Bye, Tassilo