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

Chris Coleman chrisc at vmunix.com
Mon Feb 15 22:29:19 CST 2010


Not a core dump that is helpful:

Core was generated by `asterisk'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000801e62828 in ?? ()
(gdb) bt
#0  0x0000000801e62828 in ?? ()
#1  0x0000000000000001 in ?? ()
#2  0x00000008030e9d90 in ?? ()
#3  0x000000000000002e in ?? ()
#4  0x000000080101b6e3 in ?? ()
#5  0x000000000000007e in ?? ()
#6  0x000000000048dd28 in ast_get_srv ()
Cannot access memory at address 0x7ffffeb6ac18
(gdb) quit


I'm sure it will core dump over night and I'll get that one, unless leaving
the debug symbols in fixes it. :-)

-Chris

On Mon, Feb 15, 2010 at 9:52 PM, Max Khon <fjoe at samodelkin.net> wrote:

> 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
>
>


-- 
Chris Coleman --  http://Podlinez.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-bsd/attachments/20100215/fcdbfedb/attachment.htm 


More information about the Asterisk-BSD mailing list