修改换库后出现的崩溃问题,编译脚本修改,进程控制脚本添加调试

This commit is contained in:
lnk
2026-06-17 16:20:13 +08:00
parent 0b8a6739f6
commit 5e933b6729
7 changed files with 187 additions and 53 deletions

View File

@@ -860,8 +860,24 @@ ST_UCHAR TrgOps [1]; /* 8 bit bitstring */
if(ret == SD_SUCCESS)
{
list_add_last(&((ALL_RCB_INFO *)clientNetInfo->user_info)->rcb_info_list, rcb_info); /* add RCB to list*/
}
//lnk20260617防止复用崩溃
//list_add_last(&((ALL_RCB_INFO *)clientNetInfo->user_info)->rcb_info_list, rcb_info); /* add RCB to list*/
chnl_usr_t *chnl_usr = (chnl_usr_t *)clientNetInfo->user_info;
if (chnl_usr == NULL || chnl_usr->all_rcb_info == NULL) {
printf("[RPT_REGISTER][ERROR] invalid user_info=%p all_rcb_info=%p dom=%s rcb=%s\n",
clientNetInfo ? clientNetInfo->user_info : NULL,
chnl_usr ? chnl_usr->all_rcb_info : NULL,
dom_name ? dom_name : "NULL",
rcb_name ? rcb_name : "NULL");
rcb_info_destroy(rcb_info);
rcb_info = NULL;
return NULL;
}
list_add_last(&chnl_usr->all_rcb_info->rcb_info_list, rcb_info);
}
else{
rcb_info_destroy(rcb_info);
rcb_info = NULL;