unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #27168] Strange reader bug (string->number)
@ 2009-08-04  7:45 Kjetil Matheussen
  2009-08-04 18:39 ` Andy Wingo
  0 siblings, 1 reply; 2+ messages in thread
From: Kjetil Matheussen @ 2009-08-04  7:45 UTC (permalink / raw)
  To: Kjetil Matheussen, bug-guile


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/





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [bug #27168] Strange reader bug (string->number)
  2009-08-04  7:45 [bug #27168] Strange reader bug (string->number) Kjetil Matheussen
@ 2009-08-04 18:39 ` Andy Wingo
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Wingo @ 2009-08-04 18:39 UTC (permalink / raw)
  To: Andy Wingo, Kjetil Matheussen, bug-guile


Update of bug #27168 (project guile):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

Fixed in master and on 1.8, as noted on the bug list. Thanks for the report!

    _______________________________________________________

Reply to this item at:

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

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-04 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04  7:45 [bug #27168] Strange reader bug (string->number) Kjetil Matheussen
2009-08-04 18:39 ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).