Bugzilla – Bug 981
grid-proxy-info sometimes hangs.
Last modified: 2008-08-11 15:16:26
You need to log in before you can comment on or make changes to this bug.
* The contents of Bug Below the condition, globus-job-run and globus-job-submit sometimes hang. (about once of five times) grid-proxy-info module is compiled with "gcc32dbgpthr" flavor. * The detail of contents In my investigation, the globus-job-run executes the grid-proxy-info command and the grid-proxy-info hangs sometimes. I debugged the grid-proxy-info process using "strace" command and noticed that the child process (that were created by grid-proxy-info as threads) did not put in order. The grid-proxy-info calls globus_module_activate() function (that calls pthread_create(3)) two times. But it calls globus_module_deactivate() function only once for GLOBUS_GSI_PROXY_MODULE. Therefore, the child process (that creates pthread_create(3)) hungs up for waiting from parents process's action. * Fix method Change the source. Following is a patch for globus_proxy_utils-0.6/programs/grid_proxy_info.c --- grid_proxy_info.c.org Wed Jan 22 07:12:15 2003 +++ grid_proxy_info.c Thu Jun 5 09:52:24 2003 @@ -607,6 +607,7 @@ free(issuer); free(identity); + globus_module_deactivate(GLOBUS_OPENSSL_MODULE); globus_module_deactivate(GLOBUS_GSI_PROXY_MODULE); return (is_valid);
I've committed your fix to CVS and will put out a update package once I've run everything through some tests. Thanks /Sam
Update package now available