I'm getting a segfault when attempting to invoke the callback