<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    if you can reproduce it, try to get the core dump, some steps that
    will help getting one easier:<br>
    <br>
    - run as root<br>
    - before starting do: 'ulimit -c unlimited'<br>
    <br>
    Retest in order to get the issue again and if you get the corefile,
    then send the backtrace:<br>
    <br>
    gdb /path/to/kamailio /path/to/corefile<br>
    bt full<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 6/27/12 4:01 PM, Dan-Cristian Bogos
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADMA_LDOf5tFWOLHVCvLXyXxcyPC+6FxYT+RQAmerNnjjCbThA@mail.gmail.com"
      type="cite">
      <pre wrap="">Hey Guys,

After upgrading from 3.2.x to 3.3.0 (out of debian packages and
fixing db side) Kamailio is crashing on processing REGISTER. This
crash only happens for updates (or if a stale contact for the same AOR
is already present), not initial REGISTERs.

Attached you can find the log taken with debug=6 as well as the
REGISTER package producing the segfault.

Kamailio version:
"""
root@PrxyDev:/etc/slocator# kamailio -V
version: kamailio 3.3.0 (i386/linux)
flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS,
USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT,
USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST,
HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 22:17:07 Jun 18 2012 with gcc 4.4.5
"""

Syslog msg in debug=2:
"""
Jun 27 15:46:22 PrxyDev kernel: [11330.002854] kamailio[6959]:
segfault at 0 ip (null) sp bf8d531c error 4 in
kamailio[8048000+1ea000]
Jun 27 15:46:22 PrxyDev /usr/sbin/kamailio[6970]: : &lt;core&gt;
[pass_fd.c:293]: ERROR: receive_fd: EOF on 10
Jun 27 15:46:22 PrxyDev /usr/sbin/kamailio[6957]: ALERT: &lt;core&gt;
[main.c:785]: child process 6959 exited by a signal 11
Jun 27 15:46:22 PrxyDev /usr/sbin/kamailio[6957]: ALERT: &lt;core&gt;
[main.c:788]: core was not generated
"""


Thanks in advance for any tip!
DanB
</pre>
      <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>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a class="moz-txt-link-freetext" href="http://asipto.com/u/kpw">http://asipto.com/u/kpw</a></pre>
  </body>
</html>