You've seen my code in attached file. It produces segmentation fault, so it doesn't matter, whether it is bug in my code or not. Under no circumstances erlang linked-in driver should generate segfault. However, if it is rewritten, I will check under R14A and tell about my experience.