pbcopy input not captured 10-20% of the time

Originator:JSM_2001
Number:rdar://47016194 Date Originated:1/2/2019
Status:Open Resolved:
Product:macOS - Keyboards, mice, trackpafs Product Version:10.14.1
Classification:Serious Bug Reproducible:Always
 
Summary:
`pbcopy` fails at a pretty significant rate, making the clipboard unusable. From the terminal fails about 10-20% of the time in the trivial case of copying plain text content. It seems to fail like 30-40% of the time when using CMD+C to copy lines of code in Xcode, making it very difficult to use the machine productively. Looking at the contents of the Clipboard in Finder indicates that there is nothing on the Clipboard when this happens.

Steps to Reproduce:
Run the following command in a Terminal many times: 

> echo foo | pbcopy && pbpaste

Expected Results:
The output `foo` should appear consistently in the Terminal each time the command is run.

Actual Results:
`foo` is output is displayed sometimes, but sometimes nothing appears.

Version/Build:
MacOS Mojave 10.14.1

Configuration:
MacBook Pro (15-inch, 2018)
Full system info dump attached

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!