[asterisk-bugs] [Asterisk 0018925]: adjust system time to cause asterisk timer run wrong

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 8 12:43:29 CST 2011


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18925 
====================================================================== 
Reported By:                shihchuan
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18925
Category:                   Resources/res_timing_pthread
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.8.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 won't fix
Fixed in Version:           
====================================================================== 
Date Submitted:             2011-03-04 02:13 CST
Last Modified:              2011-03-08 12:43 CST
====================================================================== 
Summary:                    adjust system time to cause asterisk timer run wrong
Description: 
1. system time is "2011/3/4"
2. asterisk timer run wrong if adjust system time to "2011/3/3"
   so playback sounds fail after adjust system time

3. I enter asterisk cli "timing test" when timer run wrong
Attempting to test a timer with 50 ticks per second.
Using the 'pthread' timing module for this test.
poll() timed out!  This is bad.
poll() timed out!  This is bad.
poll() timed out!  This is bad.
poll() timed out!  This is bad.
poll() timed out!  This is bad.
poll() timed out!  This is bad.
poll() timed out!  This is bad.
poll() timed out!  This is bad.
poll() timed out!  This is bad.
poll() timed out!  This is bad.
It has been 1009 milliseconds, and we got 0 timer ticks
====================================================================== 

---------------------------------------------------------------------- 
 (0132741) lmadsen (administrator) - 2011-03-08 12:43
 https://issues.asterisk.org/view.php?id=18925#c132741 
---------------------------------------------------------------------- 
It has always been recommended that you never change the time significantly
on a running Asterisk system because all sorts of things can happen. This
is one of those cases where you shouldn't change the time of a running
system significantly. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-03-08 12:43 lmadsen        Note Added: 0132741                          
2011-03-08 12:43 lmadsen        Status                   new => closed       
2011-03-08 12:43 lmadsen        Resolution               open => won't fix   
======================================================================




More information about the asterisk-bugs mailing list