[sr-dev] git:master: core: exit if addstr() cannot get pkg memory