Bug 3027 - Seeing multiple instances of "Insane number of timers"
: Seeing multiple instances of "Insane number of timers"
Status: CLOSED FIXED
Product: MySqueezebox.com
Classification: Unclassified
Component: SlimService
: Prod
: All All
: P2 normal (vote)
: ---
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-18 13:37 UTC by Dan Sully
Modified: 2008-12-15 12:15 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Sully 2006-02-18 13:37:50 UTC
2006-02-18 06:26:25.9008 Backtrace:                                                                                                                        
                                                                                                                                                           
   frame 0: Slim::Player::Source::openSongSlimService (/home/svcprod/ss/Orbital-42/service/Slim/Player/Source.pm line 858)                                 
   frame 1: Slim::Player::Source::gotoNext (/home/svcprod/ss/Orbital-42/service/Slim/Player/Source.pm line 342)                                            
   frame 2: Slim::Player::Source::playmode (/home/svcprod/ss/Orbital-42/service/Slim/Player/Source.pm line 766)                                            
   frame 3: Slim::Player::Source::jumpto (/home/svcprod/ss/Orbital-42/service/../base/Slim/Control/Commands.pm line 555)                                   
   frame 4: Slim::Control::Commands::playlistJumpCommand (/home/svcprod/ss/Orbital-42/service/../base/Slim/Control/Request.pm line 1263)                   
   frame 5: (eval) (/home/svcprod/ss/Orbital-42/service/../base/Slim/Control/Request.pm line 1263)                                                         
   frame 6: Slim::Control::Request::execute (/home/svcprod/ss/Orbital-42/service/../base/Slim/Control/Request.pm line 614)                                 
   frame 7: Slim::Control::Request::executeRequest (/home/svcprod/ss/Orbital-42/service/Slim/Player/Client.pm line 1020)                                   
   frame 8: Slim::Player::Client::execute (/home/svcprod/ss/Orbital-42/service/Slim/Buttons/TrackInfo.pm line 63)                                          
   frame 9: Slim::Buttons::TrackInfo::__ANON__ (/home/svcprod/ss/Orbital-42/service/../base/Slim/Hardware/IR.pm line 704)                                  
   frame 10: Slim::Hardware::IR::executeButton (/home/svcprod/ss/Orbital-42/service/../base/Slim/Control/Commands.pm line 139)                             
   frame 11: Slim::Control::Commands::buttonCommand (/home/svcprod/ss/Orbital-42/service/../base/Slim/Control/Request.pm line 1263)                        
   frame 12: (eval) (/home/svcprod/ss/Orbital-42/service/../base/Slim/Control/Request.pm line 1263)                                                        
   frame 13: Slim::Control::Request::execute (/home/svcprod/ss/Orbital-42/service/../base/Slim/Control/Request.pm line 614)                                
   frame 14: Slim::Control::Request::executeRequest (/home/svcprod/ss/Orbital-42/service/Slim/Player/Client.pm line 1020)                                  
   frame 15: Slim::Player::Client::execute (/home/svcprod/ss/Orbital-42/service/../base/Slim/Hardware/IR.pm line 717)                                      
   frame 16: Slim::Hardware::IR::processCode (/home/svcprod/ss/Orbital-42/service/../base/Slim/Hardware/IR.pm line 580)                                    
   frame 17: Slim::Hardware::IR::releaseCode (/home/svcprod/ss/Orbital-42/service/../base/Slim/Hardware/IR.pm line 468)                                    
   frame 18: Slim::Hardware::IR::checkRelease (/home/svcprod/ss/Orbital-42/service/Slim/Utils/Timers.pm line 152)                                          
   frame 19: Slim::Utils::Timers::checkTimers (/home/svcprod/ss/Orbital-42/service/slimservice.pl line 370)                                                
   frame 20: main::idle (/home/svcprod/ss/Orbital-42/service/slimservice.pl line 325)                                                                      
   frame 21: main::main (/home/svcprod/ss/Orbital-42/service/slimservice.pl line 588)

2006-02-18 06:26:25.9048 ERROR: execute: Error when trying to run coderef: [Insane number of timers: 501]

2006-02-18 06:26:25.9051 Request: Command [00:04:20:06:35:5a->playlist jump] (Dispatchable)                                                                
2006-02-18 06:26:25.9052    Param: [_index] = [0]                                                                                                          
Insane number of timers: 501                                                                                                                               
2006-02-18 06:26:26.1614 Disconnecting all clients from 192.168.254.2:3529
Comment 1 Andy Grundman 2006-03-02 08:06:35 UTC
Committed a patch that makes sure all killed timers are removed.  I have a hunch this code was not actually removing all killed timers, since it only checks the front of the array.

while (defined($high_timer) && ($high_timer->{'killed'})) {
    $high_timer = shift(@highTimers);
}
Comment 2 Andy Grundman 2006-03-03 08:13:19 UTC
Added more code to remove killed timers before we give up and die.
Comment 3 James Richardson 2008-12-15 12:15:20 UTC
This bug has been fixed in the latest release of SqueezeNetwork!

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.