Dear maintainer, I'm sorry for my last question firstly. I'm not sure whether I have right to show you full test codes because the discipline of my company is strict at it. The error occurs when the test case is running the following code. err = msgctl(msqid, IPC_STAT, NULL); As you can see, the parameter buf is NULL. In this situation, the orig in msgctl will be NULL, and then cause the problem I described last time. [cid:image003.png@01D8ED82.534EBC70] Wish Pu