From: Suraj Kurapati Date: 2009-10-24T00:33:05+09:00 Subject: [ruby-core:26255] [Bug #2258] Kernel#require inside rb_require() inside rb_protect() inside SysV context fails Issue #2258 has been updated by Suraj Kurapati. File ruby-ucontext-half.tgz added File ruby-ucontext-full.tgz added Hi, For your convenience, I am attaching two tarballs: ruby-ucontext-half.tgz - example test case with ruby_init() in main() and rb_require() in SysV context ruby-ucontext-full.tgz - example test case with *both* ruby_init() and rb_require() inside SysV context Inside the tarballs, you will find an "output.log" file that shows the results of running `./run.sh` on my system. At this point, I believe the trouble I am having is due to Ruby stack initialization making assumptions that are not satisfied by the UNIX System V context containing Ruby. I will try to hack the Ruby source code @ SVN trunk to correct these assumptions accordingly. Any hints would be greatly appreciated. :-) Thanks for your consideration. ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2258 ---------------------------------------- http://redmine.ruby-lang.org