[Bug 299806] New: gdb prints random characters when debugged process terminates unexpectedly