To be frank, I don't know what is QM_DBG_MALLOC.<br>Will you please make it clear, what is it and how to compile with it?<br><br clear="all">Thanks<br>JayaPrakash<br>
<br><br><div class="gmail_quote">On Mon, Apr 6, 2009 at 11:05 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></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;">
Buy were you compiling with QM_DBG_MALLOC ?<br>
<br>
Regards,<br>
Bogdan<br>
<br>
JayaPrakash 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="im">
Hi Bogdan,<br>
I guess I did not get phrase like "freeing already freed pointer".<br>
If I get such phrase, I am sure, I will post it to you.<br>
<br>
Thanks<br>
JayaPrakash<br>
<br>
<br></div><div><div></div><div class="h5">
On Mon, Apr 6, 2009 at 10:17 PM, Bogdan-Andrei Iancu <<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>>> wrote:<br>
<br>
Hi JayaPrakash,<br>
<br>
have you compiled the memory debug support (I see you use the QM<br>
mem manager)? If so, do you get in your logs something like:<br>
"freeing already freed pointer" before the abort? If so, please<br>
post the entire message.<br>
<br>
Regards,<br>
Bogdan<br>
<br>
<br>
JayaPrakash wrote:<br>
<br>
Hi All,<br>
<br>
Opensips 1.5 is installed in Debian 5.<br>
OpenXCAP 1.0.7, Soap-Simple-Proxy and Opensips-mi-proxy are<br>
installed and functioning properly.<br>
(OpenXCAP is tested by running ./test.py, It is working fine.)<br>
presence, presence_xml,<br>
presence_mwi,pua,pua_mi,presence_xcapdiff,rls and xcap_client<br>
are loaded in this order.<br>
When OpenSIPs is started, it is getting crashed. I am using<br>
xlite client.<br>
Below I am printing backtrace.<br>
**************************************************************************************************************<br>
(gdb) bt<br>
#0 0xb7f81424 in __kernel_vsyscall ()<br>
#1 0xb7e25640 in raise () from /lib/i686/cmov/libc.so.6<br>
#2 0xb7e27018 in abort () from /lib/i686/cmov/libc.so.6<br>
#3 0x080d7478 in qm_free (qm=0x818c4e0, p=0x0,<br>
file=0xb77f365f "xcap_functions.c", func=0xb77f39bf<br>
"get_xcap_path", line=458) at mem/q_malloc.c:444<br>
#4 0xb77f1db7 in get_xcap_path (req=<br>
{xcap_root = 0xaf706308 "192.168.1.130", port = 9222,<br>
doc_sel = {auid = {s = 0xb79792b5 "pres-rules", len = 10},<br>
doc_type = 2, type = 1, xid = {s = 0x81e8484<br>
"<a href="mailto:sip%3AHari@192.168.1.130" target="_blank">sip:Hari@192.168.1.130</a> <mailto:<a href="mailto:sip%253AHari@192.168.1.130" target="_blank">sip%3AHari@192.168.1.130</a>><br>
<mailto:<a href="mailto:sip%253AHari@192.168.1.130" target="_blank">sip%3AHari@192.168.1.130</a><br></div></div>
<mailto:<a href="mailto:sip%25253AHari@192.168.1.130" target="_blank">sip%253AHari@192.168.1.130</a>>>", len = 22}, filename =<div class="im"><br>
{s = 0xb79792af "index", len = 5}}, node_sel = 0x0, etag =<br>
0x0, match_type = 0}) at xcap_functions.c:458<br>
<br>
#5 0xb77f29f2 in xcapGetNewDoc (req=<br>
{xcap_root = 0xaf706308 "192.168.1.130", port = 9222,<br>
doc_sel = {auid = {s = 0xb79792b5 "pres-rules", len = 10},<br>
doc_type = 2, type = 1, xid = {s = 0x81e8484<br>
"<a href="mailto:sip%3AHari@192.168.1.130" target="_blank">sip:Hari@192.168.1.130</a> <mailto:<a href="mailto:sip%253AHari@192.168.1.130" target="_blank">sip%3AHari@192.168.1.130</a>><br>
<mailto:<a href="mailto:sip%253AHari@192.168.1.130" target="_blank">sip%3AHari@192.168.1.130</a><br></div>
<mailto:<a href="mailto:sip%25253AHari@192.168.1.130" target="_blank">sip%253AHari@192.168.1.130</a>>>", len = 22}, filename =<div class="im"><br>
{s = 0xb79792af "index", len = 5}}, node_sel = 0x0, etag =<br>
0x0, match_type = 0}, user={s = 0x81e78c4 "<a href="mailto:Hari@192.168.1.130" target="_blank">Hari@192.168.1.130</a><br></div>
<mailto:<a href="mailto:Hari@192.168.1.130" target="_blank">Hari@192.168.1.130</a>> <mailto:<a href="mailto:Hari@192.168.1.130" target="_blank">Hari@192.168.1.130</a><div class="im"><br>
<mailto:<a href="mailto:Hari@192.168.1.130" target="_blank">Hari@192.168.1.130</a>>>", len = 4}, domain={s = 0x81e78c9<br>
"192.168.1.130", len = 13},<br>
<br>
xcap_doc=0xbfd9bef8) at xcap_functions.c:318<br>
#6 0xb79754d8 in http_get_rules_doc (user={s = 0x81e78c4<br>
"<a href="mailto:Hari@192.168.1.130" target="_blank">Hari@192.168.1.130</a> <mailto:<a href="mailto:Hari@192.168.1.130" target="_blank">Hari@192.168.1.130</a>><br></div>
<mailto:<a href="mailto:Hari@192.168.1.130" target="_blank">Hari@192.168.1.130</a> <mailto:<a href="mailto:Hari@192.168.1.130" target="_blank">Hari@192.168.1.130</a>>>", len<div><div></div><div class="h5">
<br>
= 4}, domain={s = 0x81e78c9 "192.168.1.130", len = 13},<br>
rules_doc=0xbfd9c00c) at xcap_auth.c:581<br>
<br>
#7 0xb7975aba in get_rules_doc (user=0xbfd9c0ac,<br>
domain=0xbfd9c0bc, type=2, rules_doc=0xbfd9c1dc) at<br>
xcap_auth.c:489<br>
#8 0xb79760ec in pres_get_rules_doc (user=0xbfd9c0ac,<br>
domain=0xbfd9c0bc, rules_doc=0xbfd9c1dc) at xcap_auth.c:415<br>
#9 0xb79a87cb in handle_subscribe (msg=0x81e6120, str1=0x0,<br>
str2=0x0) at subscribe.c:660<br>
#10 0x080552a8 in do_action (a=0x81cf1dc, msg=0x81e6120) at<br>
action.c:962<br>
#11 0x080541a2 in run_action_list (a=0x81cf09c, msg=0x81e6120)<br>
at action.c:139<br>
#12 0x080571e6 in do_action (a=0x81cf26c, msg=0x81e6120) at<br>
action.c:706<br>
#13 0x080541a2 in run_action_list (a=0x81ce314, msg=0x81e6120)<br>
at action.c:139<br>
#14 0x080571e6 in do_action (a=0x81cf2fc, msg=0x81e6120) at<br>
action.c:706<br>
#15 0x080541a2 in run_action_list (a=0x81cf2fc, msg=0x81e6120)<br>
at action.c:139<br>
#16 0x08057712 in do_action (a=0x81cf38c, msg=0x81e6120) at<br>
action.c:712<br>
#17 0x080541a2 in run_action_list (a=0x81cf38c, msg=0x81e6120)<br>
at action.c:139<br>
#18 0x08057712 in do_action (a=0x81cf41c, msg=0x81e6120) at<br>
action.c:712<br>
#19 0x080541a2 in run_action_list (a=0x81cb5d4, msg=0x81e6120)<br>
at action.c:139<br>
#20 0x08058025 in run_top_route (a=0x81cb5d4, msg=0x81e6120)<br>
at action.c:119<br>
#21 0x08093ac4 in receive_msg (<br>
buf=0x816b5a0 "SUBSCRIBE <a href="mailto:sip%3AHari@192.168.1.130" target="_blank">sip:Hari@192.168.1.130</a><br>
<mailto:<a href="mailto:sip%253AHari@192.168.1.130" target="_blank">sip%3AHari@192.168.1.130</a>><br></div></div><div class="im">
<mailto:<a href="mailto:sip%253AHari@192.168.1.130" target="_blank">sip%3AHari@192.168.1.130</a><br></div>
<mailto:<a href="mailto:sip%25253AHari@192.168.1.130" target="_blank">sip%253AHari@192.168.1.130</a>>> SIP/2.0\r\nRecord-Route:<div class="im"><br>
<sip:192.168.1.129:5090;lr=on;nat=yes>\r\nVia: SIP/2.0/UDP<br>
192.168.1.129:5090;branch=z9hG4bKecaa.b7a9e694.0\r\nVia:<br>
SIP/2.0/UDP <a href="http://192.168.1.108:58852" target="_blank">192.168.1.108:58852</a> <<a href="http://192.168.1.108:58852" target="_blank">http://192.168.1.108:58852</a>><br>
<<a href="http://192.168.1.108:58852" target="_blank">http://192.168.1.108:58852</a>>;"..., len=852,<br>
rcv_info=0xbfd9cf34) at receive.c:165<br>
<br>
#22 0x080d096b in udp_rcv_loop () at udp_server.c:449<br>
#23 0x0806ce17 in main (argc=9, argv=0xbfd9d0c4) at main.c:779<br>
*************************************************************************************************************************************************************<br>
Please review it.<br>
<br>
Thanks<br>
JayaPrakash<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br></div>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><div class="im"><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>
<br>
<br>
<br>
</div></blockquote>
<br>
</blockquote></div><br>