[Bug 49102] Origin: unable to download and install games. "Origin needs to download files and is waiting for permission"

WineHQ Bugzilla wine-bugs at winehq.org
Fri May 8 03:31:43 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49102

--- Comment #24 from Contex <contexmoh+winehq at gmail.com> ---
Created attachment 67100
  --> https://bugs.winehq.org/attachment.cgi?id=67100
OriginClientService.exe backtrace when launching it manually

OK there's definitely something wrong with the Origin Client Service. When I
try to stop it on the VM it successfully stops:

---
$ net stop "Origin Client Service"
The Origin Client Service service is stopping.
01a1:fixme:service:EnumDependentServicesW 0x21f3a8 0x00000001 (nil) 0x00000000
0x32ddc4 0x32ddc8 - stub
The Origin Client Service service was stopped successfully.
---

Whilst on the host:
---
$ net stop "Origin Client Service"
The Origin Client Service service is stopping.
012d:fixme:service:EnumDependentServicesW 0x2143d8 0x00000001 (nil) 0x00000000
0x32ddc4 0x32ddc8 - stub
Pipe closed.
---

But when checking services running on the host, it's still running (it's fully
stopped on the VM):
---
$ net start
The following services are running:
    Origin Client Service
    Origin Web Helper Service
    Plug and Play Service
    Winedevice1
    Winedevice2
---

If I try to stop it again on the host:
---
$ net stop "Origin Client Service"
The Origin Client Service service is stopping.
01da:fixme:service:EnumDependentServicesW 0x2143d8 0x00000001 (nil) 0x00000000
0x32ddc4 0x32ddc8 - stub
Service cannot accept control message.
---

It never stops though?

So I tried something else, I tried to manually  launch client service on the
host and VM (normally the Origin.exe process launches the service by executing
the OriginClientService.exe).

I renamed OriginClientService.exe to OriginClientService2.exe, meaning
Origin.exe wouldn't be able to find it, and most likely error out, and yep:
---
Starting OriginClientService C:\Program Files
(x86)\Origin\OriginClientService.exe
Attempting to start Origin Client Service as a system service...
Service is currently stopped.
Starting Origin Client Service, args = C:\Program Files
(x86)\Origin\OriginClientService.exe -args:LWNhbGxlclByb2Nlc3NJZDo4
Unable to start service: Origin Client Service Error: 2
Couldn't split environment key/value pair from:
---

I then manually tried to launch the OriginClientService.exe just like
Origin.exe does it and it errors out on the host!

VM (it executes and keeps running, Origin.exe is then able to create folders
etc.):
---
$ ./OriginClientService.exe -args:LWNhbGxlclByb2Nlc3NJZDo4
Logfile: C:\ProgramData/Origin/Logs/OriginClientService_Log
Local time: Fri May 8 09:59:49 2020
DACL converted successfully
SetNamedSecurityInfo succeeded
debug header="Cmdline Param" cmdLine="-args:LWNhbGxlclByb2Nlc3NJZDo4 "
Cmdline Param: -args:LWNhbGxlclByb2Nlc3NJZDo4 Cmdline Param:
Origin Client Service: Running as normal executable.
OS Version: 10.0.17134
LocalSocket listening on pipe: OriginClientService
Found escalation args
Successfully determined caller process ID: 8
---

Host (it executes and exits. Origin.exe fails creating folders etc. Notice the
last 2 lines are missing):
---
$ ./OriginClientService.exe -args:LWNhbGxlclByb2Nlc3NJZDo4
Logfile: C:\ProgramData/Origin/Logs/OriginClientService_Log
Local time: Fri May 8 10:11:50 2020
DACL converted successfully
SetNamedSecurityInfo succeeded
debug header="Cmdline Param" cmdLine="-args:LWNhbGxlclByb2Nlc3NJZDo4 "
Cmdline Param: -args:LWNhbGxlclByb2Nlc3NJZDo4 Cmdline Param:
Origin Client Service: Running as normal executable.
OS Version: 10.0.17134
LocalSocket listening on pipe: OriginClientService
---

The host also dumps a backtrace! See the attachment.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list