[asterisk-bugs] [Asterisk 0017686]: Asterisk crashing in ast_readaudio_callback at file.c:762
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri Jul 30 06:15:17 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17686
======================================================================
Reported By: jhoppebugs
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17686
Category: General
Reproducibility: random
Severity: crash
Priority: normal
Status: closed
Asterisk Version: 1.6.2.9
JIRA: SWP-1945
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version: 1.6.2.10
======================================================================
Date Submitted: 2010-07-22 12:43 CDT
Last Modified: 2010-07-30 06:15 CDT
======================================================================
Summary: Asterisk crashing in ast_readaudio_callback at
file.c:762
Description:
Program terminated with signal 11, Segmentation fault.
https://issues.asterisk.org/view.php?id=0 0x080d54db in ast_readaudio_callback
(s=0xb358d5e8) at file.c:762
762 if (s->owner->timingfd > -1) {
https://issues.asterisk.org/view.php?id=0 0x080d54db in ast_readaudio_callback
(s=0xb358d5e8) at file.c:762
whennext = 160
__PRETTY_FUNCTION__ = "ast_readaudio_callback"
https://issues.asterisk.org/view.php?id=1 0x080d56ef in ast_fsread_audio
(data=0xb358d5e8) at file.c:789
fs = 0xb358d5e8
res = FSREAD_SUCCESS_SCHED
https://issues.asterisk.org/view.php?id=2 0x08098a76 in __ast_read
(chan=0xb59b72f8, dropaudio=0) at
channel.c:2784
func = 0x80d56d8 <ast_fsread_audio>
data = 0xb358d5e8
res = AST_TIMING_EVENT_EXPIRED
f = 0x0
blah = -1255758064
prestate = 6
count = 0
cause = 0
__PRETTY_FUNCTION__ = "__ast_read"
https://issues.asterisk.org/view.php?id=3 0x0809a539 in ast_read
(chan=0xb59b72f8) at channel.c:3163
No locals.
======================================================================
----------------------------------------------------------------------
(0125370) lmadsen (administrator) - 2010-07-30 06:15
https://issues.asterisk.org/view.php?id=17686#c125370
----------------------------------------------------------------------
2010-07-22 Leif Madsen <lmadsen at digium.com>
* Release Asterisk 1.6.2.10
* Included a fix for res_timing_pthread per the description below:
r278465 | russell | 2010-07-21 11:15:00 -0500 (Wed, 21 Jul 2010) | 41
lines
Use poll() instead of select() in res_timing_pthread to avoid stack
corruption.
This code did not properly check FD_SETSIZE to ensure that it did not
try to
select() on fds that were too large. Switching to poll() removes the
limitation
on the maximum fd value.
Issue History
Date Modified Username Field Change
======================================================================
2010-07-30 06:15 lmadsen Note Added: 0125370
======================================================================
More information about the asterisk-bugs
mailing list