axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dumindu Pallewela (JIRA)" <>
Subject [jira] Updated: (AXIS2C-303) axis2_thread_mutex_destroy returns failure on destroying mutexes
Date Sun, 24 Sep 2006 12:39:23 GMT
     [ ]

Dumindu Pallewela updated AXIS2C-303:

    Attachment: thread_mutex_free

Certain functions in conf_ctx.c calls axis2_thread_mutex_unlock (which in turn calls pthread_mutex_unlock)
on the same mutex twice. Behaviour of  pthread_mutex_unlock on an already unlocked mutex is

Attached patch fixes this problem. It also makes the memory leak reported by valgrind to dissapear.

Please review and apply the patch.

Thank you,

> axis2_thread_mutex_destroy returns failure on destroying mutexes
> ----------------------------------------------------------------
>                 Key: AXIS2C-303
>                 URL:
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: platforms/unix
>    Affects Versions: Current (Nightly)
>         Environment: pthreads
>            Reporter: Dumindu Pallewela
>         Attachments: thread_mutex_free
> The call to axis2_thread_mutex_destroy fails due to the failure occured in pthread_mutex_destroy
in thread_unix.c:axis2_thread_mutex_destroy. Hence the memory allocated for the mutex is also
not free'd.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message