"Matthew D. Swank" <akopa@charter.net> writes:
> $ scsh
> Welcome to scsh 0.6.7 (RC 1)
> Type ,? for help.
>> (for-each (lambda (x) (display x) (newline))
> (append-map (lambda (dir)
> (with-cwd dir
> (filter file-executable? (directory-
> files dir #t))))
> ((infix-splitter ":") (getenv "PATH"))))
>
> Error: exception
> wrong-type-argument
> (return-from-callback "scheme_stat" '<Error while displaying
> condition.>
> 1> ,debug
> '#{Exception-continuation (pc 39) (callback in external-calls)}
>
> [0: done?] #t
> [1: block] '#{Stack-block}
> [2: proc] '#{Procedure 7690 (long-to-bignum in external-calls)}
> [3: args] '(#t -17157 13180)
> inspect: q
Uh, it really looks like your stat is not returning -1. Anyway, there
seems to be a problem in the scsh FFI. Could you please once enter "d"
after ,debug and also select any object that looks interesting there.
It would also be nice if you could send me a kernel trace of the run
using ktrace and kdump.
--
Martin
|