bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #27168] Strange reader bug (string->number)


From: Kjetil Matheussen
Subject: [bug #27168] Strange reader bug (string->number)
Date: Tue, 04 Aug 2009 07:45:09 +0000
User-agent: Opera/9.23 (X11; Linux i686; U; en)

URL:
  <http://savannah.gnu.org/bugs/?27168>

                 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"]

<unnamed port>: In procedure string->number in expression (primitive-load
name):
<unnamed port>: 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 <filename>" from the
  command line or evaluating (load <filename>) 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:

  <http://savannah.gnu.org/bugs/?27168>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]