celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bjoern Petri (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CELIX-147) RSA_SHM: concurrency issue when client segfaults
Date Wed, 03 Sep 2014 04:44:51 GMT

     [ https://issues.apache.org/jira/browse/CELIX-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bjoern Petri closed CELIX-147.
------------------------------
    Resolution: Fixed

according patch has been committed.

> RSA_SHM: concurrency issue when client segfaults
> ------------------------------------------------
>
>                 Key: CELIX-147
>                 URL: https://issues.apache.org/jira/browse/CELIX-147
>             Project: Celix
>          Issue Type: Bug
>            Reporter: Bjoern Petri
>            Assignee: Bjoern Petri
>
> Assuming a RSA_SHM client segfaults after it has put a request in the shared memory block,
a signal handler could still call the remoteServiceAdmin_stop function which will unlock the
semaphore (0) for the critical area again. If the RSA_SHM server puts it reply afterwards
in the shared memory block, it can leave the sync semaphores (1,2) in an unwanted state which
could block all following RSA_SHM communication.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message