[Asterisk-bsd] Segfault on FBSD 7.2 and Asterisk 1.4.26.2

Max Khon fjoe at samodelkin.net
Mon Feb 15 21:52:45 CST 2010


Hello, Chris!

On Tue, Feb 16, 2010 at 5:12 AM, Chris Coleman <chrisc at vmunix.com> wrote:


> I'm running Asterisk on FBSD 7.2 using only SIP incoming DIDs.  I'm also
> using unixODBC to connect to a postgres DB.   I'm running asterisk from
> ports.
>
> Here is my system info:
>
> Asterisk 1.4.26.2, Copyright (C) 1999 - 2008 Digium, Inc. and others.
>
> FreeBSD kvm10.podlinez.lan 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri
> Oct  2 08:22:32 UTC 2009     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>  amd64
>
>
> I'm getting very frequent core dumps, so I've rebuilt asterisk with -g3 to
> enable debug.  I've also ran it with valgrind and attached it to the e-mail.
>
> Here is the Summary:
>
> ==30746==    definitely lost: 28,597 bytes in 75 blocks
> ==30746==    indirectly lost: 143,559 bytes in 308 blocks
> ==30746==      possibly lost: 6,119,992 bytes in 98,335 blocks
> ==30746==    still reachable: 3,169,594 bytes in 37,091 blocks
> ==30746==         suppressed: 0 bytes in 0 blocks
>
> It seems like it has a memory leak that is causing the problem.
>
> In my experience, it dies trying to do a DB call.
>

The leak does not seem to be big enough to cause any problems. Do you have a
core files and can you show the stack trace?

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-bsd/attachments/20100216/210b7475/attachment.htm 


More information about the Asterisk-BSD mailing list