On Sunday 21 October 2007 07:57:58 Bram Geron wrote: > Attached patch fixes the segfault for me. (And no memory leak too.) The > problem was that mark_context didn't mark ctx->caller_ctx, which is used > in get_params. Usually the caller context is accessible through > current_cont->to_ctx, but in a tail call it isn't, causing DOD to mark > registers in the context dead and setting their vtable to 0xdeadbeef, > causing the bug.
Seems reasonable to me. How did you check for leaks, by the way? -- c