[OpenSIPS-Users] random segfaults without generating core file

Duane Larson duane.larson at gmail.com
Thu Dec 9 17:21:42 CET 2010


And you're sure you have enabled Core dumps in the /etc/init.d/opensips
file?

if test "$DUMP_CORE" = "yes" ; then
    # set proper ulimit
    ulimit -c unlimited
    # directory for the core dump files
    COREDIR=/home/opensips/corefiles
     [ -d $COREDIR ] || mkdir $COREDIR
     chmod 777 $COREDIR
     echo "$COREDIR/core.%e.sig%s.%p" > /proc/sys/kernel/core_pattern
fi

On Thu, Dec 9, 2010 at 9:31 AM, Bobby Smith <bobby.smith at gmail.com> wrote:

> Greetings,
>
> We're encountering an issue on 1.6 trunk where we're receiving random
> segmentation faults that DO NOT generate cores.
>
> I've had a couple of segfaults (which I've posted to the list) that have
> resulted in core dumps, but doing a dmesg:
>
>  opensips[28467]: segfault at 0000000000000010 rip 00002b0ea5b92e79 rsp
> 00007fffa7dd7080 error 4
> opensips[8587]: segfault at 0000000000000010 rip 00002ae8797c3e79 rsp
> 00007fffb83cc080 error 4
> opensips[13853]: segfault at 0000000000000010 rip 00002b147aadee79 rsp
> 00007fff37fc2c90 error 4
> opensips[23692]: segfault at 0000000000000010 rip 00002b7c7d9bce79 rsp
> 00007fff71b0cea0 error 4
> opensips[26753]: segfault at 0000000000000010 rip 00002abd2f30be79 rsp
> 00007ffffed97870 error 4
> opensips[27697]: segfault at 0000000000000010 rip 00002aae52261e79 rsp
> 00007fffa90ebd30 error 4
> opensips[13233]: segfault at 0000000000000010 rip 00002ad495261e79 rsp
> 00007fff224559b0 error 4
> opensips[2168]: segfault at 0000000000000010 rip 00002ab01f40be79 rsp
> 00007fff622a54f0 error 4
> opensips[9084]: segfault at 0000000000000010 rip 00002b4bba9f7e79 rsp
> 00007fffa884f4d0 error 4
> opensips[21966]: segfault at 0000000000000010 rip 00002b823ff9ae79 rsp
> 00007fff6e81b370 error 4
>
>
> This seems to happening fairly regularly (once a day).  The latest
> occurrence was on a machine that was under 0% load (once a minute periodic
> OPTIONS health checks from sipsak, and that's it).
>
> http://pastebin.com/RmVVW8N7
>
> Any ideas of how to track this issue down?
>
> Thanks,
> Bobby Smith
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20101209/820f3340/attachment.htm>


More information about the Users mailing list