http://bugs.winehq.org/show_bug.cgi?id=25990
Summary: MS Word 2007 crashes after closing document Product: Wine Version: 1.3.12 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: shannon.vanwagner@gmail.com
Created an attachment (id=33130) --> (http://bugs.winehq.org/attachment.cgi?id=33130) terminal output while opening then closing the application
Word 2007 document opens/saves ok, but when I close the application, I get the "msft Office Word has encountered a problem and needed to close. We are sorry for the inconvenience." message.
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2011-02-04 08:37:16 CST --- You should close this crash dialogue to get a crash trace in log. Also Word will ask to recover (restart) you need to disable that on its own crash dialogue if it comes up.
http://bugs.winehq.org/show_bug.cgi?id=25990
Shannon VanWagner shannon.vanwagner@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #33130|0 |1 is obsolete| |
--- Comment #2 from Shannon VanWagner shannon.vanwagner@gmail.com 2011-02-04 10:51:47 CST --- Created an attachment (id=33134) --> (http://bugs.winehq.org/attachment.cgi?id=33134) terminal output while opening then closing the application
I did what you said, here's what I get.. The last line in the text is where it just hangs there. After awhile I pushed enter and it went back to the CLI. Still didn't seem to create a crash trace. Should I run with the debug flag or something? If so, please provide the command. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #3 from Rosanne DiMesio dimesio@earthlink.net 2011-02-04 16:11:44 CST --- I can't reproduce this.
To stop Office's error handler from intercepting the crash, add dw20.exe to the Libraries tab and set it to disabled.
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #4 from Rosanne DiMesio dimesio@earthlink.net 2011-02-04 16:15:31 CST --- Also, your summary says the crash happens when closing a document, but your initial description says it's when closing the application. Which is it?
http://bugs.winehq.org/show_bug.cgi?id=25990
Shannon VanWagner shannon.vanwagner@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|MS Word 2007 crashes after |MS Office Word(2007) has |closing document |encountered a problem and | |needed to close after | |closing application
--- Comment #5 from Shannon VanWagner shannon.vanwagner@gmail.com 2011-02-04 17:58:07 CST --- Thank you for the workaround!
Also, your summary says the crash happens when closing a document, but your initial description says it's when closing the application. Which is it?
I guess I mean application. The document/application seem to be one in the same as I don't see a way to close the inner document (like excel). Cheers!
http://bugs.winehq.org/show_bug.cgi?id=25990
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|MS Office Word(2007) has |MS Word 2007 crashes after |encountered a problem and |closing application |needed to close after | |closing application |
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #6 from Shannon VanWagner shannon.vanwagner@gmail.com 2011-02-07 17:56:32 CST --- Created an attachment (id=33186) --> (http://bugs.winehq.org/attachment.cgi?id=33186) Wine crashing after disabling library dw20.exe
With dw20.exe disabled, then closing word, Wine crashes and provides the attached output.
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #7 from Shannon VanWagner shannon.vanwagner@gmail.com 2011-02-07 17:58:13 CST --- Also, when I open Word Options > Add Ins, then click on "Person Name (Outlook Recipients)... FNAME.DLL", that triggers the crash, same as closing the application. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=25990
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #8 from Dan Kegel dank@kegel.com 2011-02-08 08:54:27 CST --- Your log lacks symbols in the backtrace. Please use a fresh build of wine from git, or alternately, install the debugging symbols package that goes with the wine package you installed. Then reproduce the problem with dw20 disabled and see if the backtrace now has filenames and line numbers for the wine part.
http://bugs.winehq.org/show_bug.cgi?id=25990
Shannon VanWagner shannon.vanwagner@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #33186|0 |1 is obsolete| |
--- Comment #9 from Shannon VanWagner shannon.vanwagner@gmail.com 2011-02-08 13:12:28 CST --- Created an attachment (id=33195) --> (http://bugs.winehq.org/attachment.cgi?id=33195) Wine crashing after disabling library dw20.exe
Here's the crash dump after exiting Word 2007, using wine-1.3.13-48-gae3e768
http://bugs.winehq.org/show_bug.cgi?id=25990
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hans@meelstraat.net
--- Comment #10 from Hans Leidekker hans@meelstraat.net 2011-02-08 13:21:17 CST --- What happens if you set riched20 to native?
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #11 from Dan Kegel dank@kegel.com 2011-02-08 13:24:18 CST --- I think he does already. He just didn't mention it.
Thanks for the new logs. Key part is: =>0 0x7d915210 (0x0033f3f0) 1 HOOK_CallHooks+0x12a(id=0x2007a, code=0, wparam=0, lparam=0, unicode=0) [dlls/user32/hook.c:444] 2 HOOK_CallHooks+0x12a(id=0x5, code=0x4, wparam=0x2007a, lparam=0, unicode=0x1) [dlls/user32/hook.c:444] 3 DestroyWindow+0x6d(hwnd=0x2007a) [dlls/user32/win.c:1644]
So Word 2007 is hooking DestroyWindow, and is crashing when the hook is called.
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #12 from Hans Leidekker hans@meelstraat.net 2011-02-08 13:39:26 CST --- (In reply to comment #11)
I think he does already. He just didn't mention it.
I asked because I saw some richedit fixmes the log from comment #9.
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #13 from Rosanne DiMesio dimesio@earthlink.net 2011-02-08 20:16:42 CST --- The log indicates native urlmon and shlwapi are being used; neither are needed for Office 2007. This bug may be invalid.
Shannon, please test this in a clean wineprefix (no winetricks or other tweaks).
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #14 from Dan Kegel dank@kegel.com 2011-02-08 20:23:04 CST --- Yeah, come clean, Shannon :-)
He was using ie7 to work around bug 21914.
http://bugs.winehq.org/show_bug.cgi?id=25990
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #15 from Rosanne DiMesio dimesio@earthlink.net 2011-02-08 21:19:44 CST --- (In reply to comment #12)
I asked because I saw some richedit fixmes the log from comment #9.
If riched20 is set to native,builtin rather than native, that would cause a crash. See http://bugs.winehq.org/show_bug.cgi?id=14980#c17.
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #16 from Shannon VanWagner shannon.vanwagner@gmail.com 2011-02-09 18:15:49 CST --- (In reply to comment #10)
What happens if you set riched20 to native?
Well... I originally thought I had done that.. but I hadn't. But now I have, and the problem still exists.
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #17 from Shannon VanWagner shannon.vanwagner@gmail.com 2011-02-09 18:17:37 CST --- (In reply to comment #15)
(In reply to comment #12)
I asked because I saw some richedit fixmes the log from comment #9.
If riched20 is set to native,builtin rather than native, that would cause a crash. See http://bugs.winehq.org/show_bug.cgi?id=14980#c17.
So I triple checked to ensure riched20 is set to native for word.exe, so that shouldn't be the problem. Also, the only other workaround I'm using is winetricks ie7. Are there more workarounds that I need to use that you know of? Thanks!
http://bugs.winehq.org/show_bug.cgi?id=25990
--- Comment #18 from Rosanne DiMesio dimesio@earthlink.net 2011-02-09 20:08:35 CST --- (In reply to comment #17)
Also, the only other workaround I'm using is winetricks ie7. Are there more workarounds that I need to use that you know of? Thanks!
You shouldn't be using winetricks ie7 at all, and it could be the cause of the problem. Please retest in a clean wineprefix as I asked.
http://bugs.winehq.org/show_bug.cgi?id=25990
Shannon VanWagner shannon.vanwagner@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #19 from Shannon VanWagner shannon.vanwagner@gmail.com 2011-02-10 00:26:41 CST --- (In reply to comment #18)
(In reply to comment #17)
Also, the only other workaround I'm using is winetricks ie7. Are there more workarounds that I need to use that you know of? Thanks!
You shouldn't be using winetricks ie7 at all, and it could be the cause of the problem. Please retest in a clean wineprefix as I asked.
Ms. DiMesio, woops, sorry for glossing over your previous directions. You're absolutely right!! I tried again with no workarounds and the problem has disappeared as you said. I marked this bug as resolved, is that the right thing to do? Thank you very much for your time, I really appreciate everyone's efforts and this magnificent wine software. Sincerely.
http://bugs.winehq.org/show_bug.cgi?id=25990
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #20 from Dmitry Timoshkov dmitry@codeweavers.com 2011-02-10 02:51:43 CST --- Closing invalid.