>>>>> "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
|