<br>Thanks, Anca<br>Yes, I modifed the codes&nbsp; to call the xcap_GetNewDoc() .<br>Your guess is right. I forgot to include the xcap_client module in the config file.<br>Now it is O.K.<br>I really appreciate your help. <br>Thanks again.<br>
<br>Regards,<br><br>Jeon<br><br><br><div class="gmail_quote">On Mon, Nov 17, 2008 at 10:34 AM, Anca Vamanu <span dir="ltr">&lt;<a href="mailto:anca@voice-system.ro">anca@voice-system.ro</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Jeon,<br>
<br>
Did you modify something in the sources?<br>
If you set rls_integrated_xcap_server =1, &nbsp;xcap_GetNewDoc is never called, normally.<br>
If bind_xcap fails it&#39;s because probably you have not loaded xcap_client module.<br>
<br>
regards,<br>
Anca<br>
<br>
Yoo Chan Jeon wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Hello,<br>
<br>
I found out that xacp_GetNewDoc() was not set &nbsp;at the mod_init() in rls/rls.c file.<br>
xcap_GetNewDoc = xcap_api.getNewDoc was not called &nbsp;because I set the rls_integrated_xcap_server =1 in the config.<br>
It causes the segmentation fault.<br>
After I set it 0, &nbsp;bind_xcap= (bind_xcap_t)find_export(&quot;bind_xcap&quot;,1,0) &nbsp;return null in the mod_init().<br>
It should returns the object. &nbsp;Does any body know why it returns NULL?<br>
<br>
Thanks.<br>
Jeon<br>
<br></div><div><div></div><div class="Wj3C7c">
&nbsp;On Fri, Nov 14, 2008 at 6:15 PM, Yoo Chan Jeon &lt;<a href="mailto:yoojeon@gmail.com" target="_blank">yoojeon@gmail.com</a> &lt;mailto:<a href="mailto:yoojeon@gmail.com" target="_blank">yoojeon@gmail.com</a>&gt;&gt; wrote:<br>

<br>
 &nbsp; &nbsp;Hi,<br>
 &nbsp; &nbsp;I need your help.<br>
 &nbsp; &nbsp;It crashed in the xcap_GetNewDoc() call in the rls/subscribe.c.<br>
 &nbsp; &nbsp;I modifed the codes to move that api to &nbsp;other spot to check if it<br>
 &nbsp; &nbsp;dose not crash, But It always crashed in the same api.<br>
 &nbsp; &nbsp;I got the following error. I do not guess what I did wrong.<br>
 &nbsp; &nbsp;  &nbsp; &nbsp;Thanks your help.<br>
 &nbsp; &nbsp;  &nbsp; &nbsp;Jeon.<br>
 &nbsp; &nbsp;  &nbsp; &nbsp; <br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:core:get_hdr_field: cseq &lt;CSeq&gt;: &lt;1&gt;<br>
 &nbsp; &nbsp;&lt;SUBSCRIBE&gt;<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:maxfwd:is_maxfwd_present: value = 70<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:uri:has_totag: no totag<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:core:parse_headers: flags=78<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:tm:t_lookup_request: start searching:<br>
 &nbsp; &nbsp;hash=45320, isACK=0<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:tm:t_lookup_request: proceeding to<br>
 &nbsp; &nbsp;pre-RFC3261 transaction matching<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:tm:t_lookup_request: non-ACK matched<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:tm:t_lookup_request: REF_UNSAFE: after<br>
 &nbsp; &nbsp;is 2<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:tm:t_lookup_request: transaction found<br>
 &nbsp; &nbsp;(T=0xa86fe6f8)<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:tm:t_retransmit_reply: nothing to<br>
 &nbsp; &nbsp;retransmit<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:tm:t_check_trans: UNREF_UNSAFE: after is 1<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:core:destroy_avp_list: destroying list<br>
 &nbsp; &nbsp;(nil)<br>
 &nbsp; &nbsp;Nov 14 18:01:07 [12080] DBG:core:receive_msg: cleaning up<br>
 &nbsp; &nbsp;Nov 14 18:01:09 [12062] INFO:core:handle_sigs: child process 12074<br>
 &nbsp; &nbsp;exited by a signal 11<br>
 &nbsp; &nbsp;Nov 14 18:01:09 [12102] CRITICAL:core:receive_fd: EOF on 14<br>
 &nbsp; &nbsp;Nov 14 18:01:09 [12102] DBG:core:handle_ser_child: dead child 5,<br>
 &nbsp; &nbsp;pid 12074 (shutting down?)<br>
 &nbsp; &nbsp;Nov 14 18:01:09 [12102] DBG:core:io_watch_del: io_watch_del<br>
 &nbsp; &nbsp;(0x8175e80, 14, -1, 0x0) fd_no=25 called<br>
 &nbsp; &nbsp;Nov 14 18:01:09 [12062] INFO:core:handle_sigs: core was generated<br>
 &nbsp; &nbsp;Nov 14 18:01:09 [12062] INFO:core:handle_sigs: terminating due to<br>
 &nbsp; &nbsp;SIGCHLD<br>
 &nbsp; &nbsp;Nov 14 18:01:09 [12102] INFO:core:sig_usr: signal 15 received<br>
 &nbsp; &nbsp;Nov 14 18:01:09 [12070] INFO:core:sig_usr: signal 15 received<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
 &nbsp;<br>
</blockquote>
<br>
</blockquote></div><br>