<!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">
If you don't run it with a privileged user that can write in / or
the working directory you gave, try to provide '-w /tmp' command
line parameter.<br>
<br>
Cheers,<br>
Daniel <br>
<br>
On 10/13/10 10:42 AM, MÉSZÁROS Mihály wrote:
<blockquote cite="mid:4CB570E7.8040804@niif.hu" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hello<br>
<blockquote cite="mid:4CB566B7.1060906@gmail.com" type="cite"> <br>
for 1. send the backtrace.<br>
<br>
</blockquote>
I don't have the core file, as you can see in the log:<br>
<tt>"core was not generated</tt>"<br>
<br>
I set already this flag to yes, but you can see it is not
generating
core file.<br>
<br>
hal:/# cat /etc/default/kamailio | grep DUMP<br>
DUMP_CORE=yes<br>
hal:/# <br>
<br>
Can you please suggest what should i change to generate the core
file?<br>
<br>
<blockquote cite="mid:4CB566B7.1060906@gmail.com" type="cite"> For
2.
is not a duplicate, one is the incoming message and second is
outgoing
message, see the direction field.<br>
<br>
</blockquote>
Thanks in advance!<br>
<br>
Misi<br>
<blockquote cite="mid:4CB566B7.1060906@gmail.com" type="cite">
Cheers,<br>
Daniel<br>
<br>
<br>
On 10/13/10 7:51 AM, MÉSZÁROS Mihály wrote:
<blockquote cite="mid:4CB548F5.6020102@niif.hu" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hello!<br>
<br>
I am still experiencing two problem with siptrace modul:<br>
<br>
<ol>
<li>If i set <br>
<pre class="programlisting">modparam("siptrace", "trace_sl_acks", 1)
</pre>
Then kamailio is crashing.<br>
Please see this log:<br>
<br>
<br>
<tt>Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
tm
[t_hooks.c:374]: DBG: trans=0xb2a719f4, callback type 1,
id 0 entered <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
[t_funcs.c:351]: SER: new INVITE <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
<core>
[msg_translator.c:207]: check_via_address(193.6.222.35,
193.6.222.35,
0) <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
<core>
[mem/shm_mem.c:105]: WARNING:vqm_resize: resize(0)
called <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG: tm
[t_hooks.c:288]: DBG: trans=0xb2a719f4, callback type
2097152, id 0
entered <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
siptrace
[siptrace.c:530]: storing info... <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG:
<core>
[parser/parse_to.c:803]: end of header reached, state=29
<br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG:
<core>
[parser/msg_parser.c:185]: DEBUG: get_hdr_field:
<To> [70]; uri=[<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="sip:9999@mgc.vvc.niif.hu">sip:9999@mgc.vvc.niif.hu</a>]
<br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG:
<core>
[parser/msg_parser.c:187]: DEBUG: to body [<a
moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="sip:9999@mgc.vvc.niif.hu"><sip:9999@mgc.vvc.niif.hu></a>]
<br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24745]: DEBUG: sl
[sl_funcs.c:326]: SL local ACK found -> dropping it!
<br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: :
<core>
[pass_fd.c:293]: ERROR: receive_fd: EOF on 15 <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG:
<core>
[tcp_main.c:3551]: DBG: handle_ser_child: dead child 2,
pid 24745
(shutting down?) <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: DEBUG:
<core>
[io_wait.h:617]: DBG: io_watch_del (0x82491c0, 15, -1,
0x0) fd_no=24
called <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: DEBUG:
siptrace
[siptrace.c:548]: storing info... <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT:
<core>
[main.c:741]: child process 24745 exited by a signal 11
<br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: ALERT:
<core>
[main.c:744]: core was not generated <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: INFO:
<core>
[main.c:756]: INFO: terminating due to SIGCHLD <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24760]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24749]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24748]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24752]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24751]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24750]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24759]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24756]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24762]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24761]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24763]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24744]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24764]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24753]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24746]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24747]: INFO:
<core>
[main.c:807]: INFO: signal 15 received <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG:
presence_xml
[presence_xml.c:329]: start <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG:
<core>
[db_pool.c:102]: removing connection from the pool <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
[t_funcs.c:122]: DEBUG: tm_shutdown : start <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
[t_funcs.c:125]: DEBUG: tm_shutdown : emptying hash
table <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
[t_funcs.c:127]: DEBUG: tm_shutdown : removing
semaphores <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
[t_funcs.c:129]: DEBUG: tm_shutdown : destroying tmcb
lists <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG: tm
[t_funcs.c:132]: DEBUG: tm_shutdown : done <br>
Oct 13 07:25:39 hal /usr/sbin/kamailio[24416]: DEBUG:
tls
[tls_init.c:657]: tls module final tls destroy <br>
Oct 13 07:25:40 hal /usr/sbin/kamailio[24416]: DEBUG:
<core>
[mem/shm_mem.c:236]: shm_mem_destroy <br>
Oct 13 07:25:40 hal /usr/sbin/kamailio[24416]: DEBUG:
<core>
[mem/shm_mem.c:239]: destroying the shared memory lock <br>
Oct 13 07:25:40 hal /usr/sbin/kamailio[24416]: DEBUG:
<core>
[main.c:760]: terminating due to SIGCHLD </tt><br>
<br>
<br>
</li>
<li>Every transaction is duplicated in database<br>
<tt>*************************** 16. row
***************************<br>
id: 5802<br>
time_stamp: 2010-10-13 07:37:41<br>
callid: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:iopigdkukalnese@alma.ki.iif.hu">iopigdkukalnese@alma.ki.iif.hu</a><br>
traced_user: <br>
msg: SIP/2.0 200 OK<br>
Via: SIP/2.0/TCP
195.111.192.7;branch=z9hG4bK2a5a.9059e944.0,SIP/2.0/UDP
193.6.222.35;rport=5060;branch=z9hG4bKyfuozdvf<br>
From: "misi" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:misi@vvc.niif.hu"><sip:misi@vvc.niif.hu></a>;tag=lwuen<br>
To: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:9999@mgc.vvc.niif.hu"><sip:9999@mgc.vvc.niif.hu></a>;tag=mgc_1755674323-3222852<br>
Call-ID: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:iopigdkukalnese@alma.ki.iif.hu">iopigdkukalnese@alma.ki.iif.hu</a><br>
CSeq: 453 BYE<br>
Contact: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:195.111.192.29:5060;transport=tcp"><sip:195.111.192.29:5060;transport=tcp></a>;isfocus<br>
Allow:
REGISTER,INFO,MESSAGE,SUBSCRIBE,NOTIFY,UPDATE,REFER,INVITE,ACK,OPTIONS,CANCEL,BYE<br>
Content-Length: 0<br>
<br>
<br>
method: BYE<br>
status: 200<br>
fromip: tcp:195.111.192.29:5060<br>
toip: tcp:195.111.192.7:0<br>
fromtag: lwuen<br>
direction: in<br>
*************************** 17. row
***************************<br>
id: 5803<br>
time_stamp: 2010-10-13 07:37:41<br>
callid: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:iopigdkukalnese@alma.ki.iif.hu">iopigdkukalnese@alma.ki.iif.hu</a><br>
traced_user: <br>
msg: SIP/2.0 200 OK<br>
Via: SIP/2.0/UDP
193.6.222.35;rport=5060;branch=z9hG4bKyfuozdvf<br>
From: "misi" <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:misi@vvc.niif.hu"><sip:misi@vvc.niif.hu></a>;tag=lwuen<br>
To: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:9999@mgc.vvc.niif.hu"><sip:9999@mgc.vvc.niif.hu></a>;tag=mgc_1755674323-3222852<br>
Call-ID: <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:iopigdkukalnese@alma.ki.iif.hu">iopigdkukalnese@alma.ki.iif.hu</a><br>
CSeq: 453 BYE<br>
Contact: <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="sip:195.111.192.29:5060;transport=tcp"><sip:195.111.192.29:5060;transport=tcp></a>;isfocus<br>
Allow:
REGISTER,INFO,MESSAGE,SUBSCRIBE,NOTIFY,UPDATE,REFER,INVITE,ACK,OPTIONS,CANCEL,BYE<br>
Content-Length: 0<br>
<br>
<br>
method: BYE<br>
status: 200<br>
fromip: tcp:195.111.192.7:5060<br>
toip: udp:193.6.222.35:5060<br>
fromtag: lwuen<br>
direction: out</tt><br>
</li>
</ol>
Can you please help me?<br>
<br>
Many Thanks,<br>
Misi<br>
<br>
2010-10-11 20:27 keltezéssel, Daniel-Constantin Mierla írta:
<blockquote cite="mid:4CB356FD.5010203@gmail.com" type="cite"><br>
<br>
On 10/11/10 8:20 PM, MÉSZÁROS Mihály wrote: <br>
<blockquote type="cite">2010-10-11 17:56 keltezéssel,
Daniel-Constantin Mierla írta: <br>
<blockquote type="cite"><br>
<br>
On 10/11/10 4:18 PM, MÉSZÁROS Mihály wrote: <br>
<blockquote type="cite">Hello, <br>
<blockquote type="cite">is there any other error
message
before this one. Siptrace module prints its own
messages in error
cases. <br>
<br>
</blockquote>
No! <br>
</blockquote>
The only error return without message was related to
trace flag that
looks ok. I added a log message for it. Also, I
discovered an issue in
binding to sl module API, but the symptoms should have
been different. <br>
<br>
Please pull last 3.1 branch and try again. Let me know
if it still
fails to load. I tested and starts ok. <br>
<br>
</blockquote>
Many thanks Daniel! <br>
<br>
I followed your instructions, so it is working now.
(compiled from
latest 3.1 git head) <br>
<br>
Could you please update the debian repository too correct
this issue? <br>
<br>
deb <a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://deb.kamailio.org/kamailio31">http://deb.kamailio.org/kamailio31</a>
lenny main <br>
</blockquote>
Thanks for testing. <br>
<br>
Jon Bonilla is working to update the nightly deb building
system for
3.1 as well, should be available soon. <br>
<br>
You can build debian locally, I do it with: <br>
<br>
make FLAVOUR=kamailio modules_dirs="modules modules_k" deb <br>
<br>
But you need to install all dependencies or remove those
packages you
don't need from deb control files. <br>
<br>
Cheers, <br>
Daniel <br>
<br>
</blockquote>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</blockquote>
<br>
</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></pre>
</body>
</html>