[jboss-jira] [JBoss JIRA] (JGRP-1869) TP.registerProbeHandler not thread safe
RH Bugzilla Integration (JIRA)
issues at jboss.org
Mon May 16 02:16:01 EDT 2016
[ https://issues.jboss.org/browse/JGRP-1869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237871#comment-13237871 ]
RH Bugzilla Integration commented on JGRP-1869:
-----------------------------------------------
dereed at redhat.com changed the Status of [bug 1336088|https://bugzilla.redhat.com/show_bug.cgi?id=1336088] from NEW to MODIFIED
> TP.registerProbeHandler not thread safe
> ---------------------------------------
>
> Key: JGRP-1869
> URL: https://issues.jboss.org/browse/JGRP-1869
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.2.12
> Reporter: Dennis Reed
> Assignee: Bela Ban
> Priority: Minor
> Fix For: 3.5
>
>
> TP.registerProbeHandlers is not thread safe since it modifies preregistered_probe_handlers outside of any synchronization.
> If a thread calls this method while another thread is inside startDiagnostics (which can happen easily with a shared transport), it can cause a NullPointerException when startDiagnostics is looping through preregistered_probe_handlers.
> Access to preregistered_probe_handlers should be synchronized.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list