Created attachment 175782 [details] Close new document from template crashes LO First occurred on 7.2.1.2, then upgraded to 7.2.2.2 and still occurs macOS 10.14.6 (18G9323) Attached video shows issues, with one exception... it doesn't show the CMD-W which actually closes the template. Steps to reproduce: Open LO. In startcenter, choose Templates, and click on a template to open. Then close what you just opened (seen as close on Windows menu). But, document doesn't actually close (you can't see from screen scrape, but LO menu becomes just "File Tools Windows" after the close attempt). Since document didn't really close, do a CMD-W to close it and document closes. Then try to create another document from templates and LO crashes. At this point, any attempt to create from a template fails until LO quits and restarts (not shown in video). Attaching the template used as URL
URL is zip of template used.
Note: I suspect that bugs 145167 https://bugs.documentfoundation.org/show_bug.cgi?id=145167 and 145168 https://bugs.documentfoundation.org/show_bug.cgi?id=145168 are related.
Just for the record, on pc Debian x86-64 with master sources updated today, I don't reproduce this. When I launched LO, after having opened a template for Writer, I got only 1 document, not 2 like you so I didn't continue the test. Perhaps LO Macos only bug?
I think the video of the document is misleading because screencap does not show the title bar ("feature" of screen cap?). What is actually happening is that it is only creating a single document. When I close the document (CMD-W or Window-->Close) it actually closes the document and the title bar reverts to "File Tools Window" and the document area shows a document. But, if you look at Windows, there is no document. You also can't do a "Close" from the Windows menu, because it thinks there is no document. You can't edit or manipulate what appears to be a document... but CMD-W will close it. Also, trying to recover a non-existent document after LO crashes is another indicator that the "second document" never existed to begin with. As I noted previously, I think there is a bug (macOS specific?) in the way that creating a document from a template works. This is the second of two bugs I filed regarding that issue (see above in bug flow). Bottom line: Trying to create stuff as new documents from Templates is flaky, but creating by other paths (e.g., New document, then apply template) works flawlessly. Now, a debugging question: When LO crashes, I get no crash dump. Why? How can I force it to generate a crash dump so there is something a little more substantial to work from to debug this?? Thanks!
I have found that this bug is caused by the Mac OS Extended Journaled File System. I have several other crashes apparently caused by the same or related problems. These bugs have been consolidated into bug 145950. Please let me know if you require additional information.
Setting as duplicate of the new master bug *** This bug has been marked as a duplicate of bug 145950 ***