scsh-users
[Top] [All Lists]

scm_utime failing

To: scsh-bugs@zurich.ai.mit.edu
Subject: scm_utime failing
From: Seth Alves <alves@hungry.com>
Date: Fri, 14 Jun 2002 13:38:40 -0700
Cc: alves@hungry.com
I have a script which makes a backup of some directories.  I've
noticed it failing, at times.  It prints messages like these:

  Error: exception
         wrong-type-argument
         (return-from-callback "scm_utime" '#{Random object})

  Error: exception
         wrong-type-argument
         (return-from-callback "scm_utime" 'Scheme48 heap overflow

  Error: exception
         wrong-type-argument
         (return-from-callback "scm_utime" '#{Weak-pointer})

  and others.

I'm using scsh 0.6.2.  I've seen this happen on a redhat 7 linux system
and on freebsd-current.

Here is enough of the script to see the problem (touch a file called 'f'):

   #!/usr/local/bin/scsh -s
   !#
   (let loop ()
     (set-file-times "f" 1024079740 1024079740)
     (loop))

It runs fine for a while, but should eventually crash.

     -seth

<Prev in Thread] Current Thread [Next in Thread>