http://bugs.winehq.org/show_bug.cgi?id=21071
Summary: Word 2003 cannot open or save normal.dot in 1.1.35 Product: Wine Version: 1.1.35 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole32 AssignedTo: wine-bugs@winehq.org ReportedBy: dimesio@earthlink.net
Created an attachment (id=25269) --> (http://bugs.winehq.org/attachment.cgi?id=25269) Console log from opening and then trying to close Word 2003
The file normal.dot is where Word stores the default document settings; it is normally loaded on startup, and updated on closing.
In 1.1.35, on opening, Word throws up the error message "Word cannot open the existing (Normal)." Clicking okay, the dialog closes and the program seems to operate normally. However, on closing, Word throws up the error message: "There is a serious disk error on file ~WRD0000" and after clicking okay, "The network path where you are trying to save the document is unavailable." (The path is in ~/.wine, on my local disk--there is no network.) After closing that dialog by clicking cancel, and trying to close the program again, Word this time throws up the message "Changes have been made that affect the global template. Do you want to save those changes?" If you answer no, the app will finally close. (If you answer yes, it repeats the message about a serious disk error.)
A regression test identified the following:
8518323e070377c07a3d421573dc3348e28008a4 is first bad commit commit 8518323e070377c07a3d421573dc3348e28008a4 Author: Vincent Povirk vincent@codeweavers.com Date: Mon Nov 30 15:40:53 2009 -0600
ole32: Don't track the stream size in storage stream objects.
We can't do this safely when there are multiple objects for a single stream.
:040000 040000 03f7f71bd69c56252c1191b7140570179b2a3bab 5e48fe78948361dcbcb5be2941a10eb8030ce4a6 M dlls
http://bugs.winehq.org/show_bug.cgi?id=21071
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
http://bugs.winehq.org/show_bug.cgi?id=21071
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21071
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz
--- Comment #1 from Wylda wylda@volny.cz 2009-12-19 05:12:19 ---
Confirming for word 2000 Professional. When i click save, wine crashes. So it ruins Word usability. Regression test also showed me:
8518323e070377c07a3d421573dc3348e28008a4 is first bad commit commit 8518323e070377c07a3d421573dc3348e28008a4 Author: Vincent Povirk vincent@codeweavers.com Date: Mon Nov 30 15:40:53 2009 -0600
ole32: Don't track the stream size in storage stream objects.
We can't do this safely when there are multiple objects for a single stream.
:040000 040000 03f7f71bd69c56252c1191b7140570179b2a3bab 5e48fe78948361dcbcb5be2941a10eb8030ce4a6 M dlls
--private keyword: bisected
http://bugs.winehq.org/show_bug.cgi?id=21071
--- Comment #2 from Wylda wylda@volny.cz 2009-12-19 05:20:22 --- Created an attachment (id=25275) --> (http://bugs.winehq.org/attachment.cgi?id=25275) Word2000 Professional - console log from wine-1.1.35
http://bugs.winehq.org/show_bug.cgi?id=21071
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Word 2003 cannot open or |Word 2000 & 2003 cannot |save normal.dot in 1.1.35 |open normal.dot or save any | |files in 1.1.35
--- Comment #3 from Rosanne DiMesio dimesio@earthlink.net 2009-12-19 10:40:03 --- I did a little more testing, and found that Word 2003 also cannot save any files. It doesn't crash, but it gives me the same error message as when trying to save the normal.dot file.
Changing the summary to include Word 2000 and inability to save files in general.
http://bugs.winehq.org/show_bug.cgi?id=21071
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Summary|Word 2000 & 2003 cannot |Word 2000 & 2003 cannot |open normal.dot or save any |open normal.dot or save any |files in 1.1.35 |files Ever Confirmed|0 |1
--- Comment #4 from Vitaliy Margolen vitaliy@kievinfo.com 2009-12-19 12:34:26 --- Confirming per comment 1.
http://bugs.winehq.org/show_bug.cgi?id=21071
--- Comment #5 from Vincent Povirk madewokherd@gmail.com 2009-12-19 14:14:03 --- Looks like I screwed up STGM_SIMPLE mode. The first time StorageImpl_StreamWriteAt is used, it will assume the stream has been set to the size it asked for and try to write to a small block chain instead of a big block chain.
http://bugs.winehq.org/show_bug.cgi?id=21071
--- Comment #6 from Vincent Povirk madewokherd@gmail.com 2009-12-19 14:28:30 --- Patch sent: http://www.winehq.org/pipermail/wine-patches/2009-December/083006.html
http://bugs.winehq.org/show_bug.cgi?id=21071
--- Comment #7 from Wylda wylda@volny.cz 2009-12-19 14:52:35 --- (In reply to comment #6)
Patch sent: http://www.winehq.org/pipermail/wine-patches/2009-December/083006.html
Yes, that patch fixes saving in Word2000. Thank you for your work Vincent!
http://bugs.winehq.org/show_bug.cgi?id=21071
--- Comment #8 from Rosanne DiMesio dimesio@earthlink.net 2009-12-19 18:40:22 --- The patch fixes Word 2003, too.
http://bugs.winehq.org/show_bug.cgi?id=21071
--- Comment #9 from Wylda wylda@volny.cz 2009-12-22 05:40:32 ---
Word 2000 Professional is FIXED in current git (wine-1.1.35-56-g13a9c03).
http://bugs.winehq.org/show_bug.cgi?id=21071
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2009-12-22 06:14:03 --- Fixed.
http://bugs.winehq.org/show_bug.cgi?id=21071
Ruslan b7.10110111@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |b7.10110111@gmail.com
--- Comment #11 from Ruslan b7.10110111@gmail.com 2009-12-25 10:11:36 --- *** Bug 21157 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=21071
--- Comment #12 from Saulius K. saulius2@gmail.com 2010-01-02 02:45:05 --- (in reply to Comment #5)
Looks like I screwed up STGM_SIMPLE mode. The first time StorageImpl_StreamWriteAt is used, it will assume the stream has been set to the size it asked for and try to write to a small block chain instead of a big block chain.
Vincent, is it feasible to write some test case to prevent such regression in future?
http://bugs.winehq.org/show_bug.cgi?id=21071
Saulius K. saulius2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |saulius2@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21071
--- Comment #13 from Vincent Povirk madewokherd@gmail.com 2010-01-02 11:20:17 --- Yes. You had to do the following things to trigger the bug: * Create a new storage in STGM_SIMPLE mode. * Create a new stream in the storage. * Write a number of bytes less than 4096. * Write enough bytes to bring the size up to at least 4096. * Save the storage. * Open the storage again and read the entire stream back.
But I don't think this particular bug is likely to return. At the moment, I'm more worried about the fact that we don't test the binary format at all. We just check that ole32 can save storages and reopen the ones it has saved.
http://bugs.winehq.org/show_bug.cgi?id=21071
Peterson peterson.235@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peterson.235@gmail.com
--- Comment #14 from Peterson peterson.235@gmail.com 2010-01-04 14:19:11 --- When is this going to be released?
When I update to the version of Wine in which this problem is adressed will I have to reinstall office?
http://bugs.winehq.org/show_bug.cgi?id=21071
--- Comment #15 from Wylda wylda@volny.cz 2010-01-05 03:14:00 --- (In reply to comment #14)
When is this going to be released?
It already been released (since wine-1.1.35-56-g13a9c03). If you are waitning for official release (1.1.36), then from my personal observation officials come on Friday (every 2 ~ 3 weeks). So i would bet, that it is going to release this Friday.
When I update to the version of Wine in which this problem is adressed will I have to reinstall office?
I don't think so. But you know, backup is backup ;)
http://bugs.winehq.org/show_bug.cgi?id=21071
Jeff Zaroyko jeffz@jeffz.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Jeff Zaroyko jeffz@jeffz.name 2010-01-09 04:40:47 --- Closing bugs fixed in 1.1.36.
http://bugs.winehq.org/show_bug.cgi?id=21071
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |8518323e070377c07a3d421573d | |c3348e28008a4
http://bugs.winehq.org/show_bug.cgi?id=21071
--- Comment #17 from Saulius K. saulius2@gmail.com 2011-12-04 18:26:20 CST --- Not filling "Fixed by" with http://source.winehq.org/git/wine.git/commit/b3511ebb70072d8615d09db638e47e9... ?
http://bugs.winehq.org/show_bug.cgi?id=21071
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b3511ebb70072d8615d09db638e | |47e9f3d86fcfc