From: David Lamkins

Subject: RE: reading in large files

Date: 1997-6-10 17:39

It has been a while since I've tripped on this, but I think that ACLNT
chokes on a readline if the file does not contain carriage return
characters.  This can happen if you try to read a text file created
with the Unix (line feed) newline convention.   The fix is to run your
file through a simple utility that ensures DOS (carriage return, line
feed) newlines.

-----Original Message-----
From:   Julie Goldberg <cornell.edu at jbg7> 
Sent:   Tuesday, June 10, 1997 12:16 PM
To:     <cs.berkeley.EDU at Allegro-Cl>
Cc:     <junglee.com at wklee>
Subject:        reading in large files

 I'm using an application a friend wrote in ACL and trying to fix
some bugs.  It works fine when it is asked to read in relatively small
files.  When I ask the program to read in a file that is over 30K or so,
it stops reading the file midword, midline.  When I try reading something
over 100K or so, I get a stack overflow and ACL crashes.  This is when I
run the program using ACL 3.0.0. 
 The program won't run under 3.0.1, but it does run using ACL
3.0.2.  In that version, it never stops reading midline nor does it give
me a stack overflow.  However, it does not work completely.  It works
successfully with larger files than 3.0.0 works; however, but somewhere
between 30K and 38K files, it starts giving me an error and it stops
reading the file when partway through.  It says:

Error: A numberic or character function was given an argument 110648 of
the wrong type in NCURRENT-POSITION.

NCURRENT-POSITION is not a function he wrote nor is it a function he ever
calls anywhere in his code.  When I try to look at the stack, all the
calls being made are to printer functions or they are closures without
names.  Does anyone know what NCURRENT-POSITION is?  Where it is called?
What could cause such an error?  Thanks.

Julie

------
http://www.csuglab.cornell.edu/home/jgoldber/

 << File: rfc822.txt >>