http://bugs.winehq.org/show_bug.cgi?id=16333
Summary: Steam won't install - MSI_OpenDatabaseW open failed Product: Wine Version: 1.1.9 Platform: PC URL: http://storefront.steampowered.com/download/SteamInstall .msi OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msi AssignedTo: wine-bugs@winehq.org ReportedBy: matthias.sweertvaegher@gmail.com
Created an attachment (id=17637) --> (http://bugs.winehq.org/attachment.cgi?id=17637) full output of running the installer
hi,
I am on a fairly new opensuse 11 install with wine 1.1.9 package from the opensuse build service.
I just installed wine and first ran "wine iexplore http://google.com" to have the gecko engine installed for steam.
then I run "wine start SteamInstall.msi" which yields: fixme:exec:SHELL_execute flags ignored: 0x00000500 fixme:msi:MSI_OpenDatabaseW open failed r = 8003001e for L"C:\windows\temp\msi1da.tmp"
I see some window very briefly popup and disappear again. if I run "wine msiexec /i SteamInstall.msi" I just get the second fixme and no window popup
I don't know if this may be related, but I know, on windows, if you start an MSI install from a subst'ed drive (for example, on my real windows I have T: mapped to C:\temp), it will fail too with no clear reason..
http://bugs.winehq.org/show_bug.cgi?id=16333
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
http://bugs.winehq.org/show_bug.cgi?id=16333
--- Comment #1 from matthias sweertvaegher matthias.sweertvaegher@gmail.com 2008-12-04 17:51:44 --- by adding the attachment, I accidentally submitted. I still wanted to add I can also reproduce it without installing the gecko engine (using a clean .wine).
This bug is very reproducable on my system, please tell me what to do so I can help investigate. I attached the full debug output, which may be a bit bulky to analyse.. :) but if I look around MSI_OpenDatabaseW, I can already see a sharing violation.. strange?
Also permissions on the .tmp file are adequate, no problem there. I also tried running the process on a single CPU using schedtool. no luck.
I hoped that would be the culprit, because it seems the only difference between my laptop and desktop (on which it _does_ work). They both run opensuse 11.0.
thanks
matthias
http://bugs.winehq.org/show_bug.cgi?id=16333
--- Comment #2 from Austin English austinenglish@gmail.com 2008-12-04 19:34:07 --- Please attach _plain_ terminal output. +all is way to verbose.
http://bugs.winehq.org/show_bug.cgi?id=16333
--- Comment #3 from matthias sweertvaegher matthias.sweertvaegher@gmail.com 2008-12-05 04:12:01 --- I'm a bit confused, the plain terminal output is already in my original bug description..?
on successive calls to "wine msiexec /i SteamInstall.msi" I get the following output:
fixme:msi:MSI_OpenDatabaseW open failed r = 8003001e for L"C:\windows\temp\msi1da.tmp"
which each time a different temp file.
sorry if I was not clear enough
http://bugs.winehq.org/show_bug.cgi?id=16333
--- Comment #4 from Lei Zhang thestig@google.com 2008-12-05 21:14:42 --- Actually the +all trace is only 5MB uncompressed. ImplBIGBLOCKFILE_ReadAt() failed with STG_E_READFAULT because BIGBLOCKFILE_MapPage() mapped page 10 to NULL. It looks like MapViewOfFile() got called with a negative numBytesToMap.
Looking back up in the log, right after the temp msi file got created, we call get FileSize on it. On your machine, it says: 0009:trace:storage:BIGBLOCKFILE_FileInit file len 1224709
On my machine, it says: 0009:trace:storage:BIGBLOCKFILE_FileInit file len 1567232
I'm guessing the ole code tried to read past the end of the file, but why is the file smaller on your system? Are you out of disk space?
http://bugs.winehq.org/show_bug.cgi?id=16333
--- Comment #5 from matthias sweertvaegher matthias.sweertvaegher@gmail.com 2008-12-06 09:17:59 --- thanks for having a look at the trace.
I am definitely not out of disk space. Currently I have 5+ GiB of free space.
Could it be that my laptop tries to determine the file size to read before it is finished unpacking/writing it? Maybe some race condition which is only exposed on my laptop? The most obvious difference I see between my laptop and desktop, is that my laptop is a much faster machine (2.2Ghz core 2 duo vs an athlonxp 2500+ = ~1.83Ghz) and also having 2 cores vs 1. It also has 2 GiB ram vs 1 GiB. It's probably irrelevant, but I try to be complete :)
or maybe some delayed write/read? here are the mounting options: /dev/disk/by-id/scsi-SATA_ST9120823AS_5NJ0M2MQ-part6 / ext3 acl,user_xattr 1 1
http://bugs.winehq.org/show_bug.cgi?id=16333
--- Comment #6 from Lei Zhang thestig@google.com 2008-12-07 03:09:03 --- Another thought - can you check with md5sum and make sure your SteamInstall.msi isn't corrupt?
http://bugs.winehq.org/show_bug.cgi?id=16333
matthias sweertvaegher matthias.sweertvaegher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #7 from matthias sweertvaegher matthias.sweertvaegher@gmail.com 2008-12-07 15:16:49 --- ouch.. this is embarassing.. I just redownloaded the file, and I already see it is a different filesize. On my desktop, I had the correct file, on my laptop, the download must somehow have been interrupted/corrupted.. I suspected an msi bug as I've had trouble before and had to use the exe installer back then (didn't find it this time). But this time, wine was not to blame, sorry!
I close the bug with the resolution invalid, right?
http://bugs.winehq.org/show_bug.cgi?id=16333
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Lei Zhang thestig@google.com 2008-12-08 00:52:11 --- Yes, closing invalid.