[cl-debian] Bug#286334: marked as done (sbcl: closed stream allows further reading)

Debian Bug Tracking System owner at bugs.debian.org
Thu Jun 16 09:48:23 UTC 2005


Your message dated Thu, 16 Jun 2005 05:32:53 -0400
with message-id <E1Diqk1-000849-00 at newraff.debian.org>
and subject line Bug#286334: fixed in sbcl 1:0.9.1.41-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 Dec 2004 17:06:59 +0000
>From paduch at imm.uran.ru Sun Dec 19 09:06:59 2004
Return-path: <paduch at imm.uran.ru>
Received: from relay.uran.ru [195.19.137.68] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cg4WJ-0007nS-00; Sun, 19 Dec 2004 09:06:59 -0800
Received: from ait.home-net (dialup43.uran.ru [195.19.137.233])
	by relay.uran.ru (8.12.11/8.12.11) with ESMTP id iBJHBkiP095655
	for <submit at bugs.debian.org>; Sun, 19 Dec 2004 22:11:46 +0500 (YEKT)
Received: from dima by ait.home-net with local (Exim 4.34)
	id 1Cg4TL-0000xn-DW
	for submit at bugs.debian.org; Sun, 19 Dec 2004 22:03:55 +0500
From: Dmitri Paduchikh <paduch at imm.uran.ru>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: sbcl: closed stream allows further reading
X-Debbugs-CC: Dmitri Paduchikh <paduch at imm.uran.ru>
Date: Sun, 19 Dec 2004 22:03:55 +0500
Message-ID: <87652y8bk4.fsf at dvp.imm.uran.ru>
User-Agent: Gnus/5.110003 (No Gnus v0.3)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Scanned-By: MIMEDefang 2.49 on 195.19.137.68
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: sbcl
Version: 1:0.8.17.20-1
Severity: normal

Hello,

It appears that it is possible to read from a stream even when it is
already closed. Well, this kind of behavior might be implemented
intentionally but for me this looks like a bug. Exactly, I observe the
following

~$ sbcl
This is SBCL 0.8.17.20, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (defvar *file* nil)

*FILE*
* (setf *file* (open #p"/etc/passwd"))

#<FILE-STREAM for "file \"/etc/passwd\"" {905B531}>
* (read-line *file*)

"root:x:0:0:root:/root:/bin/bash"
NIL
* (close *file*)

T
* (loop (write-line (read-line *file*)))
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/bin/sh
man:x:6:12:man:/var/cache/man:/bin/sh
lp:x:7:7:lp:/var/spool/lpd:/bin/sh
mail:x:8:8:mail:/var/mail:/bin/sh
news:x:9:9:news:/var/spool/news:/bin/sh
uucp:x:10:10:uucp:/var/spool/uucp:/bin/sh
proxy:x:13:13:proxy:/bin:/bin/sh
majordom:x:30:31:Majordomo:/usr/lib/majordomo:/bin/sh

debugger invoked on a SIMPLE-ERROR in thread 32528:
  #<FILE-STREAM for "file \"/etc/passwd\"" {905B531}> is closed.

You can type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ABORT   ] Reduce debugger level (leaving debugger, returning to toplevel).
  1: [TOPLEVEL] Restart at toplevel READ/EVAL/PRINT loop.
(SB-KERNEL:CLOSED-FLAME 5 #<FILE-STREAM for "file \"/etc/passwd\"" {905B531}>)[:EXTERNAL]
0] 


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.22-7dp
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R

Versions of packages sbcl depends on:
ii  common-lisp-controller      4.12         This is a Common Lisp source and c
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an

-- debconf information:
* sbcl/auto-build: Inherit

---------------------------------------
Received: (at 286334-close) by bugs.debian.org; 16 Jun 2005 09:38:03 +0000
>From katie at ftp-master.debian.org Thu Jun 16 02:38:03 2005
Return-path: <katie at ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Diqp1-000454-00; Thu, 16 Jun 2005 02:38:03 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Diqk1-000849-00; Thu, 16 Jun 2005 05:32:53 -0400
From: Peter Van Eynde <pvaneynd at debian.org>
To: 286334-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#286334: fixed in sbcl 1:0.9.1.41-1
Message-Id: <E1Diqk1-000849-00 at newraff.debian.org>
Sender: Archive Administrator <katie at ftp-master.debian.org>
Date: Thu, 16 Jun 2005 05:32:53 -0400
Delivered-To: 286334-close at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: sbcl
Source-Version: 1:0.9.1.41-1

We believe that the bug you reported is fixed in the latest version of
sbcl, which is due to be installed in the Debian FTP archive:

sbcl-common_0.9.1.41-1_all.deb
  to pool/main/s/sbcl/sbcl-common_0.9.1.41-1_all.deb
sbcl_0.9.1.41-1.diff.gz
  to pool/main/s/sbcl/sbcl_0.9.1.41-1.diff.gz
sbcl_0.9.1.41-1.dsc
  to pool/main/s/sbcl/sbcl_0.9.1.41-1.dsc
sbcl_0.9.1.41-1_i386.deb
  to pool/main/s/sbcl/sbcl_0.9.1.41-1_i386.deb
sbcl_0.9.1.41.orig.tar.gz
  to pool/main/s/sbcl/sbcl_0.9.1.41.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 286334 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Van Eynde <pvaneynd at debian.org> (supplier of updated sbcl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 13 Jun 2005 18:28:31 +0200
Source: sbcl
Binary: sbcl sbcl-common
Architecture: source i386 all
Version: 1:0.9.1.41-1
Distribution: unstable
Urgency: low
Maintainer: Peter Van Eynde <pvaneynd at debian.org>
Changed-By: Peter Van Eynde <pvaneynd at debian.org>
Description: 
 sbcl       - A development environment for Common Lisp
 sbcl-common - Architecture independent files for SBCL
Closes: 286334 311818 312826
Changes: 
 sbcl (1:0.9.1.41-1) unstable; urgency=low
 .
   * Added patch from NIIMI Satoshi to default to latin-1 enconding if the
     default external-format of the locale is not known. Closes: #312826
   * Added patch to disable :sb-thread is the system is not capable of starting
     threads. Based on the patch of Ingvar. Closes: #311818
   * New upstream does not allow reading from a closed file handle.
     Closes: #286334
   * Remove menu file as the intented form of interaction is via slime.
   * Improve debian/rules clean target
Files: 
 4252e99b0c58a95b31030649901a99b0 672 devel optional sbcl_0.9.1.41-1.dsc
 182a427c8927d34cbe8d74c3beb9d8c8 3098724 devel optional sbcl_0.9.1.41.orig.tar.gz
 c974bb88b9cf5083646ce601224209c1 21502 devel optional sbcl_0.9.1.41-1.diff.gz
 fc7f7230c2385a327fa2e972d072a7f4 3337116 devel optional sbcl-common_0.9.1.41-1_all.deb
 5d19dd4900198e41c4e202132a5d28f4 8054304 devel optional sbcl_0.9.1.41-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCsO0F11ldN0tyliURAnIMAJ41/SIC9i9M5GkN5N6NJYkkzwyvyQCgusLG
hSh1TlM6a9YHBOr0htp0P+o=
=5ytU
-----END PGP SIGNATURE-----





More information about the Cl-debian mailing list