<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Please disregard the bit about the listen directives - I got my test
configuration files mixed up.<br>
<br>
The line that causes the segmentation fault appears to be:<br>
<blockquote>mem_join=1<br>
</blockquote>
When the line is there crash, when the line is commented out
Kamailio runs.<br>
<br>
Regards,<br>
<br>
Peter<br>
<br>
<br>
<div class="moz-cite-prefix">On 30/05/13 16:20, Peter Dunkley wrote:<br>
</div>
<blockquote cite="mid:51A76E56.5000008@crocodile-rcs.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
When I have explicit listen directives like this (PRIV_IP_ADDR is
a substdef included from another file):<br>
<blockquote>listen=tcp:"PRIV_IP_ADDR":80<br>
listen=tls:"PRIV_IP_ADDR":443<br>
listen=tls:"PRIV_IP_ADDR":2855<br>
</blockquote>
Kamailio seg-faults very early in start-up.<br>
<br>
The output from GDB is:<br>
<blockquote>(gdb) run<br>
Starting program: /usr/sbin/kamailio <br>
loading modules under /usr/lib64/kamailio/modules<br>
[Thread debugging using libthread_db enabled]<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
qm_detach_free (qm=0x7ffff722b010, p=<value optimized
out>)<br>
at mem/q_malloc.c:269<br>
269 FRAG_END(next)->prev_free=prev;<br>
Missing separate debuginfos, use: debuginfo-install
glibc-2.12-1.107.el6.x86_64 keyutils-libs-1.4-4.el6.x86_64
krb5-libs-1.10.3-10.el6_4.2.x86_64
libcom_err-1.41.12-14.el6.x86_64
libselinux-2.0.94-5.3.el6_4.1.x86_64
libunistring-0.9.3-5.el6.x86_64 mysql-libs-5.1.69-1.el6_4.x86_64
nss-softokn-freebl-3.12.9-11.el6.x86_64
openssl-1.0.0-27.el6_4.2.x86_64 zlib-1.2.3-29.el6.x86_64<br>
(gdb) bt<br>
#0 qm_detach_free (qm=0x7ffff722b010, p=<value optimized
out>)<br>
at mem/q_malloc.c:269<br>
#1 qm_free (qm=0x7ffff722b010, p=<value optimized out>)
at mem/q_malloc.c:511<br>
#2 0x00000000005b7927 in yyparse () at cfg.y:2699<br>
#3 0x000000000046b8e3 in main (argc=1, argv=0x7fffffffe548) at
main.c:2083<br>
</blockquote>
<br>
This happens with Kamailio git master built about 20 minutes ago.<br>
<br>
Regards,<br>
<br>
Peter<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>