Link Copied
Hi,
Whichfunction are you usinghere? Which version of SDK?
Thanks,
Sree
bool status = SetListenerState(soap, true, false, verbose); // enable listener
IMRVersion version;
IMR_Init(&version, ".RedirectionConfig.ini");
IMR_RemoveAllClients();
IMR_AddClient(
tls ? CLI_TLS : CLI_TCP,
host,
NULL,
&client_id);
TCPSessionParams params;
// !! use a fake user to get the IMR_RES_AUTH_FAILED error.
strcpy(params.user_name, "fakeuser");
strcpy(params.user_pswd, "FakePassword1!");
for (int i = 0; i < 10; i ++)
{
// !! access violation after this statement, but in another thread
res = IMR_SOLOpenTCPSession(client_id, ¶ms, NULL, NULL);
if (res == IMR_RES_AUTH_FAILED)
{
printf("IMR_RES_AUTH_FAILED (expected) ");
}
int pause_ms = 2000;
Sleep(pause_ms);
}
res = IMR_RemoveClient(client_id);
res = IMR_Close();
Hi and sorry for the delay-
Our SDK Development team has tried to reproduce the problem with the same code that you provided: open SOL in loop with wrong Authentication. They could not reproduce the issue.Theywere usingimrsdk.dll from SDK 3.0 (3.0 148862) with Santa Rosa without TLS (as you did). They even tried it with the newest DLL not yet ready for pubic download - still couldn't reprodude it.
Do you have another thread running that may be interfering with your AMT code? Do you have any more information you can send?
imrsdk.dll!014377ae()
[Frames below may be incorrect and/or missing, no symbols loaded for imrsdk.dll]
imrsdk.dll!01407b88()
imrsdk.dll!0142c607()
ntdll.dll!_RtlImageNtHeaderEx@20() + 0x9d bytes
ntdll.dll!_RtlImageNtHeader@4() + 0x1b bytes
ntdll.dll!_RtlImageNtHeaderEx@20() + 0x9d bytes
0341f794()
ntdll.dll!_bsearch() + 0x63 bytes
ntdll.dll!_ARRAY_FITS@16() + 0x29 bytes
ntdll.dll!_RtlpLocateActivationContextSection@20() + 0xd8 bytes
c0150008()
ntdll.dll!_RtlFindNextActivationContextSection@16() + 0x5a bytes
ntdll.dll!_RtlFindActivationContextSectionString@20() + 0xdd bytes
ntdll.dll!_WinSqmAddToStream@16() - 0x466c9 bytes
ntdll.dll!__except_list() - 0x45d40 bytes
ntdll.dll!77943157()
Without the symbols the stack looks much more longer:
imrsdk.dll!00bc77ae()
[Frames below may be incorrect and/or missing, no symbols loaded for imrsdk.dll]
// [...] a lot of other calls here, removed.
ntdll.dll!7c82f9dd()
imrsdk.dll!00c3bf11()
imrsdk.dll!00c3bf16()
imrsdk.dll!00bbc28f()
imrsdk.dll!00c3ab2d()
imrsdk.dll!00c3a9a9()
imrsdk.dll!00c3e926()
kernel32.dll!77e66063()
MADgtholmes:
What version of gsoap are you using? Are you using the version that is included in the SDK?
MADgtholmes:
I have sent your last bit of information on, but I'm wondering if we can try to figure this out sooner. Are you building a debug version of your application? It looks like from above you only have debug symbols for NTDLL? Getting as many symbols as possible could help speed this up.
MADgtholmes:
Is there a chance you can run a thread checker utility against the problem code?
MADgtholmes:
Have you installed SP1 for Vista? I know that for many things Vista has been problematic so maybe (I'm hoping) that SP1 will solve some issues.
sites are source of information and knowledge.this is one of them.i read all the post and like it so much.I book mark it and mail all of my friends to must check it.so thanks on this nice sharing, |
For more complete information about compiler optimizations, see our Optimization Notice.