https://bugs.winehq.org/show_bug.cgi?id=41627
Bug ID: 41627 Summary: MS Word 2010 crash when exiting on Wine stable 1.8.5. Product: Wine Version: 1.8.5 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: msctf Assignee: wine-bugs@winehq.org Reporter: jactry92@gmail.com Regression SHA1: 18eda5e82a5b92a5f22ccfcfd446ed288341fc1bmsc Distribution: ---
Created attachment 55987 --> https://bugs.winehq.org/attachment.cgi?id=55987 Log with +tid+msctf+richedit+eventlog channel.
This is a regression in Wine 1.8.5, it is fine when 1.8.4.
Steps for reproducing: 1. Install MS Office 2010 when Wine 1.8.5 and set riched20.dll as 'using native first'; 2. Run Word and try to exit it or save a file. And it will crash.
By a `git bisect` I find this was included by 18eda5e82a5b92a5f22ccfcfd446ed288341fc1b. And this bug can't be reproduced by current Wine development.
https://bugs.winehq.org/show_bug.cgi?id=41627
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=14980 CC| |mstefani@redhat.com
https://bugs.winehq.org/show_bug.cgi?id=41627
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|18eda5e82a5b92a5f22ccfcfd44 |18eda5e82a5b92a5f22ccfcfd44 |6ed288341fc1bmsc |6ed288341fc1b
https://bugs.winehq.org/show_bug.cgi?id=41627
--- Comment #1 from Michael Stefaniuc mstefani@redhat.com --- I don't have MS Office 2010 so could you please try to cherry pick this commit that Nikolay recommended?
commit 79025d0e6af8189fd6c3360c5bd335954124c205 Author: Jacek Caban jacek@codeweavers.com Date: Fri May 27 18:35:24 2016 +0200
msctf: Don't call ITextStoreACP::UnadviseSink in context destructor.
I don't see a crash in the attached log but I see tons of Context_Destructor() calls and the above patch is for that function. Sadly the test that Jacek added for the above commit doesn't crashes without that patch.
https://bugs.winehq.org/show_bug.cgi?id=41627
--- Comment #2 from Jactry Zeng jactry92@gmail.com --- Hi, (In reply to Michael Stefaniuc from comment #1)
I don't have MS Office 2010 so could you please try to cherry pick this commit that Nikolay recommended?
commit 79025d0e6af8189fd6c3360c5bd335954124c205 Author: Jacek Caban jacek@codeweavers.com Date: Fri May 27 18:35:24 2016 +0200
msctf: Don't call ITextStoreACP::UnadviseSink in context destructor.
I don't see a crash in the attached log but I see tons of Context_Destructor() calls and the above patch is for that function. Sadly the test that Jacek added for the above commit doesn't crashes without that patch.
Yes, Jacek's patch can fix this bug.
Thanks!
https://bugs.winehq.org/show_bug.cgi?id=41627
--- Comment #3 from Michael Stefaniuc mstefani@redhat.com --- Thanks for testing! I have staged the patch for 1.8.6.
https://bugs.winehq.org/show_bug.cgi?id=41627
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=41627
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |--- Resolution|--- |FIXED Fixed by SHA1| |6a1ac3e31c43debc83d8689f974 | |0a6565402e51a Status|NEW |RESOLVED
--- Comment #4 from Michael Stefaniuc mstefani@redhat.com --- The fix is included in 1.8.6 as 6a1ac3e31c43debc83d8689f9740a6565402e51a
https://bugs.winehq.org/show_bug.cgi?id=41627
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Michael Stefaniuc mstefani@redhat.com --- Closing bugs fixed in 1.8.6.