two bugs
Hi all,
Two bugs found during testing:
1.
When dynamically linked with linuxthreads (instead of nptl on RHEL4), sisp start failed. You can reproduce the problem by set LD_ASSUME_KERNEL=2.4.19 . We won't use this kind of combination, only a caveat to those who want to deploy openclovis
on 2.4 system. Pls let me know if anyone find the reason of the problem.
2.
In cpmBmStartNextLevel, make the change below, or sisp_amf might endup in infinite loop (happened touch this problem in my test enviroment)
rc = clCpmSUInstantiate(&suName, &nodeName, &srcInfo);
if (rc == CL_OK)
p = p->pNext;
else
{
-- rc = clOsalMutexUnlock(cpmBmTable->lcmCondVarMutex);
++ clOsalMutexUnlock(cpmBmTable->lcmCondVarMutex);
CL_CPM_CHECK_2(CL_DEBUG_ERROR, CL_CPM_LOG_2_BM_SU_INST_ERR,
p->compName, rc, rc, CL_LOG_DEBUG,
CL_LOG_HANDLE_APP);
}
Regards
Eddy
