From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kjetil Matheussen Newsgroups: gmane.lisp.guile.bugs Subject: [bug #27168] Strange reader bug (string->number) Date: Tue, 04 Aug 2009 07:45:09 +0000 Message-ID: <20090804-074507.sv74755.75776@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: ger.gmane.org 1249371932 29100 80.91.229.12 (4 Aug 2009 07:45:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2009 07:45:32 +0000 (UTC) To: Kjetil Matheussen , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Aug 04 09:45:24 2009 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MYEi3-0002aH-B1 for guile-bugs@m.gmane.org; Tue, 04 Aug 2009 09:45:23 +0200 Original-Received: from localhost ([127.0.0.1]:60894 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYEi2-0001kL-IQ for guile-bugs@m.gmane.org; Tue, 04 Aug 2009 03:45:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYEhx-0001kB-GC for bug-guile@gnu.org; Tue, 04 Aug 2009 03:45:17 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYEhr-0001jz-Rq for bug-guile@gnu.org; Tue, 04 Aug 2009 03:45:16 -0400 Original-Received: from [199.232.76.173] (port=44241 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYEhr-0001jw-Mb for bug-guile@gnu.org; Tue, 04 Aug 2009 03:45:11 -0400 Original-Received: from savannah.gnu.org ([199.232.41.3]:41059 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MYEhr-0007ZP-38 for bug-guile@gnu.org; Tue, 04 Aug 2009 03:45:11 -0400 Original-Received: from savannah.gnu.org ([199.232.41.3]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1MYEhq-0003bR-01; Tue, 04 Aug 2009 07:45:10 +0000 Original-Received: from www-data by savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1MYEhp-0003bK-A8; Tue, 04 Aug 2009 07:45:09 +0000 X-Savane-Server: savannah.gnu.org:443 [199.232.41.3] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 27168 User-Agent: Opera/9.23 (X11; Linux i686; U; en) X-Apparently-From: 80.203.252.50 (Savane authenticated user kjetil_m) Original-References: In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4287 Archived-At: URL: Summary: Strange reader bug (string->number) Project: Guile Submitted by: kjetil_m Submitted on: Tue 04 Aug 2009 07:45:07 AM GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: The following bug causes some problems with Snd: (At least the realtime extension of Snd) ***************************** $ echo "'(4194304 262144 1.0f)" >test.scm $ guile -l test.scm Backtrace: In unknown file: ?: 0* [primitive-load "test.scm"] : In procedure string->number in expression (primitive-load name): : Value out of range: 444 $ ***************************** * Tested with Guile 1.8.6 and 1.8.0. Same behaviour for both. * It only happens when using "guile -f " from the command line or evaluating (load ) in the REPL. * Evaluating '(4194304 262144 1.0f) in the REPL causes no error. * Examples of lists not causing an error: '(4194304 262144 1.0) '(262144 1.0f) '(4194304 1.0f) '(1 2 3.0f) _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/