Hi

During a Windows reservation Windows.pm:get_network_configuration sub gets into 
endless loop while "checking if devices still appear to be initializing before 
retrieving network configuration". It happens when tasklist returns an error.
 
There is no break in "while (++$initialization_check)" loop on line 5582.
 
Snap of error log is below as well as diff for a possible fix (which works OK).
(This is in VCL 2.3)

2012-08-30 
12:11:47|29784|25987:25895|new|Windows.pm:get_network_configuration(5584)|attempt
 52/12: checking if devices still appear to be initializing before retrieving 
network configuration
|29784|25987:25895|new| ---- WARNING ---- 
|29784|25987:25895|new| 2012-08-30 
12:11:50|29784|25987:25895|new|Windows.pm:get_task_info(7391)|failed to run 
tasklist.exe, exit status: 1, output:
|29784|25987:25895|new| ERROR: Invalid class
|29784|25987:25895|new| ( 0) Windows.pm, get_task_info (line: 7391)
|29784|25987:25895|new| (-1) Windows.pm, get_network_configuration (line: 5585)
|29784|25987:25895|new| (-2) OS.pm, get_private_interface_name (line: 1043)
|29784|25987:25895|new| (-3) OS.pm, get_private_network_configuration (line: 
1280)
|29784|25987:25895|new| (-4) (eval 18495), (eval) (line: 1)
|29784|25987:25895|new| (-5) OS.pm, get_ip_address (line: 1427)
|29784|25987:25895|new| ---- WARNING ---- 
|29784|25987:25895|new| 2012-08-30 
12:11:50|29784|25987:25895|new|Windows.pm:get_network_configuration(5587)|attempt
 52/12: unable to determine if devices are still being initialized, task 
information could not be retrieved, sleeping for 10 seconds
|29784|25987:25895|new| ( 0) Windows.pm, get_network_configuration (line: 5587)
|29784|25987:25895|new| (-1) OS.pm, get_private_interface_name (line: 1043)
|29784|25987:25895|new| (-2) OS.pm, get_private_network_configuration (line: 
1280)
|29784|25987:25895|new| (-3) (eval 18495), (eval) (line: 1)
|29784|25987:25895|new| (-4) OS.pm, get_ip_address (line: 1427)
|29784|25987:25895|new| (-5) OS.pm, get_private_ip_address (line: 1486)

# diff Windows.pm Windows.pm-BKP-2012-08-30 
5582c5582
<       while (++$initialization_check <= $initialization_check_limit) {
---
>       while (++$initialization_check) {

--
Thank you,

Dmitri Chebotarov
Virtual Computing Lab Systems Engineer, TSD - Ent Servers & Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175
Fax: (703) 993-3404




Reply via email to