From: Yukihiro Matsumoto Date: 2010-04-25T02:17:14+09:00 Subject: Re: Segmentation fault at raise exception. In message "Re: Segmentation fault at raise exception." on Sun, 25 Apr 2010 02:10:04 +0900, O01eg Oleg writes: |Thanks. Do I have to use this wrap for each thread which use ruby code? You have to wrap every call for Ruby related (possibly exception raising) functions, e.g. rb_require, rb_eval_string, etc. And bad news is that if you call ruby functions from different threads, they might crash, since some (or most) of them are not thread-safe. matz.