[asterisk-bugs] [JIRA] (ASTERISK-23328) Asterisk crash in ast_cdr_setapp() at cdr.c
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Mon Feb 24 09:00:08 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215426#comment-215426 ]
Rusty Newton edited comment on ASTERISK-23328 at 2/24/14 8:59 AM:
------------------------------------------------------------------
Here's *chan->cdr from frame 1
{noformat}
(gdb) p *chan->cdr
$1 = {clid = "\"HodoninCC 680\" <680>", '\000' <repeats 58 times>, src = "680", '\000' <repeats 76 times>, dst = "s", '\000' <repeats 78 times>,
dcontext = "from-internal", '\000' <repeats 66 times>, channel = "SIP/680-000450bb", '\000' <repeats 63 times>, dstchannel = '\000' <repeats 79 times>,
lastapp = '\000' <repeats 79 times>, lastdata = '\000' <repeats 79 times>, start = {tv_sec = 1392806826, tv_usec = 732459}, answer = {tv_sec = 0, tv_usec = 0}, end = {
tv_sec = 0, tv_usec = 0}, duration = 0, billsec = 0, disposition = 1, amaflags = 3, accountcode = '\000' <repeats 19 times>, peeraccount = '\000' <repeats 19 times>,
flags = 0, uniqueid = "1392806826.1483360", '\000' <repeats 131 times>, linkedid = "1392806808.1483074", '\000' <repeats 13 times>, userfield = '\000' <repeats 255 times>,
sequence = 1942255, varshead = {first = 0x9e56208, last = 0x9e56208}, next = 0x0}
{noformat}
was (Author: hajekd):
Here's *chan->cdr from frame 1
(gdb) p *chan->cdr
$1 = {clid = "\"HodoninCC 680\" <680>", '\000' <repeats 58 times>, src = "680", '\000' <repeats 76 times>, dst = "s", '\000' <repeats 78 times>,
dcontext = "from-internal", '\000' <repeats 66 times>, channel = "SIP/680-000450bb", '\000' <repeats 63 times>, dstchannel = '\000' <repeats 79 times>,
lastapp = '\000' <repeats 79 times>, lastdata = '\000' <repeats 79 times>, start = {tv_sec = 1392806826, tv_usec = 732459}, answer = {tv_sec = 0, tv_usec = 0}, end = {
tv_sec = 0, tv_usec = 0}, duration = 0, billsec = 0, disposition = 1, amaflags = 3, accountcode = '\000' <repeats 19 times>, peeraccount = '\000' <repeats 19 times>,
flags = 0, uniqueid = "1392806826.1483360", '\000' <repeats 131 times>, linkedid = "1392806808.1483074", '\000' <repeats 13 times>, userfield = '\000' <repeats 255 times>,
sequence = 1942255, varshead = {first = 0x9e56208, last = 0x9e56208}, next = 0x0}
> Asterisk crash in ast_cdr_setapp() at cdr.c
> -------------------------------------------
>
> Key: ASTERISK-23328
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23328
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: CDR/cdr_adaptive_odbc, CDR/General
> Affects Versions: 1.8.25.0
> Environment: OS: Linux CentOS 5.5
> Kernel: 2.6.18-348.16.1.el5PAE
> Hardware: Dell PowerEdge R210 II
> Reporter: David Hajek
> Assignee: Matt Jordan
> Severity: Critical
> Attachments: backtrace.txt, callfile.txt
>
>
> We are experiencing random asterisk crash (segfaults) on a busy server, which is doing about 50k calls a day. We see asterisk crash every other day.
> This server is running a callcenter and in addition to regular in/out calls this server is processing callfiles (about 3 per second). Some AGI dialplan scripts are processed using FastAGI over tcp sockets.
> We see that all crashes are in ast_cdr_setapp() - we tried both 1.8.24 and 1.8.25.
> For CDR we use cdr_adaptive_odbc with MySQL backend.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list