You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Nandika Jayawardana (JIRA)" <ji...@apache.org> on 2006/08/23 07:41:13 UTC

[jira] Created: (AXIS2C-230) svc_client segfaults when send_receive function is invoked multiple times on the same svc_client

svc_client segfaults when send_receive function is invoked multiple times on the same svc_client 
-------------------------------------------------------------------------------------------------

                 Key: AXIS2C-230
                 URL: http://issues.apache.org/jira/browse/AXIS2C-230
             Project: Axis2-C
          Issue Type: Bug
          Components: core/clientapi
         Environment: Linux
            Reporter: Nandika Jayawardana


segmentation fault occurs when send_receive function is called multiple times on the same svc_client .

ret_node1 = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);
ret_node2 = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-230) svc_client segfaults when send_receive function is invoked multiple times on the same svc_client

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-230?page=all ]

Samisa Abeysinghe resolved AXIS2C-230.
--------------------------------------

    Resolution: Fixed

the double addressing header problem was in the op client source.
Now it is fixed and the scenario works fine

> svc_client segfaults when send_receive function is invoked multiple times on the same svc_client
> ------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-230
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-230
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.92
>         Environment: Linux
>            Reporter: Nandika Jayawardana
>         Assigned To: Samisa Abeysinghe
>            Priority: Critical
>             Fix For: 0.94
>
>
> segmentation fault occurs when send_receive function is called multiple times on the same svc_client .
> ret_node1 = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);
> ret_node2 = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-230) svc_client segfaults when send_receive function is invoked multiple times on the same svc_client

Posted by "Nandika Jayawardana (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2C-230?page=comments#action_12429909 ] 
            
Nandika Jayawardana commented on AXIS2C-230:
--------------------------------------------

when following code of axis2_ctx_set_non_persistant_map is commented segmentation fault does not occur.

if (ctx_impl->non_persistent_map)
    {
        axis2_hash_index_t *hi = NULL;
        void *val = NULL;
        const void *key = NULL;
        for (hi = axis2_hash_first (ctx_impl->non_persistent_map, env);
            hi; hi = axis2_hash_next ( env, hi))
        {
            axis2_property_t *property = NULL;

            axis2_hash_this (hi, &key, NULL, &val);
            property = (axis2_property_t *) val;

            if(property)
            {
                AXIS2_PROPERTY_FREE(property, env);
                property = NULL;
            }

            val = NULL;
            key = NULL;
        }
        axis2_hash_free(ctx_impl->non_persistent_map, env);
        ctx_impl->non_persistent_map = NULL;
    }
But the addressing headers of the sent second message are incorrect.

> svc_client segfaults when send_receive function is invoked multiple times on the same svc_client
> ------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-230
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-230
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>         Environment: Linux
>            Reporter: Nandika Jayawardana
>
> segmentation fault occurs when send_receive function is called multiple times on the same svc_client .
> ret_node1 = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);
> ret_node2 = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-230) svc_client segfaults when send_receive function is invoked multiple times on the same svc_client

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-230?page=all ]

Samisa Abeysinghe updated AXIS2C-230:
-------------------------------------

        Fix Version/s: 1.0.0
    Affects Version/s: 0.92
             Priority: Critical  (was: Major)

> svc_client segfaults when send_receive function is invoked multiple times on the same svc_client
> ------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-230
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-230
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.92
>         Environment: Linux
>            Reporter: Nandika Jayawardana
>            Priority: Critical
>             Fix For: 1.0.0
>
>
> segmentation fault occurs when send_receive function is called multiple times on the same svc_client .
> ret_node1 = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);
> ret_node2 = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Assigned: (AXIS2C-230) svc_client segfaults when send_receive function is invoked multiple times on the same svc_client

Posted by "Samisa Abeysinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-230?page=all ]

Samisa Abeysinghe reassigned AXIS2C-230:
----------------------------------------

    Assignee: Samisa Abeysinghe

> svc_client segfaults when send_receive function is invoked multiple times on the same svc_client
> ------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2C-230
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-230
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.92
>         Environment: Linux
>            Reporter: Nandika Jayawardana
>         Assigned To: Samisa Abeysinghe
>            Priority: Critical
>             Fix For: 0.94
>
>
> segmentation fault occurs when send_receive function is called multiple times on the same svc_client .
> ret_node1 = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);
> ret_node2 = AXIS2_SVC_CLIENT_SEND_RECEIVE(svc_client, env, payload);

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org