<div class="gmail_quote"><br>Hi,&nbsp;<br>
I&#39;m integrating Opensips 1.4.3-tls (integrated with WeSip to use Java Sip Servlet) with Microsoft OCS 2007.&nbsp;<br>
When I receive a NOTIFY from OCS or sometimes a 200 OK with an XML
Payload I experience an error that makes OpenSips and my SIP Servlet
stop to work.&nbsp;<br>
&nbsp;<br>
I found on internet someone that seems to have a similar problem (but
use a different version of OpenSips), here is the link to the
discussion:&nbsp;<br>
<a href="http://www.mail-archive.com/" target="_blank">http://www.mail-archive.com/</a><a href="mailto:devel@lists.opensips.org/msg00007.html" target="_blank">devel@lists.opensips.org/msg00007.html</a>&nbsp;<br>

&nbsp;<br>
Below you can find the OpenSips log:&nbsp;<br>
&nbsp;<br>
Feb 14 16:27:33 asterisk /product/opensips/sbin/opensips[20345]: NOTICE:presence:child_init: init_child [4]  pid [20345] &nbsp;<br>
Feb 14 16:27:33 asterisk /product/opensips/sbin/opensips[20356]: NOTICE:presence:child_init: init_child [5]  pid [20356] &nbsp;<br>
Feb 14 16:27:33 asterisk /product/opensips/sbin/opensips[20347]: NOTICE:presence:child_init: init_child [-1]  pid [20347] &nbsp;<br>
Feb 14 16:27:33 asterisk /product/opensips/sbin/opensips[20343]: NOTICE:presence:child_init: init_child [3]  pid [20343] &nbsp;<br>
Feb 14 16:27:33 asterisk /product/opensips/sbin/opensips[20358]: NOTICE:presence:child_init: init_child [6]  pid [20358] &nbsp;<br>
Feb 14 16:27:33 asterisk /product/opensips/sbin/opensips[20359]: NOTICE:presence:child_init: init_child [7]  pid [20359] &nbsp;<br>
Feb 14 16:27:33 asterisk /product/opensips/sbin/opensips[20362]: NOTICE:presence:child_init: init_child [8]  pid [20362] &nbsp;<br>
Feb 14 16:27:33 asterisk /product/opensips/sbin/opensips[20367]: NOTICE:presence:child_init: init_child [-4]  pid [20367] &nbsp;<br>
Feb 14 16:27:33 asterisk /product/opensips/sbin/opensips[20330]: NOTICE:presence:child_init: init_child [0]  pid [20330] &nbsp;<br>
Feb 14 16:30:59 asterisk /product/opensips/sbin/opensips[20340]:
INFO:seas:dispatcher_main_loop: polling [2 ServSock] [1 pipe] [1 App
Servers] [0 Uncomplete AS] &nbsp;<br>
Feb 14 16:31:34 asterisk last message repeated 4 times&nbsp;<br>
Feb 14 16:33:05 asterisk last message repeated 12 times&nbsp;<br>
Feb 14 16:33:22 asterisk last message repeated 4 times&nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20367]: CRITICAL:core:receive_fd: EOF on 18 &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20330]:
INFO:core:handle_sigs: child process 20356 exited by a signal 11 &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20330]: INFO:core:handle_sigs: core was generated &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20330]: INFO:core:handle_sigs: terminating due to SIGCHLD &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20367]: INFO:core:sig_usr: signal 15 received &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20347]: INFO:core:sig_usr: signal 15 received &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20362]: INFO:core:sig_usr: signal 15 received &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20359]: INFO:core:sig_usr: signal 15 received &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20358]: INFO:core:sig_usr: signal 15 received &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20354]: INFO:core:sig_usr: signal 15 received &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20346]: INFO:seas:seas_sighandler: INFO: signal 15 received &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20345]: INFO:core:sig_usr: signal 15 received &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20343]: INFO:core:sig_usr: signal 15 received &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20341]: INFO:core:sig_usr: signal 15 received &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20338]: INFO:core:sig_usr: signal 15 received &nbsp;<br>
Feb 14 16:33:23 asterisk /product/opensips/sbin/opensips[20340]: INFO:seas:seas_sighandler: INFO: signal 15 received &nbsp;<br>
Feb 14 16:33:26 asterisk /product/opensips/sbin/opensips[20346]:
INFO:seas:seas_sighandler: [shootist] Action dispatcher exiting &nbsp;<br>
Feb 14 16:33:26 asterisk /product/opensips/sbin/opensips[20330]: NOTICE:presence:destroy: destroy module ... &nbsp;<br>
<br><br>Following the Core Dump bt:<br><br>GNU gdb Red Hat Linux (6.3.0.0-1.143.el4rh)&nbsp;<br>
Copyright 2004 Free Software Foundation, Inc.&nbsp;<br>
GDB is free software, covered by the GNU General Public License, and you are&nbsp;<br>
welcome to change it and/or distribute copies of it under certain conditions.&nbsp;<br>
Type &quot;show copying&quot; to see the conditions.&nbsp;<br>
There is absolutely no warranty for GDB.  Type &quot;show warranty&quot; for details.&nbsp;<br>
This GDB was configured as &quot;i386-redhat-linux-gnu&quot;...Using host libthread_db library &quot;/lib/tls/libthread_db.so.1&quot;.&nbsp;<br>
&nbsp;<br>
Core was generated by `./opensips -P /var/run/opensips.pid&#39;.&nbsp;<br>
Program terminated with signal 11, Segmentation fault.&nbsp;<br>
Reading symbols from /lib/libdl.so.2...done.&nbsp;<br>
Loaded symbols for /lib/libdl.so.2&nbsp;<br>
Reading symbols from /lib/libresolv.so.2...done.&nbsp;<br>
Loaded symbols for /lib/libresolv.so.2&nbsp;<br>
Reading symbols from /lib/libssl.so.4...done.&nbsp;<br>
Loaded symbols for /lib/libssl.so.4&nbsp;<br>
Reading symbols from /lib/libcrypto.so.4...done.&nbsp;<br>
Loaded symbols for /lib/libcrypto.so.4&nbsp;<br>
Reading symbols from /lib/tls/libc.so.6...done.&nbsp;<br>
Loaded symbols for /lib/tls/libc.so.6&nbsp;<br>
Reading symbols from /lib/ld-linux.so.2...done.&nbsp;<br>
Loaded symbols for /lib/ld-linux.so.2&nbsp;<br>
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.&nbsp;<br>
Loaded symbols for /usr/lib/libgssapi_krb5.so.2&nbsp;<br>
Reading symbols from /usr/lib/libkrb5.so.3...done.&nbsp;<br>
Loaded symbols for /usr/lib/libkrb5.so.3&nbsp;<br>
Reading symbols from /lib/libcom_err.so.2...done.&nbsp;<br>
Loaded symbols for /lib/libcom_err.so.2&nbsp;<br>
Reading symbols from /usr/lib/libk5crypto.so.3...done.&nbsp;<br>
Loaded symbols for /usr/lib/libk5crypto.so.3&nbsp;<br>
Reading symbols from /usr/lib/libz.so.1...done.&nbsp;<br>
Loaded symbols for /usr/lib/libz.so.1&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/db_mysql.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/db_mysql.so&nbsp;<br>
Reading symbols from /usr/lib/mysql/libmysqlclient.so.14...done.&nbsp;<br>
Loaded symbols for /usr/lib/mysql/libmysqlclient.so.14&nbsp;<br>
Reading symbols from /lib/libcrypt.so.1...done.&nbsp;<br>
Loaded symbols for /lib/libcrypt.so.1&nbsp;<br>
Reading symbols from /lib/libnsl.so.1...done.&nbsp;<br>
Loaded symbols for /lib/libnsl.so.1&nbsp;<br>
Reading symbols from /lib/tls/libm.so.6...done.&nbsp;<br>
Loaded symbols for /lib/tls/libm.so.6&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/sl.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/sl.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/tm.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/tm.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/rr.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/rr.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/maxfwd.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/maxfwd.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/usrloc.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/usrloc.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/registrar.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/registrar.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/textops.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/textops.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/mi_fifo.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/mi_fifo.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/uri_db.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/uri_db.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/uri.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/uri.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/xlog.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/xlog.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/acc.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/acc.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/seas.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/seas.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/auth.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/auth.so&nbsp;<br>
Reading symbols from /product/opensips/lib/opensips/modules/auth_db.so...done.&nbsp;<br>
Loaded symbols for /product/opensips//lib/opensips/modules/auth_db.so&nbsp;<br>
Reading symbols from /lib/libnss_files.so.2...done.&nbsp;<br>
Loaded symbols for /lib/libnss_files.so.2&nbsp;<br>
#0  0x080d4921 in fm_malloc (qm=0xb5f26000, size=3656) at mem/f_malloc.c:267&nbsp;<br>
267                             if ((*f)-&gt;size&gt;=size) goto found;&nbsp;<br>
(gdb) bt&nbsp;<br>
#0  0x080d4921 in fm_malloc (qm=0xb5f26000, size=3656) at mem/f_malloc.c:267&nbsp;<br>
#1  0x007d326a in build_cell (p_msg=0x81af168) at ../../mem/shm_mem.h:202&nbsp;<br>
#2  0x007eea86 in t_newtran (p_msg=0x81af168) at t_lookup.c:1000&nbsp;<br>
#3  0x0073336c in w_as_relay_t (msg=0x81af168, entry=0xb60c3b18 &quot;Ø;\f¶\b&quot;, foo=0x0) at seas.c:248&nbsp;<br>
#4  0x08055183 in do_action (a=0x8199548, msg=0x81af168) at action.c:845&nbsp;<br>
#5  0x08056d7a in run_action_list (a=0x8199548, msg=0x81af168) at action.c:138&nbsp;<br>
#6  0x0809e7d1 in eval_expr (e=0x81995b0, msg=0x81af168, val=0x0) at route.c:1104&nbsp;<br>
#7  0x0809ea35 in eval_expr (e=0x81995d8, msg=0x81af168, val=0x0) at route.c:1417&nbsp;<br>
#8  0x0809e390 in eval_expr (e=0x8199600, msg=0x81af168, val=0x0) at route.c:1422&nbsp;<br>
#9  0x0805457e in do_action (a=0x8199828, msg=0x81af168) at action.c:700&nbsp;<br>
#10 0x08056d7a in run_action_list (a=0x81993d0, msg=0x81af168) at action.c:138&nbsp;<br>
#11 0x080568e6 in do_action (a=0x8199980, msg=0x81af168) at action.c:717&nbsp;<br>
#12 0x08056d7a in run_action_list (a=0x8199980, msg=0x81af168) at action.c:138&nbsp;<br>
#13 0x08057082 in run_top_route (a=0x8199980, msg=0x81af168) at action.c:118&nbsp;<br>
#14 0x080910c8 in receive_msg (&nbsp;<br>
buf=0xb60c78a4 &quot;BENOTIFY
sip:192.168.5.59:44764;transport=tcp;AppId=.sip2msipGW;ms-received-cid=DC00
SIP/2.0\r\nVia: SIP/2.0/TCP
192.168.71.68;branch=z9hG4bK32C47BE9.10786EAB;branched=FALSE\r\nAuthentication-Info:
NTLM r&quot;..., len=2640, rcv_info=0xb60c7840) at receive.c:165&nbsp;<br>
#15 0x080c0579 in tcp_read_req (con=0xb60c7830, bytes_read=0xbff5e6e4) at tcp_read.c:544&nbsp;<br>
#16 0x080c101c in handle_io (fm=Variable &quot;fm&quot; is not available.&nbsp;<br>
) at tcp_read.c:812&nbsp;<br>
#17 0x080c3371 in tcp_receive_loop (unix_sock=17) at io_wait.h:727&nbsp;<br>
#18 0x080bead9 in tcp_init_children (chd_rank=0x815b4c0) at tcp_main.c:1706&nbsp;<br>
#19 0x0806bb50 in main (argc=3, argv=0xbff5ead4) at main.c:832&nbsp; <br>&nbsp;
<br>
</div><br>