(core) fixed linefeed truncation in shmkey, issue persist with state and control_chld