[jira] [Created] (AXIS2C-1663) Race condition in axutil_dir_handler_list_service_or_module_dirs

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (AXIS2C-1663) Race condition in axutil_dir_handler_list_service_or_module_dirs

JIRA jira@apache.org
mehturt created AXIS2C-1663:
-------------------------------

             Summary: Race condition in axutil_dir_handler_list_service_or_module_dirs
                 Key: AXIS2C-1663
                 URL: https://issues.apache.org/jira/browse/AXIS2C-1663
             Project: Axis2-C
          Issue Type: Bug
    Affects Versions: 1.6.0
            Reporter: mehturt


I'm calling a web service from multiple threads using the sample code provided (axis2_svc_client_send_receive). When the web service is invoked in parallel in multiple threads, the current working directory of the process changes.  I was able to track this down and I think the problem is in function axutil_dir_handler_list_service_or_module_dirs() which performs getcwd and then changes directory to somewhere and back.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]