Allocate the module provider in the Kaleidoscope code on the heap, not the stack...