[Bug 44649] Program crashes when using copy/paste