[asterisk-bugs] [Asterisk 0014697]: race condition in res/timing_* interfaces

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Mar 26 18:20:51 CDT 2009


The following issue has been ASSIGNED. 
====================================================================== 
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:20 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-26 18:20 kpfleming      Status                   new => assigned     
2009-03-26 18:20 kpfleming      Assigned To               => kpfleming       
======================================================================




More information about the asterisk-bugs mailing list