[asterisk-bugs] [Asterisk 0015719]: [patch] Crash in ast_readaudio_callback
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Sep 10 14:18:18 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15719
======================================================================
Reported By: rgj
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15719
Category: Core/FileFormatInterface
Reproducibility: unable to reproduce
Severity: crash
Priority: normal
Status: acknowledged
Target Version: 1.4.28
Asterisk Version: 1.4.26
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-08-14 01:57 CDT
Last Modified: 2009-09-10 14:18 CDT
======================================================================
Summary: [patch] Crash in ast_readaudio_callback
Description:
We're experiencing almost-daily crashes in ast_readaudio_callback.
There seems to be corruption in the ast_filestream structure.
At first we thought it was just another appearance of issue 15616 (random
crashes) but currently we're experiencing the same crash at the same
point.
Every time it's a different agent, and a different extension. We have been
completely unable to reproduce this behaviour. It occurs at seemingly
random moments.
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
related to 0015109 [patch] Abort by memory allocator, poss...
======================================================================
----------------------------------------------------------------------
(0110499) rgj (reporter) - 2009-09-10 14:18
https://issues.asterisk.org/view.php?id=15719#c110499
----------------------------------------------------------------------
We had another crash yesterday, patch issue_15719-debug1.diff.txt was
applied
Nothing was logged since we started using the patched version
[root at g1 core]# grep "Found a non-zero" full-20090909
[root at g1 core]#
(gdb) frame 7
https://issues.asterisk.org/view.php?id=7 0x0809de53 in ast_readaudio_callback
(s=0x9ad9750) at file.c:752
752 fr = s->fmt->read(s, &whennext);
(gdb) print *s
$3 = {fmt = 0x99158a8, flags = 0, mode = 0, filename = 0x0, realfilename =
0x0, vfs = 0x0, trans = 0x0, tr = 0x0,
lastwriteformat = 0, lasttimeout = 160, owner = 0x9a85990, f =
0x9baf9d8, fr = {frametype = AST_FRAME_VOICE,
subclass = 64, datalen = 320, samples = 160, mallocd = 0,
mallocd_hdr_len = 0, offset = 64, src = 0x99158a8 "wav",
data = 0x9ada80c, delivery = {tv_sec = 0, tv_usec = 0}, frame_list =
{next = 0x0}, flags = 0, ts = 0, len = 0,
seqno = 0}, buf = 0x9ada7cc "", {_private = 0x9ada94c, private =
0x9ada94c}, orig_chan_name = 0x0,
big_waste_of_memory = '\0' <repeats 4095 times>}
See attachment crash-20090909.txt for more details
Issue History
Date Modified Username Field Change
======================================================================
2009-09-10 14:18 rgj Note Added: 0110499
======================================================================
More information about the asterisk-bugs
mailing list