]
Bela Ban resolved JGRP-732.
---------------------------
Resolution: Done
MPING: OutOfMemory exception can cause receiver thread to terminate
-------------------------------------------------------------------
Key: JGRP-732
URL:
http://jira.jboss.com/jira/browse/JGRP-732
Project: JGroups
Issue Type: Bug
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.6.3, 2.7
In MPING, we have something like this:
while(receiver is running) {
try {
receiver mcast packet
create input stream
parse data into message
pass message up
}
finally {
close input stream // <==== BUG
}
}
If we get an OOME in the finally clause, then the receiver thread will terminate. This
means we will not be able to handle discovery requests from other members any more !
FIX: we need to catch the closing of the input stream
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: