<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
hi,<br>
<br>
i imagine that. I patched and start opensips with new patch and now
waiting.<br>
<br>
Thanks,<br>
Dani<br>
<br>
On 09/14/11 16:29, Vlad Paiu wrote:
<blockquote cite="mid:4E70AC4F.8020202@opensips.org" type="cite">Hello,
<br>
<br>
Ok, that wasn't of really much help :)
<br>
Please try the attached patch and let me know if OpenSIPS still
crashes.
<br>
<br>
Regards,
<br>
<br>
Vlad Paiu
<br>
OpenSIPS Developer
<br>
<br>
<br>
On 09/14/2011 03:53 PM, Dani Popa wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
(gdb) frame 0
<br>
#0 0xb6c2c3ee in get_rules_doc (user=0xbfb603ac,
domain=0xbfb603bc, type=2, rules_doc=0xb6c6a2a4) at
xcap_auth.c:527
<br>
527 body.len = strlen(body.s);
<br>
(gdb) p row_vals[0]
<br>
value has been optimized out
<br>
(gdb)
<br>
<br>
On 09/14/11 15:43, Vlad Paiu wrote:
<br>
<blockquote type="cite">Hello,
<br>
<br>
In frame 0, could you please do
<br>
p row_vals[0]
<br>
<br>
and paste here the output ?
<br>
<br>
Regards,
<br>
<br>
Vlad Paiu
<br>
OpenSIPS Developer
<br>
<br>
<br>
On 09/14/2011 02:53 PM, Dani Popa wrote:
<br>
<blockquote type="cite">Hi,
<br>
<br>
My opensips used for presence stoped with Segmentation
fault.
<br>
<br>
root@test:/home# gdb opensips_1_6/opensips core
<br>
GNU gdb (GDB) 7.3-debian
<br>
Copyright (C) 2011 Free Software Foundation, Inc.
<br>
License GPLv3+: GNU GPL version 3 or later
<a class="moz-txt-link-rfc2396E" href="http://gnu.org/licenses/gpl.html"><http://gnu.org/licenses/gpl.html></a>
<br>
This is free software: you are free to change and
redistribute it.
<br>
There is NO WARRANTY, to the extent permitted by law. Type
"show copying"
<br>
and "show warranty" for details.
<br>
This GDB was configured as "i486-linux-gnu".
<br>
For bug reporting instructions, please see:
<br>
<a class="moz-txt-link-rfc2396E" href="http://www.gnu.org/software/gdb/bugs/"><http://www.gnu.org/software/gdb/bugs/></a>...
<br>
Reading symbols from /home/opensips_1_6/opensips...done.
<br>
[New LWP 14277]
<br>
<br>
warning: Can't read pathname for load map: Input/output
error.
<br>
[Thread debugging using libthread_db enabled]
<br>
Core was generated by `/usr/local/sbin/opensips -P
/var/run/opensips_presence/opensips_presence.pid -m'.
<br>
Program terminated with signal 11, Segmentation fault.
<br>
#0 0xb6c2c3ee in get_rules_doc (user=0xbfb603ac,
domain=0xbfb603bc, type=2, rules_doc=0xb6c6a2a4) at
xcap_auth.c:527
<br>
527 body.len = strlen(body.s);
<br>
(gdb) bt
<br>
#0 0xb6c2c3ee in get_rules_doc (user=0xbfb603ac,
domain=0xbfb603bc, type=2, rules_doc=0xb6c6a2a4) at
xcap_auth.c:527
<br>
#1 0x081f6bfc in mem_pool ()
<br>
Backtrace stopped: Not enough registers or memory available
to unwind further
<br>
<br>
The core file has 256M, if you need it, i'll post it on web,
but please let me know.
<br>
<br>
Thanks,
<br>
Dani
<br>
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
<br>
<br>
</blockquote>
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
<br>
</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</body>
</html>