https://bugs.winehq.org/show_bug.cgi?id=37202
Bug ID: 37202 Summary: MSWord hangs on opening a document opened in other program Product: Wine Version: 1.7.24 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole32 Assignee: wine-bugs@winehq.org Reporter: b7.10110111@gmail.com
Created attachment 49455 --> https://bugs.winehq.org/attachment.cgi?id=49455 Backtrace from winedbg. Process stopped by Ctrl+C after hanging.
How to reproduce:
1. Have a .doc file 2. Open it in LibreOffice 3. Try opening it from MS Word 4. See Word hang 5. Close LibreOffice 6. See file finally opened in MS Word, it's no longer hung
As I've tested similar scenario in a virtual machine, there Word gives a dialog saying that the file is locked for reading by another process.
It's a regression: 65887802c502c4eeeb3fc905990e3e2f4548a482 is the first bad commit commit 65887802c502c4eeeb3fc905990e3e2f4548a482 Author: Vincent Povirk vincent@codeweavers.com Date: Fri Apr 18 16:37:56 2014 -0500
ole32: Initial storage file locking implementation.
:040000 040000 b86f27a6f6561d9f35fd01166388e2e7a0380c28 68646bad80d38b40a014cb1cbd57b62aa19abad2 M dlls
The hang occurs in NtDelayExecution called by NtLockFile (see attached backtrace).