Thanks  Pav.  Running against the build without pthreads fixed the
problem.  As for the core dump - that problem is gone now - it reports
"stack level too deep" when I run.

 ruby -e 'def d(x); p x; d x+1; end; d 0'

Thanks again.

Doug


> It has been reported before. The thread stack seems to be either very
> small, or very easily filled up. You can cimcurvent this by rebuilding
> ruby without pthread support, if you don't need threading - see
> WITHOUT_PTHREAD port option.
>
> As for core dumping instead of catching "stack level too deep" error,
> I don't know workaround for that.
>
> Could very well be that FreeBSD libpthread is to blame here, it's
> relatively new code.
>
> --
> Pav Lucistnik <pav / oook.cz>
>               <pav / FreeBSD.org>
>
> What is the airspeed velocity of an unladen swallow?
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (FreeBSD)
>
> iD8DBQBD17ZOntdYP8FOsoIRArZYAJ0Y+Vv7RjgbXWXkpqPVFY2EdxhEIACfRA2x
> gCCOU+qYOaqv9YEjy852JVY=
> =5LoR
> -----END PGP SIGNATURE-----
>
>
>