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

 
 

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

Submitted by:  Kjetil Matheussen <kjetil_m>
Submitted on:  Tue 04 Aug 2009 07:45:07 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 04 Aug 2009 06:39:26 PM UTCwingoOpen/ClosedOpen=>Closed
      StatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1