Saving NSDocument to fileURL of an already opened NSDocument causes deadlock
| Originator: | kastansn | ||
| Number: | rdar://15121042 | Date Originated: | 01-Oct-2013 |
| Status: | Open / Duplicate 8820573 | Resolved: | |
| Product: | OS X SDK | Product Version: | OS X 10.8.5 (12F37) |
| Classification: | Reproducible: | Always |
Summary: Saving two NSDocument instances for the same fileURL causes a deadlock on any file change. Steps to Reproduce: - Open TextEdit - Open new file, save as "identical.rtf". Leave its window open. - Open another file, save as "identical.rtf" - Chose "File -> Save" from the menu - Notice deadlock / beach ball Expected Results: Not a deadlock. The original NSDocument instance should perhaps automatically close. Actual Results: deadlock / beach ball Version: OS X 10.8.5 (12F37) Configuration: TextEdit is running sandboxed.
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!