From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.lisp.guile.bugs Subject: bug#20209: GUILE 2.0.11: crash in set_port_filename_x for bytevector ports Date: Thu, 23 Jun 2016 18:59:04 +0200 Message-ID: <87shw3et9j.fsf@fencepost.gnu.org> References: <87fv8r1pio.fsf@fencepost.gnu.org> <87egob8irs.fsf@netris.org> <87y4mhasqb.fsf@netris.org> <87twx40x7c.fsf@gnu.org> <87r3bnn9tq.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1466701316 32518 80.91.229.3 (23 Jun 2016 17:01:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2016 17:01:56 +0000 (UTC) Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 20209@debbugs.gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jun 23 19:01:47 2016 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bG80g-0007xZ-7f for guile-bugs@m.gmane.org; Thu, 23 Jun 2016 19:01:46 +0200 Original-Received: from localhost ([::1]:38117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG80f-0001PO-I9 for guile-bugs@m.gmane.org; Thu, 23 Jun 2016 13:01:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7z2-00006e-DO for bug-guile@gnu.org; Thu, 23 Jun 2016 13:00:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG7z1-0008Mm-G8 for bug-guile@gnu.org; Thu, 23 Jun 2016 13:00:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7z1-0008Mc-Cq for bug-guile@gnu.org; Thu, 23 Jun 2016 13:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bG7z1-0000Ui-7m for bug-guile@gnu.org; Thu, 23 Jun 2016 13:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Kastrup Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Thu, 23 Jun 2016 17:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20209 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 20209-submit@debbugs.gnu.org id=B20209.14667011541781 (code B ref 20209); Thu, 23 Jun 2016 17:00:03 +0000 Original-Received: (at 20209) by debbugs.gnu.org; 23 Jun 2016 16:59:14 +0000 Original-Received: from localhost ([127.0.0.1]:52912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bG7yE-0000Se-Cf for submit@debbugs.gnu.org; Thu, 23 Jun 2016 12:59:14 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bG7yC-0000SO-A2 for 20209@debbugs.gnu.org; Thu, 23 Jun 2016 12:59:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG7y6-00089F-AI for 20209@debbugs.gnu.org; Thu, 23 Jun 2016 12:59:07 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39572 helo=lola.localdomain) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7y6-000895-1e; Thu, 23 Jun 2016 12:59:06 -0400 Original-Received: by lola.localdomain (Postfix, from userid 1000) id 2E497DF785; Thu, 23 Jun 2016 18:59:04 +0200 (CEST) In-Reply-To: <87r3bnn9tq.fsf@pobox.com> (Andy Wingo's message of "Thu, 23 Jun 2016 18:34:09 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:8172 Archived-At: Andy Wingo writes: > On Sun 29 Mar 2015 15:06, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Mark H Weaver skribis: >> >>> For these reasons, I decided against recommending those undocumented >>> initialization functions. Instead, I suggested that David initialize >>> binary ports by loading (ice-9 binary-ports): >>> >>> (void) scm_c_resolve_module ("ice-9 binary-ports"); >> >> That sounds like the best option, indeed. >> >>> For Guile 2.0.12, I suggest that we unconditionally do the equivalent of >>> 'scm_init_bytevectors' and 'scm_init_r6rs_ports' during Guile >>> initialization, and make those functions into deprecated no-ops. >> >> Agreed, that=E2=80=99s what I was going to suggest. >> >> That these init functions are not marked as internal is really an >> oversight. >> >> I wouldn=E2=80=99t be against simply making them SCM_INTERNAL in 2.0.12,= but >> making them public + deprecated as you suggest is even better. > > WDYT about something like this? I don't see anything protecting sym_big or sym_little (more accurately, 'big or 'little which are non-immediate SCM values) from collection which would make sym_big and sym_little useless for comparison. I'm assuming that not the whole bss segment is getting scanned by BoehmGC. --=20 David Kastrup