As i said in the other email i am just starting using sofia-sip so it is
most likely that i did something wrong.. however i stumbled into a
reproducible crash:
win32 VS2005 sofia-sip 1.12.5work1

the sip options example from the wiki

i changed the event loop from
su_root_run(root);

to

for (int i=0; i<2, i++)
su_root_step(root,200);

so that i should just get the first 2 events and then proceed to the end of
the program
but it crashes in the line:

nua_destroy (nua);


i tried also the following:
1) keep the su_root_run(root); loop
2) copied into a global variable "myroot" the su_root_t object created:
 root = su_root_create (NULL);
 myroot=root;

3) then as the last statement of the event callback i added:
su_root_break(myroot);

it correctly exits the event loop but crashes on the same line as above.

My fault or a bug?
thanks
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to