From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: bug#24357: pure guile program leaks memory Date: Wed, 01 Mar 2017 10:06:50 +0100 Message-ID: <8737exjrh1.fsf@pobox.com> References: <891b344e747119b497e1d0a17b62b81b@hypermove.net> <87d1kli9zh.fsf@pobox.com> <720a442d3c0733ce6ddcb8f0e80a921a@hypermove.net> <6c2a865a123673b1aa7cb101e1aa880b@hypermove.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488360255 26921 195.159.176.226 (1 Mar 2017 09:24:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Mar 2017 09:24:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: 24357-done@debbugs.gnu.org To: Amirouche Boubekki Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Mar 01 10:24:10 2017 Return-path: Envelope-to: guile-bugs@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 1cj0UT-0006Hs-2V for guile-bugs@m.gmane.org; Wed, 01 Mar 2017 10:24:09 +0100 Original-Received: from localhost ([::1]:39255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cj0UZ-00066U-4c for guile-bugs@m.gmane.org; Wed, 01 Mar 2017 04:24:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cj0Ew-000600-Kj for bug-guile@gnu.org; Wed, 01 Mar 2017 04:08:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cj0Es-0002Cd-Kf for bug-guile@gnu.org; Wed, 01 Mar 2017 04:08:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cj0Es-0002CT-Gg for bug-guile@gnu.org; Wed, 01 Mar 2017 04:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cj0Es-0007jH-Cf for bug-guile@gnu.org; Wed, 01 Mar 2017 04:08:02 -0500 Resent-From: Andy Wingo Original-Sender: "Debbugs-submit" Resent-To: bug-guile@gnu.org Resent-Date: Wed, 01 Mar 2017 09:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24357 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Mail-Followup-To: 24357@debbugs.gnu.org, wingo@pobox.com, amirouche@hypermove.net Original-Received: via spool by 24357-done@debbugs.gnu.org id=D24357.148835922229610 (code D ref 24357); Wed, 01 Mar 2017 09:08:02 +0000 Original-Received: (at 24357-done) by debbugs.gnu.org; 1 Mar 2017 09:07:02 +0000 Original-Received: from localhost ([127.0.0.1]:60977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj0Dt-0007hR-KM for submit@debbugs.gnu.org; Wed, 01 Mar 2017 04:07:01 -0500 Original-Received: from pb-sasl1.pobox.com ([64.147.108.66]:52430 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj0Dr-0007hK-V1 for 24357-done@debbugs.gnu.org; Wed, 01 Mar 2017 04:07:00 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id AE57E48E37; Wed, 1 Mar 2017 04:06:58 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=Azh6DdSSAiqbV1Csb+cjeYkmqXQ=; b=c7BrFe WZCfbeAnZ75i9/N0clc3UChLDJPOHThWC7Y9zJ1Sz48Nj65woowEr+G0VgPTPEzM O5pBqN46kL31IWLjpO1yRn3kNtTxQheShYumvMPILg1T8evfWmolur6nGk3zQjb8 ktJ/ipWCWGNCvh7I2ndG7+s9U5b1NuJJya2GE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=jR6y6we6+2yWkNKXE8i/FIZx1CQ72Byn 5/VkfrV4Zwu0ZoIF7VxfLOSZ6Ln2f9tZ96IKARL7bP+cf3rTtPhCqtY9biHOJCV6 T1OF5d1KmmVUFycInHD8objkwxTzWvWgrakU5cMYbrK06lHvnc8OSLQglKE3fZIb 1wyugfvO4ak= Original-Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id A6C6448E34; Wed, 1 Mar 2017 04:06:58 -0500 (EST) Original-Received: from clucks (unknown [109.190.228.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id D762948E33; Wed, 1 Mar 2017 04:06:57 -0500 (EST) In-Reply-To: <6c2a865a123673b1aa7cb101e1aa880b@hypermove.net> (Amirouche Boubekki's message of "Mon, 12 Sep 2016 19:47:02 +0200") X-Pobox-Relay-ID: 6C66B190-FE5E-11E6-861F-B667064AB293-02397024!pb-sasl1.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.org gmane.lisp.guile.bugs:8607 Archived-At: On Mon 12 Sep 2016 19:47, Amirouche Boubekki writes: > On 2016-09-03 20:49, Amirouche Boubekki wrote: >> On 2016-09-03 11:54, Andy Wingo wrote: >>> On Sat 03 Sep 2016 09:20, Amirouche Boubekki >>> writes: >>> >>>> Using guile 2.1.3, I have a program that: >>>> >>>> - reads urls from a text file >>>> - download the urls using curl command via popen >>>> - output the result to stdout >>>> >>>> Also, it relies on n-for-each-par-map for ice-9 threads. >>> >>> Can you reduce it please? For example, remove the use of threads. >>> >> >> Ok. I removed threads and only download the same url over and over >> again. >> >> Here is the error I get on stdout: >> >> (23) Failed writing body > > Internet says this a curl issue. Please close this bug. No problem. For reference, in the future just add "-done" after the bug number in the mail, as I did above. Cheers :) Andy