[#8815] Segfault in libc strlen, via rb_str_new2 — "Sean E. Russell" <ser@...>

Howdy,

12 messages 2006/09/09
[#8817] Re: Segfault in libc strlen, via rb_str_new2 — Eric Hodel <drbrain@...7.net> 2006/09/09

On Sep 8, 2006, at 10:10 PM, Sean E. Russell wrote:

Re: okay, threading & sandbox r70 -- the latest patch

From: "Nobuyoshi Nakada" <nobu@...>
Date: 2006-09-25 04:56:58 UTC
List: ruby-core #8917
Hi,

At Tue, 5 Sep 2006 15:41:30 +0900,
why the lucky stiff wrote in [ruby-core:08798]:
> We have previously talked about getting the sandbox to obey thread switching on
> this list and I have worked up a patch.

Sorry, I was aware of the problem but have forgotten to mention this.

This change has broken win32.

+struct thread {
+    struct thread *next, *prev;
+    rb_jmpbuf_t context;
+#ifdef SAVE_WIN32_EXCEPTION_LIST
+    DWORD win32_exception_list;
+#endif

This macro, SAVE_WIN32_EXCEPTION_LIST isn't defined here in node.h.

-- 
Nobu Nakada

In This Thread