From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Linas Vepstas Newsgroups: gmane.lisp.guile.user Subject: Re: Guile bugs Date: Sat, 9 Sep 2017 16:14:37 -0500 Message-ID: References: <87lgtajpkc.fsf@web.de> <87h8y7ruuz.fsf_-_@gnu.org> <877ez384eu.fsf@elektro.pacujo.net> <87k2333qx9.fsf@gmail.com> <87pocvc5ya.fsf@elektro.pacujo.net> <87poculu2v.fsf@gnu.org> <87inimd9yy.fsf@elektro.pacujo.net> <87k232cu3p.fsf@netris.org> <877ez2co3j.fsf@elektro.pacujo.net> Reply-To: linasvepstas@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1504991748 20345 195.159.176.226 (9 Sep 2017 21:15:48 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 9 Sep 2017 21:15:48 +0000 (UTC) Cc: =?UTF-8?Q?Ludovic_Court=C3=A8s?= , Guile User To: Marko Rauhamaa Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Sep 09 23:15:41 2017 Return-path: Envelope-to: guile-user@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 1dqn5x-0003wT-KG for guile-user@m.gmane.org; Sat, 09 Sep 2017 23:15:17 +0200 Original-Received: from localhost ([::1]:50902 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqn64-00028Q-HW for guile-user@m.gmane.org; Sat, 09 Sep 2017 17:15:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52904) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqn5i-000285-8V for guile-user@gnu.org; Sat, 09 Sep 2017 17:15:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqn5g-0003N4-Vy for guile-user@gnu.org; Sat, 09 Sep 2017 17:15:02 -0400 Original-Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]:36324) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dqn5f-0003Js-5e; Sat, 09 Sep 2017 17:14:59 -0400 Original-Received: by mail-lf0-x22a.google.com with SMTP id m199so11463266lfe.3; Sat, 09 Sep 2017 14:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=O3Tnw5hH1b4ahwy3zWjvDcHa0pvOhPH5mJgrLt2yTPU=; b=pvFTxdXxy0BmyuDPtRgvtOv98ILCVh5ZBrlILmvdADhRt9rJR8HQRB0P0h45iFnlUU cBt63TjQ3Nr1mx6sRnxiMnrv4XH5b4+hTjJJXG+rNeALVmoKaXwGxafUbSRaJk4J5IOZ lVZZbUKMRy6OWM6jnNA0mH+2jCZgPMzOW9GuGPXEUu3PfrQutATYzW2jBZ/RvZNNb+nh 6KC0tlzJgkYjLZM4ZFkET5yE9yMHqCBmkaPKsrtXTQ0gATcv4+Sg69ljk0J3nJgkzDfM x+SrPdNIN6dLpjN3g/H7Uu4yUcO36smSfNDK/I/Sc5Zym0WUlXruG/KcUOoE95rzil0C +aig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=O3Tnw5hH1b4ahwy3zWjvDcHa0pvOhPH5mJgrLt2yTPU=; b=umAW6TiM05KTrmvwHqcMCUPUtlVP0Cc/Mgo8sDx6feSv+vZDaqO7Y/ONxPzAlMzxfe wrz9pOPqx45hjTWV8vSvOtyXBzXrRyGf/VfOmN7+3lw2o30h+1SW/zNN5ybfiXa/8Umo uX2JG3pgQZiZKDb/7cWYRzatRJ0rtb6QeblDa8mvjBagHOYtOq/fsFEExlqN5eBqhwHq nm3GtFYPNqisJMXfnSIC6/yMQO8JuVTVMYZDAQAEE5w50yWsEtKWykkiMg0Zx2x8NPl/ FQvL6uOYzIKc+KsUcHxJt9EI0jJXhEA8gW9jDhyGb9RBEzVOE7RdtWgddnkig9aF1XA6 vUgg== X-Gm-Message-State: AHPjjUhLg4y0tDj2/7//y9+CO7Gmcbd6p4vv/UAnvnM/OiAmfR+6+hNl Sm9tnJ46WVAWBBRP4zlhq0FAP3t3fg== X-Google-Smtp-Source: ADKCNb7OJPUpPP5UcR9s+W+75laE9tsTiIXtfqqlsYGp7zusrW0WFxIZK3l/koYsJMnkr/RI6jJwVBYkVsNBudvyNBI= X-Received: by 10.46.69.67 with SMTP id s64mr2716870lja.149.1504991697790; Sat, 09 Sep 2017 14:14:57 -0700 (PDT) Original-Received: by 10.25.44.200 with HTTP; Sat, 9 Sep 2017 14:14:37 -0700 (PDT) In-Reply-To: <877ez2co3j.fsf@elektro.pacujo.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::22a X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:14102 Archived-At: Stale reply to old message, but maybe its still helpful: On Fri, Jul 21, 2017 at 1:15 AM, Marko Rauhamaa wrote: > Mark H Weaver : > > > Marko Rauhamaa writes: > > > >> ludo@gnu.org (Ludovic Court=C3=A8s): > >> > >>> libgc knows which regions it must scan and mmap=E2=80=99d regions lik= e this > >>> are not among them. > >> > >> Wow, where is that documented? I would have imagined it scanned all > >> writable RAM and CPU registers. > > > > It's documented here: http://www.hboehm.info/gc/gcdescr.html > > Please point out the sentence. https://github.com/ivmai/bdwgc/blob/master/include/gc.h lines 448-450: /* General purpose allocation routines, with roughly malloc calling */ /* conv. The atomic versions promise that no relevant pointers are */ /* contained in the object. So if you used GC_malloc_atomic() in your code, then gc will NOT scan that region for pointers. guile-2.2 does this correctly for strings (I checked) because strings will never contain pointers. I have not checked other uses= . --linas --=20 *"The problem is not that artificial intelligence will get too smart and take over the world," computer scientist Pedro Domingos writes, "the problem is that it's too stupid and already has." *