<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Hi </tt><tt>Nathaniel,<br>
<br>
In dispatcher, it was a fix couple of months ago - if a
destination cannot be DNS resolved, it will be simply skipped - it
will not terminate opensips any more. You should upgrade to the
latest version.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 01/25/2013 02:58 AM, Nathaniel L Keeling III wrote:
<blockquote cite="mid:5101D8AD.5060408@akan-tech.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Thanks for the quick response. I also noticed that when
opensips can not resolve a DNS name from the dispatcher table it
also terminated. This might be the same thing. When I put a
valid DNS name that is resolvable, opensips is ok.<br>
<br>
Thanks<br>
<br>
Nathaniel<br>
<br>
</tt>
<div class="moz-cite-prefix">On 1/23/13 5:41 AM, Bogdan-Andrei
Iancu wrote:<br>
</div>
<blockquote cite="mid:50FFCC83.20609@opensips.org" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Hi </tt><tt>Nathaniel,<br>
<br>
Thanks for your help, I found and fix the problem - was a
debug trying to print the "context" variable which may be
NULL. I uploaded the fix on SVN trunk, 1.8 and 1.7 .<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 01/23/2013 06:02 AM, Nathaniel L Keeling III wrote:
<blockquote cite="mid:50FF60E9.7010708@akan-tech.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>I changed the debug level to 1 and opensips did not
terminate. I then increased the debug level, re-tested and
opensips did not terminate until debug level = 4. Every
debug level after that, opensips terminated and took a core
dump.<br>
<br>
Thanks<br>
<br>
Nathaniel<br>
<br>
<br>
</tt>
<div class="moz-cite-prefix">On 1/22/13 8:34 AM, Bogdan-Andrei
Iancu wrote:<br>
</div>
<blockquote cite="mid:50FEA36C.6030902@opensips.org"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Does it crash running in debug=6 and debug=1 ? Could you
try both please.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 01/22/2013 10:36 AM, Nathaniel L Keeling III wrote:
<blockquote cite="mid:50FE4FA0.209@akan-tech.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>I have placed the output of opensips log file and the
backtrace in pastebin.com. Here are the links for them.
Again, 4 processes produced a core dump and their output
was the same.<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://pastebin.com/h6NWGBry">http://pastebin.com/h6NWGBry</a><br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://pastebin.com/q7y69qqU">http://pastebin.com/q7y69qqU</a><br>
<br>
Thanks<br>
<br>
Nathaniel<br>
<br>
<br>
</tt>
<div class="moz-cite-prefix">On 1/21/13 4:41 PM,
Bogdan-Andrei Iancu wrote:<br>
</div>
<blockquote cite="mid:50FDC420.6020505@opensips.org"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Hi,<br>
<br>
Post the output of the "bt full" on pastebin.com, for
example.<br>
<br>
Thanks,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 01/21/2013 10:31 PM, Nathaniel L Keeling III wrote:
<blockquote cite="mid:50FDA5AF.2010405@akan-tech.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Hello,<br>
<br>
I downloaded the source from svn as instructed on
the website and from the source directory I issued
the "make menuconfig" command where the options menu
came up. I then selected the "Configure Compile
Options" as listed earlier and the modules to
compile and then selected the "Compile and Install
Opensips" options.<br>
<br>
___________________________________________<br>
| |<br>
|
Configure Compile Options |<br>
| --->
Compile And Install OpenSIPS |<br>
|
Cleanup OpenSIPS sources |<br>
|
Generate OpenSIPS Script |<br>
|
Exit & Save All Changes |<br>
|___________________________________________|<br>
<br>
When I re-compiled, I re-compiled with extra-debug
selected and I got a lot of extra info in the log
file, which I can post (let me know where/how), but
the core dumps had the same output. Just out of
curiosity, I changed the function call to
"check_source_address" from "check_address" and
opensips did not terminate.<br>
<br>
Thanks<br>
<br>
Nathaniel<br>
<br>
<br>
</tt>
<div class="moz-cite-prefix">On 1/21/13 12:59 PM,
Bogdan-Andrei Iancu wrote:<br>
</div>
<blockquote cite="mid:50FD9011.6090307@opensips.org"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Hi Nathaniel,<br>
<br>
are you also doing a "make install", or running
directly from the src dir ? Also compiling is
simply "make all" ?<br>
<br>
I'm asking as by default opensips compiles with
the debug symbols ...<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 01/19/2013 07:08 PM, Nathaniel L Keeling III
wrote:
<blockquote
cite="mid:50FAD326.1010408@akan-tech.com"
type="cite">
<meta http-equiv="content-type"
content="text/html; charset=ISO-8859-1">
<br>
<div class="moz-forward-container"><br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table"
border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap"
valign="BASELINE">Subject: </th>
<td>Re: [OpenSIPS-Users] Permission
function causing Termination</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap"
valign="BASELINE">Date: </th>
<td>Sat, 19 Jan 2013 10:17:10 -0600</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap"
valign="BASELINE">From: </th>
<td>Nathaniel L Keeling III <a
moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:keeling@akan-tech.com"><keeling@akan-tech.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap"
valign="BASELINE">To: </th>
<td>Bogdan-Andrei Iancu <a
moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>I used the source from svn and compiled
using "make menuconfig" and selected these
compile options:<br>
<br>
|<br>
| [*]
PKG_MALLOC |<br>
| [*]
SHM_MEM |<br>
| [*]
SHM_MMAP |<br>
| [*]
USE_IPV6 |<br>
| [*]
USE_MCAST |<br>
| [*]
DISABLE_NAGLE |<br>
| [*]
STATISTICS |<br>
| [*]
CHANGEABLE_DEBUG_LEVEL |<br>
| [*]
HAVE_RESOLV_RES |<br>
| [*]
F_MALLOC |<br>
| [*]
USE_TCP |<br>
| [*]
USE_TLS |<br>
| [ ]
USE_SCTP |<br>
| [ ]
DBG_QM_MALLOC |<br>
| [ ]
USE_SHM_MEM |<br>
| [ ]
DBG_F_MALLOC |<br>
| [ ]
NO_DEBUG |<br>
| [ ]
NO_LOG |<br>
| [ ]
VQ_MALLOC |<br>
| [ ]
FAST_LOCK |<br>
| [ ]
USE_SYSV_SEM |<br>
| [ ]
USE_PTHREAD_MUTEX <br>
Thanks<br>
<br>
Nathaniel<br>
<br>
<br>
</tt>
<div class="moz-cite-prefix">On 1/19/13 2:29 AM,
Bogdan-Andrei Iancu wrote:<br>
</div>
<blockquote
cite="mid:50FA5969.40409@opensips.org"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<tt>Hi Nathaniel,<br>
<br>
I guess you have opensips from packages - if
so, install also the package with the debug
symbols. <br>
<br>
On a first look, the crash happens in some
log message.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<br>
On 01/19/2013 07:57 AM, Nathaniel L Keeling
III wrote:
<blockquote
cite="mid:50FA35DC.5000307@akan-tech.com"
type="cite">
<meta content="text/html;
charset=ISO-8859-1"
http-equiv="Content-Type">
<small>Here is the output from the core
dump. Four processes produced a dump and
each one is just like this one. Should
there be a symbol table available?<br>
If so, what do I need to do to get it?<br>
</small> <br>
<tt>Core was generated by
`../../sbin/opensips -P
/var/run/opensips.pid -m 512 -M 4 -u root
-g root -f /op'.<br>
Program terminated with signal 11,
Segmentation fault.<br>
#0 0xffffffff7e53bb50 in strlen () from
/lib/64/libc.so.1<br>
(gdb) bt full<br>
#0 0xffffffff7e53bb50 in strlen () from
/lib/64/libc.so.1<br>
No symbol table info available.<br>
#1 0xffffffff7e5aabf8 in _ndoprnt () from
/lib/64/libc.so.1<br>
No symbol table info available.<br>
#2 0xffffffff7e5ad3d4 in vsnprintf ()
from /lib/64/libc.so.1<br>
No symbol table info available.<br>
#3 0xffffffff7e5774bc in vsyslog () from
/lib/64/libc.so.1<br>
No symbol table info available.<br>
#4 0xffffffff7e577004 in syslog () from
/lib/64/libc.so.1<br>
No symbol table info available.<br>
#5 0xffffffff7990dd68 in check_addr_6 ()
from
/opt/opensips-1.8.2/lib64/opensips/modules/permissions.so<br>
No symbol table info available.<br>
#6 0xffffffff7990dee0 in check_addr_4 ()
from
/opt/opensips-1.8.2/lib64/opensips/modules/permissions.so<br>
No symbol table info available.<br>
#7 0x00000001000ea47c in do_action ()<br>
No symbol table info available.<br>
#8 0x00000001000e12fc in run_action_list
()<br>
No symbol table info available.<br>
#9 0x00000001000a7030 in eval_elem ()<br>
No symbol table info available.<br>
#10 0x00000001000a8f0c in eval_expr ()<br>
No symbol table info available.<br>
#11 0x00000001000a90b4 in eval_expr ()<br>
No symbol table info available.<br>
#12 0x00000001000e5c5c in do_action ()<br>
No symbol table info available.<br>
#13 0x00000001000e12fc in run_action_list
()<br>
No symbol table info available.<br>
#14 0x00000001000e1088 in run_actions ()<br>
No symbol table info available.<br>
#15 0x00000001000e14e4 in run_top_route ()<br>
No symbol table info available.<br>
#16 0x00000001000ddf60 in receive_msg ()<br>
No symbol table info available.<br>
#17 0x00000001000971b0 in udp_rcv_loop ()<br>
No symbol table info available.<br>
#18 0x0000000100045ea0 in main_loop ()<br>
No symbol table info available.<br>
#19 0x000000010004b628 in main ()<br>
No symbol table info available.<br>
(gdb) quit<br>
</tt><br>
<small>Thanks<br>
Nathaniel</small><br>
<br>
<div class="moz-cite-prefix">On 1/18/13
10:30 PM, Ovidiu Sas wrote:<br>
</div>
<blockquote
cite="mid:CAND0LktdEhgbLe7tW_sXqafak-RGw8q+AmsffoiN51L+biDetA@mail.gmail.com"
type="cite">
<pre wrap="">Enable core dump generation and use gdb to print out the stacktrace.
More info here:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips.org/Resources/DocsTsCrash">http://www.opensips.org/Resources/DocsTsCrash</a>
Regards,
Ovidiu Sas
</pre>
</blockquote>
</blockquote>
</blockquote>
</div>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<br>
<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>