Xcode Hangs When Attempting To Open A Named Pipe
| Originator: | simon | ||
| Number: | rdar://32694258 | Date Originated: | 2017-06-10 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode 9.0 beta 1 (9M136h) |
| Classification: | Reproducible: | Always |
Summary: This is a followup to rdar://28666836. I was attempting to test whether this Radar was fixed by adding a named pipe as a resource on Xcode 9 beta 1, but managed to make Xcode hang instead! To make things interesting, when adding a named pipe to an Xcode 9 project, Xcode now makes such named piped visible when you attempt to add them in a project. Steps to Reproduce: 1. Create a single view iOS project in Xcode. 2. Create a new folder in your project directory, whether under Finder or a terminal. 3. Navigate to your new folder in a terminal & run these commands one after the other. mkfifo my_pipe gzip -9 -c < my_pipe > out.gz & 4. Still in the terminal in your newly created folder, for the sake of comparison, add a random 1024 byte binary file using this command: head -c 1024 </dev/urandom > bfile.dat 5. Drag your newly created folder into Xcode. Expected Results: I expect to see an icon in the editor area matching the filesystem entry on Xcode, as happens with any file Xcode can’t read like bfile.dat.
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!