scsh-users
[Top] [All Lists]

Re: scm_utime failing

To: Seth Alves <alves@hungry.com>
Subject: Re: scm_utime failing
From: Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
Date: Thu, 27 Jun 2002 14:35:35 +0200
Cc: scsh-bugs@zurich.ai.mit.edu
Sender: gasbichl@informatik.uni-tuebingen.de
>>>>> "Seth" == Seth Alves <alves@hungry.com> writes:

Seth> I have a script which makes a backup of some directories.  I've
Seth> noticed it failing, at times.  It prints messages like these:

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

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

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

Seth>   and others.

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

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

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

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

I see it crashing too. This is probably a problem with the interface
to the C code so Mike should look at it. Unfortunately, he's very
busy at the moment so this will take some time to fix.

Sorry...

-- 
Martin

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