From: Sean O'Dell Date: 2003-06-19T08:17:53+09:00 Subject: rb_protect and longjmp Looking for some insight about rb_protect and the longjmp calls. Is rb_protect supposed to always return back to the caller? I'm wrapping calls in rb_protect wherever I can in my C++ application, but it seems that rb_protect doesn't always return. If I call rb_raise from inside rb_protect, longjmp seems to be getting called and I don't get a return from rb_protect. I also noticed that if I make certain "mistakes" such as pass an invalid value to rb_funcall where the object VALUE is expected, my application throws a system exception even though the rb_funcall was wrapped in rb_protect and rb_protect never returns. I've poked around as much as I know how to, and I am not sure if this is intended behavior (perhaps: caveat emptor), or if the bcc32 .dll build is just snafu. Sean O'Dell