I am able to reproduce an access violation in wcclient.exe when specifying redirect = true in my request.
Faulting application wcclient.exe, version 0.0.0.0, time stamp 0x474e1240, faulting module wcclient.exe, version 0.0.0.0, time stamp 0x474e1240, exception code 0xc0000005, fault offset 0x00006bf9, process id 0x143c, application start time 0x01c9aa9adf3caddf.
Client environment: WIndows Vista SP1
I open up 2 admin prompts, and run the following in each:
/////////////////////////////////////////////////////////////////
//
// All requests inherit the settings from the default request.
// Defaults are overridden if specified in the request itself.
//
/////////////////////////////////////////////////////////////////
default
{
// send keep-alive header
setheader
{
name = "Connection";
value = "keep-alive";
}
// set the host header
setheader
{
name = "Host";
value = server();
}
// HTTP1.1 request
version = HTTP11;
// keep the connection alive after the request
close = ka;
}
//
// This script is made for IIS7
//
transaction
{
id = "Default Web Site Homepage";
weight = 1;
1 Post
wcat access violation when redirect specified
Mar 21, 2009 11:28 PM|watersjohn|LINK
I am able to reproduce an access violation in wcclient.exe when specifying redirect = true in my request.
Faulting application wcclient.exe, version 0.0.0.0, time stamp 0x474e1240, faulting module wcclient.exe, version 0.0.0.0, time stamp 0x474e1240, exception code 0xc0000005, fault offset 0x00006bf9, process id 0x143c, application start time 0x01c9aa9adf3caddf.
Client environment: WIndows Vista SP1
I open up 2 admin prompts, and run the following in each:
scenario.txt as follows:
scenario
{
name = "IIS Home Page";
warmup = 30;
duration = 120;
cooldown = 10;
/////////////////////////////////////////////////////////////////
//
// All requests inherit the settings from the default request.
// Defaults are overridden if specified in the request itself.
//
/////////////////////////////////////////////////////////////////
default
{
// send keep-alive header
setheader
{
name = "Connection";
value = "keep-alive";
}
// set the host header
setheader
{
name = "Host";
value = server();
}
// HTTP1.1 request
version = HTTP11;
// keep the connection alive after the request
close = ka;
}
//
// This script is made for IIS7
//
transaction
{
id = "Default Web Site Homepage";
weight = 1;
request
{
url = "/default.aspx";
redirect = true;
authentication = NTLM;
username= "domain\\username";
password = "password";
}
//
// specifically close the connection after both files are requested
//
close
{
method = reset;
}
}
}
I caught this in windbg, and got the following:
FAULTING_IP:
wcclient+6bf9
00616bf9 8b08 mov ecx,dword ptr [eax]
EXCEPTION_RECORD: ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 00616bf9 (wcclient+0x00006bf9)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 00000000
Parameter[1]: 33362e30
Attempt to read from address 33362e30
FAULTING_THREAD: 00000c0c
DEFAULT_BUCKET_ID: INVALID_POINTER_READ
PROCESS_NAME: wcclient.exe
ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
READ_ADDRESS: 33362e30
NTGLOBALFLAG: 0
APPLICATION_VERIFIER_FLAGS: 0
PRIMARY_PROBLEM_CLASS: INVALID_POINTER_READ
BUGCHECK_STR: APPLICATION_FAULT_INVALID_POINTER_READ
LAST_CONTROL_TRANSFER: from 006186bd to 00616bf9
STACK_TEXT:
WARNING: Stack unwind information not available. Following frames may be wrong.
005ef684 006186bd 33362e30 00481f20 0016af78 wcclient+0x6bf9
005ef69c 00620d6c 00481f20 0016eb90 0016af78 wcclient+0x86bd
005ef6bc 00621324 00481f20 0052c794 0016af78 wcclient+0x10d6c
005ef778 0062444d 0016af78 00481f20 00000000 wcclient+0x11324
005efbec 00627706 0016af78 00482c38 0016af7c wcclient+0x1444d
005efc1c 775d4911 0016af50 005efc68 7745e4b6 wcclient+0x17706
005efc28 7745e4b6 0016af50 7749e3dd 00000000 kernel32!BaseThreadInitThunk+0xe
005efc68 7745e489 00627680 0016af50 00000000 ntdll!__RtlUserThreadStart+0x23
005efc80 00000000 00627680 0016af50 00000000 ntdll!_RtlUserThreadStart+0x1b
FOLLOWUP_IP:
wcclient+6bf9
00616bf9 8b08 mov ecx,dword ptr [eax]
SYMBOL_STACK_INDEX: 0
SYMBOL_NAME: wcclient+6bf9
FOLLOWUP_NAME: MachineOwner
MODULE_NAME: wcclient
IMAGE_NAME: wcclient.exe
DEBUG_FLR_IMAGE_TIMESTAMP: 474e1240
STACK_COMMAND: ~2s ; kb
FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_wcclient.exe!Unknown
BUCKET_ID: APPLICATION_FAULT_INVALID_POINTER_READ_wcclient+6bf9
Followup: MachineOwner
Apologies if this is too long for a post, but wanted to be as complete as I could.
6 Posts
Re: wcat access violation when redirect specified
Nov 24, 2011 03:56 AM|Azura|LINK
Is WCAT eliminated?