Hi Caiwen, >> >> What is the real reason why the watchlist is NULL at the point in time this >> function is being called? > > Yes, you are right. The correct comment should be "If at that time, "spn_watch" has been removed ofonod will crash due to > "sim->spn_watches" is NULL." > Then please fix the patch description > "spn_watch" is removed at "sim_free_main_state" function when SIM PIN is blocked. This is done before gprs/network atom is removed. > Then please fix the underlying issue itself. Would signaling LOCKED_OUT state first before freeing the main state do the trick? > About network registration status watch, the original comment is true. Please elaborate. Regards, -Denis