Illegal link type 1

Bug #1528314 reported by mdavidsaver
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
EPICS Base
Fix Released
Low
Andrew Johnson

Bug Description

> epics> exit
> dbGetLinkValue: Illegal link type 1
> Thread scan-1 (0x6f867e0) can't proceed, suspending.

This error occurs when a scan thread races doCloseLinks() during IOC shutdown. It can't be avoided until scan threads are shutdown as part of the normal IOC exist sequence, which will have to wait until use of epicsExitLater() becomes more prevalent.

In the mean time I don't think there is no reason for this to be a cantProceed() as dbGetLink() returns an error code which is checked consistently by the record/device support code I've seen.

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

Agreed, also fixing dbPutLink() to match.

Note that this only affects the 3.15 branch, the code was rewritten in 3.16.

Changed in epics-base:
assignee: mdavidsaver (mdavidsaver) → Andrew Johnson (anj)
milestone: none → 3.15.6
status: Triaged → Fix Committed
Changed in epics-base:
status: Fix Committed → Fix Released
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.