Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run (0xc0000022) #5697

Closed
pGore33p opened this issue Jun 24, 2017 · 26 comments
Closed

Unable to run (0xc0000022) #5697

pGore33p opened this issue Jun 24, 2017 · 26 comments
Labels
investigate Not sure what the problem is yet.

Comments

@pGore33p
Copy link

OS: Windows 8 64 bit
Version: 0.0.8
Commit/Build: b9e9ddf

For some reason, when I try to run the executable, it just pulls up this error. My antivirus is disabled, i have admin privileges but alas.

Older versions worked before so I have no idea why it doesn't work now.

Any ideas?

I have DirectPlay enabled. It still doesn't work

@Gymnasiast
Copy link
Member

I have never seen this error at all.

Open a Command Prompt, navigate to the OpenRCT2 directory and run

openrct2 --verbose

and paste the output.

BTW: You don't need DirectPlay for OpenRCT2. You only need it for RCT1 and RCT2.

@Gymnasiast Gymnasiast added the investigate Not sure what the problem is yet. label Jun 24, 2017
@pGore33p
Copy link
Author

Where's the output? It doesn't give me anything in the command prompt when i try that

@rwjuk
Copy link
Contributor

rwjuk commented Jun 24, 2017

Okay, can you take a screenshot of the error you get when trying to run the game?

@pGore33p
Copy link
Author

openrct 2

That basically says: "The application failed to start correctly. Press OK to end the application."

@Gymnasiast
Copy link
Member

Can you provide the last version number that worked, and the first that didn't?

@pGore33p
Copy link
Author

I don't really remember the last version it was like a year ago. I think it was 0.0.4.

@Gymnasiast
Copy link
Member

We really need to know which version still works. Try out older versions until you find one that works, then pinpoint the exact version that introduced this error for you.

Although I have to say I'm not sure if it's really an error in OpenRCT2, but we'll find out.

@pGore33p
Copy link
Author

pGore33p commented Jun 24, 2017

Version 0.0.7 is causing the issue. All the previous versions do work. It may be one of the 0.0.6 builds i think.

@IntelOrca
Copy link
Contributor

This message can appear if you are running x64 apps on 32-bit OS or if DLLs are called that are a different architecture.

@pGore33p
Copy link
Author

I have a 64 bit system so that's not the cause.
And which DLLs do you mean?

@rwjuk
Copy link
Contributor

rwjuk commented Jun 25, 2017

@pGore33p Let's say you have a 64-bit process, but it tries to load and call a 32-bit DLL.

The '32-bit shaped' block won't fit in the '64-bit shaped' hole, and the whole process crashes. I somehow doubt that's the problem here though. Could you try the following please?

  1. Run OpenRCT2, let it crash.
  2. Press CTRL-SHIFT-ESC to load Task Manager
  3. Right click the OpenRCT2 process in the list and click 'Create Dump'.
  4. Upload the dump file it gives you here for us to have a look at.

@pGore33p
Copy link
Author

@rwjuk
Copy link
Contributor

rwjuk commented Jun 29, 2017

Hmmm.... windbg reports the bugcheck as LOADER_INIT_FAILURE_80000003, which makes me think that IntelOrca's DLL suspicions might be right. The full windbg analysis is here.

@IntelOrca
Copy link
Contributor

@pGore33p Could you try download and using the 32-bit version?

@rwjuk
Copy link
Contributor

rwjuk commented Jun 29, 2017

Furthermore, if that doesn't work, could you do this - it'll help us with diagnostics.

  1. Download Process Monitor: https://technet.microsoft.com/en-us/sysinternals/processmonitor.aspx
  2. Run it.
  3. Run OpenRCT2 and let it crash.
  4. In Process Monitor, go to "File > Save".
  5. Leave all options at their default setting, save the PML file somewhere and upload it here.

@pGore33p
Copy link
Author

Nah, didn't work.
The PML file: https://www.mediafire.com/?et6tuo78wauu65l

@rwjuk
Copy link
Contributor

rwjuk commented Jun 29, 2017

@pGore33p Interesting, I can see from the trace that OpenRCT2 tries to load its DLL (openrct2.dll) but gets an access denied error. I'm not sure what could cause that without looking at your machine.

@IntelOrca - any suggestions for further diagnostics?

@IntelOrca
Copy link
Contributor

IntelOrca commented Jun 29, 2017

Some virus scanners have been known to block OpenRCT2. But OP says they disabled it. I am not sure what else could be the issue.

@pGore33p
Copy link
Author

My antivirus is disabled so that isn't the case too.
It's strange that both the x86 and x32 versions don't work

I hope it gets fixed soon :/

@pGore33p
Copy link
Author

I don't think that's related, but I just got this EXACT same error when i tried to open Skype, but I don't remember doing anything to my computer over the past few days/weeks.

@rwjuk
Copy link
Contributor

rwjuk commented Jul 1, 2017

If the exact same issue is happening with other applications, it is very unlikely to be an issue with OpenRCT2. The reason older versions work is probably because back then we didn't need to load a separate DLL.

It's likely to be something on your system blocking the loading of DLLs. I'll close this as it's not really an OpenRCT2 issue.

@rwjuk rwjuk closed this as completed Jul 1, 2017
@IntelOrca
Copy link
Contributor

IntelOrca commented Jul 1, 2017

Older versions (but not too old) did not use a DLL - that is probably also why.

@pGore33p
Copy link
Author

pGore33p commented Jul 19, 2017

Still can't get it to work even though i disabled every thing that can potentionally block my dll. I've tried everything.
I guess I'll just refer to PC Support Forums then. Idk.

@IntelOrca
Copy link
Contributor

@pGore33p you could install a clean Windows 10.

@janisozaur
Copy link
Member

Or Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigate Not sure what the problem is yet.
Projects
None yet
Development

No branches or pull requests

5 participants