in reply to XS Error: Segfault with B::HooksAtRuntime
What the cause of this is, I don't know. Given that you're doing weird stuff with delaying execution, my initial instinct was that the context stack pointer has been decremented and then some other code has pushed a new context frame on, overwriting the eval context - all before the interpreter has actually returned from doing the require, However in this case, I would expect a new context frame (even of a different type than CXt_EVAL) to be mainly full of pointers and the like - not full of literal text. So it looks like a deeper problem with a rouge string pointer somewhere.
Dave.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: XS Error: Segfault with B::HooksAtRuntime
by haj (Vicar) on Aug 06, 2022 at 16:15 UTC | |
by dave_the_m (Monsignor) on Aug 06, 2022 at 18:31 UTC | |
by Ovid (Cardinal) on Aug 06, 2022 at 16:44 UTC | |
Re^2: XS Error: Segfault with B::HooksAtRuntime
by dave_the_m (Monsignor) on Aug 07, 2022 at 12:52 UTC | |
by Ovid (Cardinal) on Aug 08, 2022 at 07:04 UTC | |
by dave_the_m (Monsignor) on Aug 08, 2022 at 08:53 UTC |