Bug corrected. Onece variable cn become NULL-pointer on a c-class from a *.so library,