RSRV crash on disconnect
Bug #1707931 reported by
mdavidsaver
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
EPICS Base | Status tracked in 7.0 | |||||
3.14 |
Fix Released
|
Medium
|
mdavidsaver | |||
3.15 |
Fix Released
|
High
|
mdavidsaver | |||
3.16 |
Fix Released
|
High
|
mdavidsaver | |||
7.0 |
Fix Released
|
High
|
mdavidsaver |
Bug Description
Freddie Akeroyd reports IOC crashes when on CA client disconnect.
http://
The first symptom observed, an assertion failure, is the same as lp:541330.
> assert(size <= ntohs ( pMsg->m_postsize ))
Changed in epics-base: | |
milestone: | 3.16.branch → none |
To post a comment you must log in.
Subsequent investigation identified two issues:
1. lack of locking around send_err() in camessage() leads to a crash.
2. signed -> unsigned cast of return from recv() leads to re-processing old receive buffer contents.
The first issue effects all targets. The second is WIN32 specific.