In your code callback can be NULL. You therefore need to check
ctx->callback before you dereference it. Something like
if (ctx->callback && TYPEOF(*ctx->callback) == PIKE_T_FUNCTION)
should take care of the segfault.
arne
On Wed, 22 May 2013, Martin B??hr wrote:
i started working on that, but i am stuck missing something:
http://paste.lisp.org/display/137237
this patch compiles but causes a segfault.
it is not even getting to apply_svalue but fails already when testing if
there is a function argument.
greetings, martin.