Hi again,

In file su_root.c, in function su_clone_start()
  1148   if (child && (parent == NULL || parent->sur_threading)) {
  1149     struct clone_args arg = {
  1150       NULL, NULL, NULL,
  1151       PTHREAD_MUTEX_INITIALIZER,
  1152       PTHREAD_COND_INITIALIZER,
  1153       -1,
  1154       SU_MSG_R_INIT,
  1155       NULL
  1156     };
  1157
  1158     int thread_created = 0;
  1159     pthread_t tid;
  1160
  1161     su_port_threadsafe(parent->sur_port);

If "parent" is NULL it enters the "if" block, but if fails when trying 
to read parent->sur_port.

How should it be solved?

Thank you in advance,
Cheers,
Ludovico Cavedon



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to