[asterisk-bugs] [Asterisk 0014697]: race condition in res/timing_* interfaces
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Mar 26 18:21:15 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14697
======================================================================
Reported By: moy
Assigned To: kpfleming
======================================================================
Project: Asterisk
Issue ID: 14697
Category: Resources/General
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!): 183101
Request Review:
======================================================================
Date Submitted: 2009-03-18 23:12 CDT
Last Modified: 2009-03-26 18:21 CDT
======================================================================
Summary: race condition in res/timing_* interfaces
Description:
While doing some testing with trunk it seems I hit a race condition where
ast_timer_open() is being called and handled by the DAHDI timing interface,
but then before ast_timer_ack gets called, another timing interface gets
registered and when ast_timer_ack gets called the timerfd interface handles
the call and the file descriptor is therefore not valid for that module (in
this case the resulting error is invalid argument.
======================================================================
----------------------------------------------------------------------
(0102280) kpfleming (administrator) - 2009-03-26 18:21
http://bugs.digium.com/view.php?id=14697#c102280
----------------------------------------------------------------------
Actually, there are even worse problems here than what you've noted... I'm
working on a solution, stay tuned.
Issue History
Date Modified Username Field Change
======================================================================
2009-03-26 18:21 kpfleming Note Added: 0102280
======================================================================
More information about the asterisk-bugs
mailing list