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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Mar 18 23:12:52 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14697 
====================================================================== 
Reported By:                moy
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14697
Category:                   Resources/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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-18 23:12 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-18 23:12 moy            New Issue                                    
2009-03-18 23:12 moy            Asterisk Version          => SVN             
2009-03-18 23:12 moy            Regression                => No              
2009-03-18 23:12 moy            SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
2009-03-18 23:12 moy            SVN Revision (number only!) => 183101          
======================================================================




More information about the asterisk-bugs mailing list