[Osip] Segmentation fault error

Zelalem Sintayehu zelalems at hotmail.com
Thu Apr 2 17:45:07 CEST 2009


Hi all, I am new to exosip. I wanted to write a simple program using exosip and after having compiled the program (written in c), I got "Segmentation fault" error and the program terminated. It executed the following two statements properly
 eXosip_init(); and if(eXosip_listen_addr(IPPROTO_UDP, NULL, PORT, AF_INET, 0) != 0), 

but immediately after this it crashes. In fact, it printed a message after this statement which i used to debug the program. But after that it crashes. I am using Ubuntu Interpid, and libexosip2-4 library (ver. 3.1.0-1). I have been struggling for long and now i gave up. By the way i used the following code to compile my code:
                 gcc -o testprog tesprogram.c -leXosip2

Thank you for you assistance.

- Zelalem S. 



_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx


More information about the Osip mailing list