[jboss-jira] [JBoss JIRA] (JGRP-1888) FD_SOCK race condition during stop
Ladislav Thon (JIRA)
issues at jboss.org
Tue Nov 4 04:44:35 EST 2014
[ https://issues.jboss.org/browse/JGRP-1888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017041#comment-13017041 ]
Ladislav Thon commented on JGRP-1888:
-------------------------------------
Just noting that the reproducer requires using Java 7, because it uses {{InetAddress.getLoopbackAddress()}}. Changing that to {{InetAddress.getLocalHost()}} seems to be fine (the test fails when unpatched and passes when patched).
> FD_SOCK race condition during stop
> ----------------------------------
>
> Key: JGRP-1888
> URL: https://issues.jboss.org/browse/JGRP-1888
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 2.6.16
> Reporter: Dennis Reed
> Assignee: Dennis Reed
> Fix For: 2.6.23
>
> Attachments: jgrp-1888-test.tar.gz
>
>
> There is a race condition in FD_SOCK between stop() shutting down the pinger thread and the BroadcastTask.
> It first shuts down the broadcast task, and then the pinger thread.
> If the pinger thread generates a new suspected event in this interval, it re-starts the broadcast task, which creates a new thread suspecting that node repeatedly until the JVM exits.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list