[asterisk-bugs] [Asterisk 0017739]: Asterisk crashes with a segmentation fault in timing.c [ast_timer_ack]
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Jul 28 13:46:45 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=17739
======================================================================
Reported By: jhoppebugs
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17739
Category: General
Reproducibility: random
Severity: crash
Priority: normal
Status: new
Asterisk Version: Older 1.6.2 - please test a newer version
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-07-28 13:07 CDT
Last Modified: 2010-07-28 13:46 CDT
======================================================================
Summary: Asterisk crashes with a segmentation fault in
timing.c [ast_timer_ack]
Description:
This issue has happened twice, both backtrace.txt files are attached.
Possible Clue: So far this issue only happens about 10 - 11 hours after we
restart asterisk or stop and start asterisk. Two days in a row, we would
restart asterisk at mid-night then between 10:00 am to 11:00 am we would
get the error that crashes Asterisk. If we don't restart asterisk we can
go days without a crash.
FYI - other crashes we have had over the last two weeks are issues,
0017686 and 0017687.
======================================================================
----------------------------------------------------------------------
(0125216) lmadsen (administrator) - 2010-07-28 13:46
https://issues.asterisk.org/view.php?id=17739#c125216
----------------------------------------------------------------------
Really?
Per your backtrace:
https://issues.asterisk.org/view.php?id=4 0x00a65a7e in do_timing (arg=0x0) at
res_timing_pthread.c:468
Per the 1.6.2.10 ChangeLog:
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-28 13:46 lmadsen Note Added: 0125216
======================================================================
More information about the asterisk-bugs
mailing list