Fixed core dump when task_ipc_mode = 2