Hmm seems like an error in the chamelium wrappers. Specifically the call to pthread_cancel seems to be crashing. Need to figure out why, but shouldn't affect real users as this happens in the chamelium code.