Fix for dbCa warning seg-fault
Don't queue an errlog message containing a pointer to a string that will disappear soon. Thanks to Matt Pearson for the bug analysis.
This commit is contained in:
@@ -142,7 +142,6 @@ static void addAction(caLink *pca, short link_action)
|
||||
if (++removesOutstanding >= removesOutstandingWarning) {
|
||||
errlogPrintf("dbCa::addAction pausing, %d channels to clear\n",
|
||||
removesOutstanding);
|
||||
printLinks(pca);
|
||||
}
|
||||
while (removesOutstanding >= removesOutstandingWarning) {
|
||||
epicsMutexUnlock(workListLock);
|
||||
|
||||
Reference in New Issue
Block a user