Welcome to Windows HPC Community Sign in | Join | Help
in Search

Intermittent StackOverflowException when CCPAPI should prompt for credentials

Last post 08-14-2007, 5:52 AM by jmp. 0 replies.
Sort Posts: Previous Next
  •  08-14-2007, 5:52 AM 1534

    • jmp is not online. Last active: 08-30-2007, 4:43 AM jmp
    • Top 100 Contributor
    • Joined on 04-10-2007
    • Canberra, Australia
    • Posts 4

    Intermittent StackOverflowException when CCPAPI should prompt for credentials

    Hi,

    I use the CcpApi to build and submit jobs. I get intermitent stack overflow exceptions when the Api prompts the user for username/password. The issue cannot  be reproduced systematically, i.e. for the very same  program and arguments, it may or may not occur. I have had several time this issue running the program on an XP box, somehow never as yet when run on a Windows2003 server.

    This is not a blocker for me, but I thought I'd give some feedback below for info.

    Cheers,
    J-M

    System.StackOverflowException was unhandled

    An extract of the call stack looks like:

         [Managed to Native Transition]   
         CcpAPI.dll!Microsoft.ComputeCluster.Credentials.PromptForCredentials(string target = "MYCLUSTERHEAD", ref string username = null, ref System.Security.SecureString password = {System.Security.SecureString}, ref bool fSave = false, bool fConsole = true, System.IntPtr hwndParent = 0, Microsoft.ComputeCluster.CredentialNativeMethods.CREDUI_FLAGS flags = DO_NOT_PERSIST | EXCLUDE_CERTIFICATES | SHOW_SAVE_CHECK_BOX | ALWAYS_SHOW_UI | GENERIC_CREDENTIALS) + 0xff bytes   
         CcpAPI.dll!Microsoft.ComputeCluster.Credentials.PromptForCredentials(string target = "MYCLUSTERHEAD", ref string username = null, ref System.Security.SecureString password = {System.Security.SecureString}, ref bool fSave = false, bool fConsole = true, System.IntPtr hwndParent = 0) + 0x39 bytes   
         CcpAPI.dll!Microsoft.ComputeCluster.Cluster.ProcessOperation(Microsoft.ComputeCluster.Cluster.OperationInfo info = {Microsoft.ComputeCluster.Cluster.OperationInfo}) + 0xf0 bytes   
         CcpAPI.dll!Microsoft.ComputeCluster.Cluster.QueueJob(Microsoft.ComputeCluster.IJob job = {Microsoft.ComputeCluster.Job}, string userName = null, string password = null, bool isConsole = true, int hwndParent = 0) + 0x97 bytes   
    >    JobManager.dll!JobManager.ClusterFacade.QueueJob(Microsoft.ComputeCluster.ITask[] tasks = {Dimensions:[28]}, string jobName = "Job 08/14/2007 19:34:19") Line 47 + 0x19 bytes    C#
         JobManager.dll!JobManager.ClusterFacade.QueueJob(Microsoft.ComputeCluster.ITask[] tasks = {Dimensions:[28]}) Line 30 + 0xe bytes    C#
         JobManager.dll!JobManager.ClusterFacade.QueueJobAndWaitForFinish(Microsoft.ComputeCluster.ITask[] tasks = {Dimensions:[28]}, int secondsBetweenQueries = 15) Line 53 + 0x9 bytes    C#




View as RSS news feed in XML
©2006 Microsoft Corporation. All rights reserved. Terms of Use |Trademarks |Privacy Statement
Powered by Community Server, by Telligent Systems