[gambit-list] Termite Exceptions

David N Murray dmurray at jsbsystems.com
Wed Jan 27 14:58:01 EST 2010


I got the latest termite via the svn command.  Gambit-C 4.6.0:

On my BSD machine:

$ tsi
> (define (t1)
  (spawn (lambda () (raise 'drawbridge))))
> (t1)
#<thread #2 anonymous>
>
[error] Wed Jan 27 14:47:45 EST 2010
#<thread #2 anonymous>
*** ERROR IN ##dynamic-env-bind -- This object was raised: drawbridge

On Windows Vista, using the VC version (I created a tsi.bat based on the
tsi shell script):

> (define (t1)
  (spawn (lambda () (raise 'drawbridge))))
> (t1)
#<thread #2 anonymous>
>
(no error or exception is reported)

The same thing happens on Vista with the MinGW Gambit-C build.  The
exception is not propogated.

All tsi scripts invoke 'gsi -:dar' and the necessary termite include and
load commands.  I have other termite tests that run fine on the Vista
install.  It's just that process exceptions are silently eaten.

Exceptions are reported in Vista, just not from termite processes:

> (define (t1) (raise 'drawbridge))
> (t1)
*** ERROR IN (console)@11.1 -- This object was raised: drawbridge
1>

Thoughts?

TIA,
Dave






More information about the Gambit-list mailing list