From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxime Devos Newsgroups: gmane.lisp.guile.user Subject: Re: Need help embedding Guile Date: Tue, 21 Dec 2021 13:45:54 +0000 Message-ID: <37f55ac35e628f224b4834aaba250fe9854d3a14.camel@telenet.be> References: <2a789e248ef8d1922caec7af553cf26e9b360619.camel@telenet.be> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33103"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.38.3-1 To: Dimitris Papavasiliou , "guile-user@gnu.org" Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Tue Dec 21 14:46:29 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mzfTJ-0008Nt-Da for guile-user@m.gmane-mx.org; Tue, 21 Dec 2021 14:46:29 +0100 Original-Received: from localhost ([::1]:37956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mzfTH-00013N-Bj for guile-user@m.gmane-mx.org; Tue, 21 Dec 2021 08:46:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mzfSq-0000zU-IY for guile-user@gnu.org; Tue, 21 Dec 2021 08:46:03 -0500 Original-Received: from [2a02:1800:110:4::f00:18] (port=47296 helo=michel.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mzfSo-00031Q-FM for guile-user@gnu.org; Tue, 21 Dec 2021 08:46:00 -0500 Original-Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id Z1lu260044UW6Th061luDn; Tue, 21 Dec 2021 14:45:54 +0100 In-Reply-To: <2a789e248ef8d1922caec7af553cf26e9b360619.camel@telenet.be> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1640094354; bh=v7WZLC1U45CG1BPhiW9GBAjQifhlzBwIoNUMgcG1Wug=; h=Subject:From:To:Date:In-Reply-To:References; b=T6LFiCnmbR/YBKOeJDOA9mK1PGdMmPS6W0i1LaRfM/e2wcgmcq+y+E52eF76PFJrq rk2ObtraEGEubki1gucv7X0Qvj4dlCJ3GdghxvY4HHA68Gd23TC/zSbpMKQZscnWEs A+l8I/f7hA2E1ZmRIbMMedWtIFpm0U5lZP1vGln9ojnWI96R+X0V+hR6HPfTIY1KG2 /6rEaxauBdFEHlvbePPupU+rmk3lsgIxGiXXMErLRBtXrZm2n+l1dnV4VL1xIbk04D y9ol/y5MavTQVLHd0m6xnvko1cpnE+Cta9QeOdSSRQOlVAHjI9Vf0oW2KHtIGhkRHh nVl5IpRcQVDdA== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:110:4::f00:18 (failed) Received-SPF: pass client-ip=2a02:1800:110:4::f00:18; envelope-from=maximedevos@telenet.be; helo=michel.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17895 Archived-At: Hi, Maxime Devos schreef op di 21-12-2021 om 11:37 [+0000]: > >    approach above seems to correctly finalize all objects created > > as > > the Scheme > >    code executes, but if references are kept, say via (define), > > they > > are not > >    finalized and I get memory leaks. You can (set! the-global-variable #f) to clear the reference, though still there are no formal guarantees BDW-GC will collect things. Greetings, Maxime