Hi ports@.

Roman Kravchuk and me are working on Ruby on Rails 4.0 port (incl
Active Record and such).

Although we got it running and working (at first glance), there
is one thing which bothers us (hence the kinda preliminary mail).

Ruby thread safe library (which RoR 4.0 depends on) fails to pass
test suite: most of the time it segfaults at 50 of 68 tests (as
I said before, RoR 4.0 itself is working at first glance).

Same test suite works under Ubuntu Linux:

Finished tests in 475.533748s, 0.1430 tests/s, 5.0827 assertions/s.
68 tests, 2417 assertions, 0 failures, 0 errors, 0 skips

ruby -v: ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux-gnu]

So at this point we'd love to receive some help from other people
on (possible) threading issues.

Attached are Ruby thread safe port and accompanying Ruby atomic.

With Ruby thread safe tests, the following will give verbose output:
cd `make show=WRKSRC` && rake20 --trace test

Tested here on -current amd64 (Ruby atomic tests also pass).

Cheers,
Alexey

Attachment: ruby-thread_safe.tgz
Description: GNU Zip compressed data

Attachment: ruby-atomic.tgz
Description: GNU Zip compressed data

Reply via email to