Ruby 1.8.2 core dump on FreeBSD 5.3

I hope to get an advice from somebody familiar with Ruby internals.

When I am running unit tests for RForum on one of the TextDrive servers, I'm always getting a core dump with the below stack trace (very long stack, almost 400 frames).
Is it trying to tell me about some endless recursion, or is it some other story?

The same unit test passes successfully on Win32 One Click Installer.

~/rforum/test/unit > ruby post_test.rb -n test_destroy
Loaded suite post_test
Started
Illegal instruction (core dumped)
~/rforum/test/unit > ruby -v
ruby 1.8.2 (2004-12-25) [i386-freebsd5]
~/rforum/test/unit > uname -a
FreeBSD wrath.rubyonrails.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Mar 4 05:29:38 GMT 2005 root@wrath.rubyonrails.org:/usr/obj/usr/src/sys/TEXTDRIVE i386
~/rforum/test/unit > gdb `which ruby` -c ruby.core
Core was generated by `ruby'.
Program terminated with signal 4, Illegal instruction.

(gdb) where
#0 0x28097ed0 in rb_eval () from /usr/local/lib/libruby18.so.18
#1 0x2809f416 in rb_call0 () from /usr/local/lib/libruby18.so.18
#2 0x2809f89d in rb_call () from /usr/local/lib/libruby18.so.18
#3 0x28099c4b in rb_eval () from /usr/local/lib/libruby18.so.18
#4 0x2809a679 in rb_eval () from /usr/local/lib/libruby18.so.18
#5 0x2809f416 in rb_call0 () from /usr/local/lib/libruby18.so.18
#6 0x2809f89d in rb_call () from /usr/local/lib/libruby18.so.18
#7 0x28099a08 in rb_eval () from /usr/local/lib/libruby18.so.18
#8 0x2809cdd6 in rb_yield_0 () from /usr/local/lib/libruby18.so.18
#9 0x28098e64 in rb_eval () from /usr/local/lib/libruby18.so.18
#10 0x2809a679 in rb_eval () from /usr/local/lib/libruby18.so.18
#11 0x2809cdd6 in rb_yield_0 () from /usr/local/lib/libruby18.so.18
#12 0x28098e64 in rb_eval () from /usr/local/lib/libruby18.so.18
#13 0x2809f416 in rb_call0 () from /usr/local/lib/libruby18.so.18
#14 0x2809f89d in rb_call () from /usr/local/lib/libruby18.so.18
#15 0x28099c4b in rb_eval () from /usr/local/lib/libruby18.so.18
#16 0x28098a62 in rb_eval () from /usr/local/lib/libruby18.so.18
#17 0x2809a679 in rb_eval () from /usr/local/lib/libruby18.so.18
...
#386 0x28095836 in ruby_finalize_0 () from /usr/local/lib/libruby18.so.18
#387 0x280958db in ruby_cleanup () from /usr/local/lib/libruby18.so.18
#388 0x28095b23 in ruby_stop () from /usr/local/lib/libruby18.so.18
#389 0x28095ba2 in ruby_run () from /usr/local/lib/libruby18.so.18
#390 0x08048645 in main ()

~/rforum/test/unit > ruby -v
ruby 1.8.2 (2004-12-25) [i386-freebsd5]
~/rforum/test/unit > uname -a
FreeBSD wrath.rubyonrails.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Mar 4 05:29:38 GMT 2005 root@wrath.rubyonrails.org:/usr/obj/usr/src/sys/TEXTDRIVE i386

ยทยทยท

--
Best regards,

Alexey Verkhovsky

Ruby Forum: http://ruby-forum.org (moderator)
RForum: http://rforum.andreas-s.net (co-author)
Instiki: http://instiki.org (maintainer)