nothing to do with the add, but thanks or the suggestion.
I've done another test too, with a simple c++ class that wrap the festival API, same behavior, it give up with a segmentation fault. I'm starting to think that the problem is not my xs code, i got segmentation fault even with the Speech::eSpeak module.
I'll investigate that.