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] [Created] (CELIX-147) RSA_SHM: concurrency issue when client segfaults
Date Mon, 01 Sep 2014 20:30:20 GMT
Bjoern Petri created CELIX-147:
----------------------------------

             Summary: 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