<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
the issue was a sig bus this time, which more enforced in
sparc/solaris, not common in linux. I was looked at the structure
and seems aligned ok, mis-alignment being the most often used to
rise sigbus. What I could think as next reason was the empty string
default value which may make solaris think is not accessible anymore
at runtime via the cfg structure, so I changed the field for prefix
to str and initialized to null to force allocation in any case.<br>
<br>
Can you try with the attached patch and tell if works fine?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 4/28/12 6:49 PM, Akan wrote:
<blockquote cite="mid:4F9C1F7C.2080204@akan.net" type="cite">I tried
adding the realm_prefix and still got the same problem. I ran
kamailio thru gdb to try and step thru and get more information
and have included the output in the attached text file. Hope this
helps.
<br>
<br>
Thanks
<br>
<br>
Nathaniel L Keeling
<br>
<br>
On 4/26/2012 2:42 PM, Akan wrote:
<br>
<blockquote type="cite">No, but I do have an alias defined.
<br>
<br>
alias="mydomain.com:5080"
<br>
<br>
Thanks
<br>
<br>
Nathaniel
<br>
<br>
On 4/26/2012 3:41 AM, Daniel-Constantin Mierla wrote:
<br>
<blockquote type="cite">Hello,
<br>
<br>
do you set the realm_prefix parameter of registrar module?
<br>
<br>
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id2495082">http://kamailio.org/docs/modules/stable/modules_k/registrar.html#id2495082</a>
<br>
<br>
If yes, can you paste it here?
<br>
<br>
Cheers,
<br>
Daniel
<br>
<br>
On 4/25/12 9:42 PM, Akan wrote:
<br>
<blockquote type="cite">I have 2 servers running Solaris and
Kamailio 3.2.3 where on one Kamailio is terminating when it
tries to save the location for a register request and the
other is producing a core dump when processing an Option
request. I have one server handling Register request while
the other sip server forwards the register requests and
handles the other requests. I have included the backtraces
from the core dumps and the output from the log for the
registrar server as well as the command that is causing
kamailio to terminate:
<br>
<br>
if (!save("location"))
<br>
sl_reply_error();
<br>
<br>
4(3364) ERROR: *** cfgtrace:
c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg] l=714 a=17
n=if
<br>
4(3364) ERROR: *** cfgtrace:
c=[/opt/kamailio-3.2/etc/kamailio/kamailio.cfg] l=711 a=26
n=save
<br>
14(3374) : <core> [pass_fd.c:293]: ERROR: receive_fd:
EOF on 15
<br>
14(3374) DEBUG: <core> [tcp_main.c:3555]: DBG:
handle_ser_child: dead child 4, pid 3364 (shutting down?)
<br>
14(3374) DEBUG: <core> [io_wait.h:617]: DBG:
io_watch_del (1003743d8, 15, 0, 0x0) fd_no=18 called
<br>
0(3360) ALERT: <core> [main.c:751]: child process
3364 exited by a signal 10
<br>
0(3360) ALERT: <core> [main.c:754]: core was not
generated
<br>
0(3360) INFO: <core> [main.c:766]: INFO: terminating
due to SIGCHLD
<br>
6(3366) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
1(3361) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
2(3362) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
3(3363) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
5(3365) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
7(3367) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
8(3368) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
9(3369) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
10(3370) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
11(3371) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
12(3372) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
13(3373) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
14(3374) INFO: <core> [main.c:817]: INFO: signal 15
received
<br>
0(3360) DEBUG: presence_xml [presence_xml.c:347]: start
<br>
0(3360) ERROR: ctl [ctl.c:379]: ERROR: ctl: could not
delete unix socket /tmp/kamailio_ctl: Permission denied (13)
<br>
0(3360) DEBUG: <core> [db_pool.c:102]: removing
connection from the pool
<br>
0(3360) DEBUG: db_postgres [km_pg_con.c:122]:
PQfinish(100842470)
<br>
0(3360) DEBUG: db_postgres [km_pg_con.c:126]:
pkg_free(1004c1f30)
<br>
0(3360) DEBUG: tm [t_funcs.c:122]: DEBUG: tm_shutdown :
start
<br>
0(3360) DEBUG: tm [t_funcs.c:125]: DEBUG: tm_shutdown :
emptying hash table
<br>
0(3360) DEBUG: tm [t_funcs.c:127]: DEBUG: tm_shutdown :
removing semaphores
<br>
0(3360) DEBUG: tm [t_funcs.c:129]: DEBUG: tm_shutdown :
destroying tmcb lists
<br>
0(3360) DEBUG: tm [t_funcs.c:132]: DEBUG: tm_shutdown :
done
<br>
<br>
Thanks
<br>
<br>
Nathaniel
<br>
<br>
<br>
_______________________________________________
<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
<br>
</blockquote>
<br>
-- <br>
Daniel-Constantin Mierla -http://www.asipto.com
<br>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a>
-http://www.linkedin.com/in/miconda
<br>
<br>
No virus found in this message.
<br>
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a> <a class="moz-txt-link-rfc2396E" href="http://www.avg.com"><http://www.avg.com></a>
<br>
Version: 2012.0.1913 / Virus Database: 2411/4959 - Release
Date: 04/25/12
<br>
<br>
</blockquote>
<br>
_______________________________________________
<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
<br>
<br>
<br>
<br>
-----
<br>
No virus found in this message.
<br>
Checked by AVG - <a class="moz-txt-link-abbreviated" href="http://www.avg.com">www.avg.com</a>
<br>
Version: 2012.0.1913 / Virus Database: 2411/4960 - Release Date:
04/26/12
<br>
<br>
<br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>