From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Abhijeet More Newsgroups: gmane.lisp.guile.user Subject: Re: Possible Memory Leak with stream-for-each Date: Thu, 29 Jul 2010 20:38:30 -0400 Message-ID: References: <87iq44yi1q.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1280450336 6771 80.91.229.12 (30 Jul 2010 00:38:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 30 Jul 2010 00:38:56 +0000 (UTC) Cc: =?ISO-8859-1?Q?Ludovic_Court=E8s?= , guile-user@gnu.org To: Andy Wingo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jul 30 02:38:55 2010 Return-path: Envelope-to: guile-user@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 1Oedch-0005tc-LY for guile-user@m.gmane.org; Fri, 30 Jul 2010 02:38:52 +0200 Original-Received: from localhost ([127.0.0.1]:60572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oedcf-0008TV-Vk for guile-user@m.gmane.org; Thu, 29 Jul 2010 20:38:50 -0400 Original-Received: from [140.186.70.92] (port=40368 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OedcQ-0008TQ-6p for guile-user@gnu.org; Thu, 29 Jul 2010 20:38:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OedcO-0003KQ-W1 for guile-user@gnu.org; Thu, 29 Jul 2010 20:38:34 -0400 Original-Received: from mail-yx0-f169.google.com ([209.85.213.169]:35335) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OedcO-0003K7-TL; Thu, 29 Jul 2010 20:38:32 -0400 Original-Received: by yxs7 with SMTP id 7so493665yxs.0 for ; Thu, 29 Jul 2010 17:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=NmOOUOKGNjJuuNrz3jv/E9pqKCBVSmHO5p91uaxEpPg=; b=VVGqf88+gy98tGUs9Bot7dLTBARzxtsJZV9q787lbGU6Pb8D41xuBYsGb8/ZJCx8DE mA7tKTRt1H86pN1ge0uQnokkjyxei07muFLqN8VOa0SX3rodhsLqZZjb4Z+iwelsThbg BrodP8yKK2Y65YZeKmvgjxJ27FCfldL3PaGVQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=eDZHOamGSLGtymq/myJLiQkCEOM1obaQBV87H4qhxSWd6WEJtRUbBYX+oro3pj9iFU BqTukBms6w1ZGOLpu6LoarRpzSgrex8/bxe7UctrUkw6MEocnyxcILLjuFEbHMKjzpFF 909uqb+AA5EKxs6GmDOMFiueUJ+Q3/uhQGI5I= Original-Received: by 10.150.68.35 with SMTP id q35mr2113007yba.210.1280450310333; Thu, 29 Jul 2010 17:38:30 -0700 (PDT) Original-Received: by 10.229.228.210 with HTTP; Thu, 29 Jul 2010 17:38:30 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8038 Archived-At: On Mon, Jul 26, 2010 at 5:36 AM, Andy Wingo wrote: > > I think it's probably our bug, but I haven't had time to examine it > thoroughly. FWIW - I tried using the SRFI-45 reference implementation for delay and force (as-is from the SRFI reference implementation) and got the same behavior. To debug this further are there any useful places in the stream-for-each implementation that I could do a gc-stats from? Or would we need to look at the C implementation? Can anyone suggest good starting points for this? Thanks Abhijeet