portable server library intermittent hang on UNIX systems

Bug #541240 reported by Jeff Hill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Fix Released
Medium
Jeff Hill

Bug Description

The portable server is obliged to use an additional socket
binding to the broadcast address of the interface when
running on UNIX. Unfortunately, when changing the primary
socket to non-blocking mode, the code failed to also set
this additional socket to non-blocking mode. This caused
a hang until the input buffer fills on UNIX systems, but this was not noticed because on many EPICS systems there
is sufficent broadcast traffic to make any associated
delay small. Also, if EPICS_CA_MAX_ARRAY_BYTES is small
then the problem is less likely to occur.

Additional information:

See also Mantis 176

Original Mantis Bug: mantis-196
    http://www.aps.anl.gov/epics/mantis/view_bug_page.php?f_id=196

Tags: cas 3.14
Revision history for this message
Jeff Hill (johill-lanl) wrote :

fixed in R3.14.8

Revision history for this message
Andrew Johnson (anj) wrote :

R3.14.8 Release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.