On 2/9/07, Ludovico Cavedon <[EMAIL PROTECTED]> wrote:

> 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?

The 1.12.5 has a different approach to clones, so it should work with
NULL parent. There has been absolutely no testing, however.

-- 
Pekka.Pessi mail at nokia.com

-------------------------------------------------------------------------
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