Latest Steam update breaks wine

Bug #1257734 reported by MikeCamel
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Wine
Fix Released
Medium
wine1.4 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Latest Steam update breaks wine: Steam crashes (reproducible every time).

Steam built: Oct 30 2013 at 11:09:22
Steam package versions: 1383158641 / 13831586...

Seems likely to be associated with report here: https://appdb.winehq.org/objectManager.php?sClass=version&iId=19444

The report specifies wine 1.7.7, with patches here: http://source.winehq.org/git/wine.git/commit/fd65b0a1c3f5f981cc110ca9e6a0edb6323e1296

The code in these patches seems to be fine to apply manually (they won't auto-patch due to the version changes, and the start point for the second is slightly changed), and compiles with no problem on my amd64 system. I've been unable to test due to wine1.4-win32 dependencies which I've not been able to resolve.

Steam crash file attached.

Very happy to test fix candidates.

-Mike.

Revision history for this message
In , Le Gluon Du Net (legluondunet) wrote :

Created attachment 46692
crash log

Hello,

when I launch Steam install program, it crashes at the end of the install, then continue with downloading the whole client. It is not an important crash because it doesn't stop the install. I joined the log of the crash.

Thank you for your help.

Config:
Ubuntu 13.10
wine 1.7.7 32 bits
AMD radeon 7850 with Ubuntu Catalyst drivers 13.101 version
Processor Intel i5-3570 3,4 Ghz

Revision history for this message
In , Focht (focht) wrote :
Download full text (4.7 KiB)

Hello folks,

confirming.

It's not the installer crashing but the post-install part, the startup of Steam client service.

--- snip ---
...
002f:Starting process L"C:\\Program Files\\Steam\\bin\\SteamService.exe" (entryproc=0x43d6fa)
...
002f:Call advapi32.RegCreateKeyExA(80000002,0045f478 "SYSTEM\\CurrentControlSet\\Services\\EventLog\\Application\\Steam Client Service",00000000,00000000,00000000,00020006,00000000,0033fca0,00000000) ret=00407fe3
002f:Ret advapi32.RegCreateKeyExA() retval=00000000 ret=00407fe3
002f:Call KERNEL32.GetModuleFileNameA(00000000,0033fa9c,00000200) ret=00408022
002f:Ret KERNEL32.GetModuleFileNameA() retval=0000002b ret=00408022
002f:Call KERNEL32.lstrlenA(0033fa9c "C:\\Program Files\\Steam\\bin\\SteamService.exe") ret=0040802f
002f:Ret KERNEL32.lstrlenA() retval=0000002b ret=0040802f
002f:Call advapi32.RegSetValueExA(0000003c,0045f424 "EventMessageFile",00000000,00000002,0033fa9c,0000002c) ret=0040804d
002f:Ret advapi32.RegSetValueExA() retval=00000000 ret=0040804d
002f:Call advapi32.RegSetValueExA(0000003c,0045f3ec "TypesSupported",00000000,00000004,0033fc9c,00000004) ret=00408097
002f:Ret advapi32.RegSetValueExA() retval=00000000 ret=00408097
002f:Call advapi32.RegCloseKey(0000003c) ret=004080cf
002f:Ret advapi32.RegCloseKey() retval=00000000 ret=004080cf
002f:Call advapi32.RegCreateKeyExA(80000002,0045b2f4 "Software\\Valve\\Steam",00000000,00000000,00000000,000f003f,00000000,0033fdb0,00000000) ret=00408118
002f:Ret advapi32.RegCreateKeyExA() retval=00000000 ret=00408118
002f:Call advapi32.OpenProcessToken(ffffffff,00000020,0033fc94) ret=0040a8d9
002f:Ret advapi32.OpenProcessToken() retval=00000001 ret=0040a8d9
002f:Call advapi32.LookupPrivilegeValueA(00000000,004601d4,0033fc04) ret=0040a824
002f:Ret advapi32.LookupPrivilegeValueA() retval=00000001 ret=0040a824
002f:Call advapi32.AdjustTokenPrivileges(00000044,00000000,0033fbf4,00000010,0033fbe4,00000000) ret=0040a86e
002f:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7bc5bc1c ip=7bc5bc1c tid=002f
002f:trace:seh:raise_exception info[0]=00000001
002f:trace:seh:raise_exception info[1]=00000000
002f:trace:seh:raise_exception eax=00000000 ebx=7bccf000 ecx=00000000 edx=00000004 esi=0033fb80 edi=0033fb98
002f:trace:seh:raise_exception ebp=0033fb18 esp=0033fa50 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206
002f:trace:seh:call_stack_handlers calling handler at 0x43e230 code=c0000005 flags=0
--- snip ---

MSDN: http://msdn.microsoft.com/en-us/library/windows/desktop/aa375202%28v=vs.85%29.aspx

--- quote ---
OOL WINAPI AdjustTokenPrivileges(
  _In_ HANDLE TokenHandle,
  _In_ BOOL DisableAllPrivileges,
  _In_opt_ PTOKEN_PRIVILEGES NewState,
  _In_ DWORD BufferLength,
  _Out_opt_ PTOKEN_PRIVILEGES PreviousState,
  _Out_opt_ PDWORD ReturnLength
);

...
PreviousState [out, optional]

    A pointer to a buffer that the function fills with a TOKEN_PRIVILEGES structure that contains the previous state of any privileges that the function modifies. That is, if a privilege has been modified by this function, the privilege and its previous state are contained in the TOKEN_PRIVILEGES structure referenced by PreviousState. If the P...

Read more...

Revision history for this message
In , mr.larch (bunglehead) wrote :

Ok, I'll do some tests for that.

Revision history for this message
In , Focht (focht) wrote :

Hello folks,

this is fixed by commit http://source.winehq.org/git/wine.git/commit/fd65b0a1c3f5f981cc110ca9e6a0edb6323e1296

Thanks Nikolay

--- snip ---
...
002f:Call advapi32.OpenProcessToken(ffffffff,00000020,0033fc94) ret=0040a8d9
002f:Ret advapi32.OpenProcessToken() retval=00000001 ret=0040a8d9
002f:Call advapi32.LookupPrivilegeValueA(00000000,004601d4,0033fc04) ret=0040a824
002f:Ret advapi32.LookupPrivilegeValueA() retval=00000001 ret=0040a824
002f:Call advapi32.AdjustTokenPrivileges(00000044,00000000,0033fbf4,00000010,0033fbe4,00000000) ret=0040a86e
002f:Ret advapi32.AdjustTokenPrivileges() retval=00000000 ret=0040a86e
002f:Call advapi32.ConvertStringSidToSidA(0045fd6c,0033fc90) ret=0040a908
002f:Ret advapi32.ConvertStringSidToSidA() retval=00000001 ret=0040a908
002f:Call advapi32.ConvertStringSidToSidA(004601e8,0033fc8c) ret=0040a916
002f:Ret advapi32.ConvertStringSidToSidA() retval=00000001 ret=0040a916
002f:Call advapi32.SetEntriesInAclA(00000002,0033fc20,00000000,0033fc88) ret=0040a977
002f:Ret advapi32.SetEntriesInAclA() retval=00000000 ret=0040a977
002f:Call advapi32.SetNamedSecurityInfoA(0045f590 "MACHINE\\SOFTWARE\\Valve\\Steam",00000004,00000004,00000000,00000000,0012cc88,00000000) ret=0040a992
002f:Ret advapi32.SetNamedSecurityInfoA() retval=00000000 ret=0040a992
--- snip ---

Regards

Revision history for this message
In , Focht (focht) wrote :

*** Bug 35046 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Bruno Gonçalves de Jesus (00cpxxx) wrote :

*** Bug 35047 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Focht (focht) wrote :

*** Bug 35048 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Focht (focht) wrote :

Hello folks,

refining summary in hope it will avoid more duplicates...

Regards

Revision history for this message
In , Focht (focht) wrote :

Hello folks,

commit fd65b0a1c3f5f981cc110ca9e6a0edb6323e1296 should also be considered for cherry pick into stable branch if another 1.6.x happens before 1.8

Regards

Revision history for this message
In , Focht (focht) wrote :

Well, considering this rather unusual API usage breaks all existing Wine versions I'm still undecided whether this can be attributed to laziness or foul play.
MSDN is quite clear about it ...

Regards

Revision history for this message
MikeCamel (mike-hingston) wrote :
Revision history for this message
In , Babaei-wine (babaei-wine) wrote :

I built the latest version of Wine from the git repository with this patch (wine-1.7.7-160-g58d96f7), and I'm still experiencing a failure of the latest version of Steam to load. It was working well yesterday prior to the latest Steam update.

I tested fresh installing Steam from the executable to a new WINEPREFIX using wine-1.7.7-160-g58d96f7 and it still failed to load after the Steam Guard step.

With both 1.7.7 and wine-1.7.7-160-g58d96f7, it successfully loads into offline mode and shows the following version information:
Steam Client Application
Built: Dec 3 2013, at 18:36:49
Steam API: v012
Steam package versions: 1386125885/1386125885

I've posted details including a trace here. I can generate more specific debugging information if it could help.
http://appdb.winehq.org/commentview.php?iAppId=1163&iVersionId=19444&iThreadId=88676

Revision history for this message
In , Focht (focht) wrote :

Hello babaei,

the log from your link shows you have not built from 'pure' Wine GIT source tree.
You have several unsupported patches applied.

If you can still reproduce with 'pure' Wine create a new bug.
The original breaking issue from Dec. 03 client update has been identified and fixed -> bug closed.
Please refrain from continuing this bug with unrelated issues.

FYI: Several people can run Steam Dec. 03 update without problems in online mode.

Regards

Revision history for this message
In , Babaei-wine (babaei-wine) wrote :

I can assure you that I built my system directly from the git repository without modifications and ran it directly from the source tree. I will open a new bug, but I don't want it to be flagged as a duplicate of this one.

I commented on this bug report because, in addition to not wanting to be flagged as a duplicate, I was still experiencing "Steam Client update from Dec. 3, 2013 breaks Wine" in spite of the fix.

Revision history for this message
In , Focht (focht) wrote :

Hello babaei,

well then this pulseaudio thingy must be my imagination ...

--- quote ---
Even with the release version of 1.7.7, I never saw it fail with a page fault (like in the linked bug).
--- quote ---

Which basically means your system is somehow borked (broken WINEPREFIX, host issues).
Every Wine version that received the Dec. 03 Steam Client update should crash the same way in 'online' mode.

To reiterate: any further bug reports at this time, stating "steam is broken" or "it still doesn't work" will definitely confuse _lots_ of people that are currently seeking help in many forums/mailing lists/entertainment websites.

Your problem seems to be an isolated issue.
There is #winehq IRC channel on freenode so join and we might work this one out without creating further confusion.

Regards

Revision history for this message
In , Babaei-wine (babaei-wine) wrote :

*** Bug 35050 has been marked as a duplicate of this bug. ***

Revision history for this message
Tom Fifield (fifieldt) wrote :

Tracked by http://bugs.winehq.org/show_bug.cgi?id=35030 (RESOLVED FIXED)

Fix is in git, will be released with wine 1.7.8

Changed in wine1.4 (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Focht (focht) wrote :

*** Bug 35051 has been marked as a duplicate of this bug. ***

Revision history for this message
MikeCamel (mike-hingston) wrote :

May I ask if we have any likely dates for wine 1.7.8 making it into Saucy?

Revision history for this message
In , Xxblx-duke (xxblx-duke) wrote :

Hello.

Tell me please. Bug already fixed. Fix patch commited into main branch.
So. Does that fix (patch) will be included into 1.7.8 release?

Thanks.
Oleg.

Revision history for this message
In , Bruno Gonçalves de Jesus (00cpxxx) wrote :

(In reply to comment #16)
> Tell me please. Bug already fixed. Fix patch commited into main branch.
> So. Does that fix (patch) will be included into 1.7.8 release?

Yes.

Revision history for this message
In , Xxblx-duke (xxblx-duke) wrote :

> Yes.

Thanks for your answer.

p.s. I interested because I don't do dev team "string freeze" before release or no.

Thanks.
Oleg.

Changed in wine:
importance: Unknown → Medium
status: Unknown → Fix Released
Revision history for this message
In , Justin (colitisscope) wrote :

Created attachment 46752
Still crashes, reloads not working

Wine is still crashing after steam loads. my previous report may have contained the first crash report which actually isnt a crash. This is the second report which comes up after steam actually crashes. I am attempting to load an older version of wine but ive been through several system re-installs to try and remedy the crash and nothing changes.

Revision history for this message
In , mr.larch (bunglehead) wrote :

(In reply to comment #19)
> Created attachment 46752 [details]
> Still crashes, reloads not working
>
> Wine is still crashing after steam loads. my previous report may have
> contained the first crash report which actually isnt a crash. This is the
> second report which comes up after steam actually crashes. I am attempting to
> load an older version of wine but ive been through several system re-installs
> to try and remedy the crash and nothing changes.

Why are you using old wine build (1.4.1)? Fix is only present in current dev branch, and will be included in release 1.7.8 (expected today). It makes no sense to try with older versions.

Revision history for this message
In , Alexandre Julliard (julliard) wrote :

Closing bugs fixed in 1.7.8.

Revision history for this message
In , Focht (focht) wrote :

*** Bug 35074 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Rol4heath (rol4heath) wrote :

i was updated this morning to 1.7.8. still doesn't work
in peace
roland

Revision history for this message
In , Focht (focht) wrote :

Hello roland ,

--- quote ---
i was updated this morning to 1.7.8. still doesn't work in peace
roland
--- quote ---

there were already several occasions where people claimed "after the update steam still doesn't work for me", absolutely convinced they made no mistake - and in the end it turned out not being Wine's fault.

To all people who are inclined to post/comment here:

If the upgrade to Wine 1.7.8 didn't resolve the Steam problem, please go to WineHQ user support forums (http://forum.winehq.org/) and get help there.
Bugzilla is not meant for end user support.

Thanks.

Regards

Revision history for this message
In , Focht (focht) wrote :

*** Bug 35086 has been marked as a duplicate of this bug. ***

Revision history for this message
In , LaunchpadUser (lpusr) wrote :

WIne 1.7.8 fixed this isuue (Steam starts again) - but now audio stutters in all games! :-(

Revision history for this message
In , mr.larch (bunglehead) wrote :

*** Bug 35091 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Bruno Gonçalves de Jesus (00cpxxx) wrote :

*** Bug 35099 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Matt (mattcbro) wrote :

Wine 1.7.8 is not fixing this bug for me. I have frequent authentication failure hangs. When I first install steam I can get in but can not download any games or verify the game cache.

After I log out of steam, logging in again causes steam to fail during authentication.

Interestingly I get the same error prior to the 1.7.8 fix,
[1215/013422:ERROR:resource_bundle.cc(417)] Failed to load C:\Program Files (x86)\Steam\bin\chrome.pak
Some features may not be available.
fixme:iphlpapi:NotifyAddrChange (Handle 0x5e7d4d8, overlapped 0x5c974b0): stub
fixme:winsock:WSALookupServiceBeginW (0x5e7d5d8 0x00000ff0 0x5e7d620) Stub!
[1215/013422:ERROR:network_change_notifier_win.cc(126)] WSALookupServiceBegin failed with: 8

Just as a sanity check
wine --version
wine-1.7.8

Revision history for this message
In , mr.larch (bunglehead) wrote :

*** Bug 35148 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Bruno Gonçalves de Jesus (00cpxxx) wrote :

*** Bug 35154 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Bruno Gonçalves de Jesus (00cpxxx) wrote :

*** Bug 35183 has been marked as a duplicate of this bug. ***

Revision history for this message
In , mr2131 (mr2131) wrote :

(In reply to comment #20)
> (In reply to comment #19)
> > Created attachment 46752 [details]
> > Still crashes, reloads not working
> >
> > Wine is still crashing after steam loads. my previous report may have
> > contained the first crash report which actually isnt a crash. This is the
> > second report which comes up after steam actually crashes. I am attempting to
> > load an older version of wine but ive been through several system re-installs
> > to try and remedy the crash and nothing changes.
>
> Why are you using old wine build (1.4.1)? Fix is only present in current dev
> branch, and will be included in release 1.7.8 (expected today). It makes no
> sense to try with older versions.

Wine 1.4.1 is the version that Ubuntu installs. Even after adding the ppa source lists, Ubuntu doesn't seem to update to newer versions of Wine. I'm using Ubuntu 13:10 and it still lists my version of Wine as 1.4.1. You may have found a solution to the problem, but The 12/03 update still has my version of Steam kiboshed.

Mark

Revision history for this message
In , Z-ken (z-ken) wrote :

*** Bug 35271 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Scott Ritchie (scottritchie) wrote :

You need to install wine1.6 / wine1.7 packages after adding the PPA, it won't replace the wine1.4 package.

Revision history for this message
In , Focht (focht) wrote :

*** Bug 35295 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Gyebro69 (gyebro69) wrote :

*** Bug 35299 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Sovejohn (sovejohn) wrote :

Created attachment 47093
this is what the error says.

i have no clue what any of this means and it says on here that this was fixed but for me its not.

Revision history for this message
In , Sovejohn (sovejohn) wrote :

this error keeps happining to me everytime i want to log into steam through wine. it gives me the login screen and after giving it my pass, steam sends me an email with a code to enter because apparently im useing a new computer. but after entering the code wine says somethings having serious issues and steam then closes. im not good with computers so i have absolutly no clue whats happining.anyone have any advice for me?

Revision history for this message
In , Focht (focht) wrote :

Hello sovejohn,

you need to upgrade to Wine 1.7.8 or newer.
If you don't know how to do that, please go to WineHQ user support forums (http://forum.winehq.org/) and get help there.

Bugzilla is not meant for end user support.

Thanks.

Regards

Revision history for this message
In , Triangle400 (triangle400) wrote :

Ok, take 2...

I was going to post something about the bug, that i do get still, but i realised i'm using wine 1.6.1. I have something to look into before i get deeper into that. The fact remains that the "how to" on this bug mainly links here and here it mainly says to figure it out yourself...

TLDR, please elaborate in the "how to" on this bug as this does not contain user friendly instructions.

Revision history for this message
In , Austin English (austinenglish) wrote :

(In reply to comment #41)
> Ok, take 2...
>
> I was going to post something about the bug, that i do get still, but i
> realised i'm using wine 1.6.1. I have something to look into before i get
> deeper into that. The fact remains that the "how to" on this bug mainly
> links here and here it mainly says to figure it out yourself...
>
> TLDR, please elaborate in the "how to" on this bug as this does not contain
> user friendly instructions.

As it says in comment #40, you need to update to wine 1.7.8.

Revision history for this message
In , Alexandre Julliard (julliard) wrote :

Removing 1.6.x milestone from bugs included in 1.6.2.

Revision history for this message
In , Dimesio (dimesio) wrote :

*** Bug 35654 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dimesio (dimesio) wrote :

*** Bug 39202 has been marked as a duplicate of this bug. ***

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.