From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Kjetil S. Matheussen" Newsgroups: gmane.lisp.guile.bugs Subject: Strange reader bug (string->number) Date: Sun, 2 Aug 2009 15:26:16 +0200 (CEST) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1249219597 2482 80.91.229.12 (2 Aug 2009 13:26:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Aug 2009 13:26:37 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sun Aug 02 15:26:31 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 1MXb54-0005eq-Sb for guile-bugs@m.gmane.org; Sun, 02 Aug 2009 15:26:31 +0200 Original-Received: from localhost ([127.0.0.1]:41125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXb53-0004bB-So for guile-bugs@m.gmane.org; Sun, 02 Aug 2009 09:26:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXb4y-0004ad-Ka for bug-guile@gnu.org; Sun, 02 Aug 2009 09:26:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXb4t-0004aI-4y for bug-guile@gnu.org; Sun, 02 Aug 2009 09:26:24 -0400 Original-Received: from [199.232.76.173] (port=39901 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXb4t-0004aF-1M for bug-guile@gnu.org; Sun, 02 Aug 2009 09:26:19 -0400 Original-Received: from mail-forward1.uio.no ([129.240.10.70]:59955) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXb4s-0001Lb-K7 for bug-guile@gnu.org; Sun, 02 Aug 2009 09:26:18 -0400 Original-Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.69) (envelope-from ) id 1MXb4r-0003kE-8p for bug-guile@gnu.org; Sun, 02 Aug 2009 15:26:17 +0200 Original-Received: from mail-mx4.uio.no ([129.240.10.45]) by mail-out1.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1MXb4r-0003kB-7e for bug-guile@gnu.org; Sun, 02 Aug 2009 15:26:17 +0200 Original-Received: from luke.ifi.uio.no ([129.240.64.200]) by mail-mx4.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1MXb4q-0007Kp-V0 for bug-guile@gnu.org; Sun, 02 Aug 2009 15:26:17 +0200 X-X-Sender: ksvalast@luke.ifi.uio.no X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO) X-UiO-Scanned: 092A4DC715645CA41162D19F9691C150298F206C X-UiO-SPAM-Test: remote_host: 129.240.64.200 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 2 total 18462 max/h 471 blacklist 0 greylist 0 ratelimit 0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:4283 Archived-At: 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)