On Jan 3, 2008 10:20 AM, Ovid <[EMAIL PROTECTED]> wrote: > We couldn't reproduce the segfaults in the debugger or with > Devel::Trace, but after a lot of work, a colleague and I found the > culprit: Contextual::Return. Like Sub::Uplevel, it overrides > CORE::GLOBAL::caller. Apparently the two don't play well together, but > it's very difficult to reproduce a minimal test case. Merely by > removing Contextual::Return from one module, the segfault went away. > We don't know why.
Maybe it's too late, but which versions of Sub::Uplevel and Contextual::Return were you using? I attempted to fix Sub::Uplevel as of version 0.16 to play nicely with Contextual::Return -- but as you said, finding a minimal test case is difficult. It's also a potential issue for Hook::LexWrap, so if I can find a permanent fix, that would be a good thing. David