bugGuile - Bugs: bug #27168, Strange reader bug...

 
 

bug #27168: Strange reader bug (string->number)

Submitter:  Kjetil Matheussen <kjetil_m>
Submitted:  Tue 04 Aug 2009 07:45:07 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 04 Aug 2009 06:39:26 PM UTC, comment #1: 

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

Andy Wingo <wingo>
Group administrator
Tue 04 Aug 2009 07:45:07 AM UTC, original submission:  

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)

Kjetil Matheussen <kjetil_m>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by wingo (Posted a comment)
  • -email is unavailable- added by kjetil_m (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-08-04 wingo Open/ClosedOpen Closed
        StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code