Page MenuHomeFeedback Tracker

Exit code: 0xC0000142 - STATUS_DLL_INIT_FAILED
Closed, ResolvedPublic

Description

When I try to open Arma 3 using A3 Launcher, an error message appears saying the following:

Arma 3 has exited in an unusual manner
Launcher has detected that Arma 3 was closed unsually. If you encounter an
error that you cannot solve by yourself, please report it to our Feedback
Tracker, or contact our support team.
Exit code: 0xC0000142 - STATUS_DLL_INIT_FAILED

Details

Severity
Crash
Resolution
Fixed
Reproducibility
Unable To Reproduce
Operating System
Windows 7 x64
Category
Error Message
Additional Information

Hi!
Lately I've been having numerous problems with Arma 3 which I've been trying to nail down. I'm running Windows 7 Professional 64-Bit and have run Arma 3 perfectly fine in the past for over 140 hours, but at some point in time it's completely destroyed itself unbeknownst to me.

I've checked the community wiki page with common exit codes, but '..142' isn't any of the offered options and I can't seem to fix this. There also seems to be a common fix going around that shows something with "Fred's Registry Tweak" is messing with the launch, but I've never seen, heard of, or used this. I added the Registry Key for UseLargePages=0 anyways, which was the fix for that, but that hasn't worked either. I've tried completely reinstalling Arma 3 twice, launched with and without mods, removed all mods from the game completely, and currently I can't run it with BattleEye because of another error that it throws on its own (Which I've reported to BattlEye's support). I've tried running the arma3.exe alone, which yields the same error (0xC0000142) wrapped in windows dialog instead of Arma 3's prettier error message. There was another report here that had the same error code, but the resolution found there didn't help me in the slightest.

I saved the report log that comes up after you press "Show details and prepare report..." here: http://goo.gl/C265YC
Any insight on the problem would be greatly appreciated! Though sadly, I'm 90% sure there will be more errors to come after this one.

Event Timeline

Minty created this task.Jun 9 2016, 4:10 AM
Minty added a comment.EditedJun 9 2016, 5:12 AM

List of "fixes" that I've tried:

Game-specific fixes (that don't work)
• Reinstalling Arma 3 (x2)
• Verifying Integrity of Game Cache (x3)
• Backing up Arma 3 using Steam's Backup feature, deleting, and then restoring it.
• Disabling and Uninstalling all Mods
• Deleting (renaming and moving) configuration files in My Documents/Arma3
• Enabling/Disabling/Fidgeting with Windows Compatability Mode
• Ran all of the appropriate files for DirectX, DotNet, and VCRedist (C++) in the _CommonRedist folder

Windows-specific fixes (that don't work)
• Setting registry UseLargePages=0 (Fred's Registry Tweak Fix, didn't use this but tried it anyways)
• Creating a Registry DWORD for LoadAppInit_DLLs and setting to 0
• Using Sysinternals' Autoruns.exe to rename/update AppInit DLLs (There is nothing there)
• Reinstall/Repair of Microsoft Visual C++ 2015 (x64)
• Updating Windows (Which should Reinstall/Repair/Update DirectX)
• Updating/Changing graphics drivers
• Running 'sfc /scannow' in an elevated command prompt
• Running multiple antivirus and antimalware programs (Windows Security Essentials, Malwarebytes)

Currently Trying:
• Saving up for a new PC...

Hello,

it seems the link that for the report files that you have provided was blocked by google for violating terms of their services so I cannot get to those files.

Please try to send me a fresh link that will work.

Thank you

razazel claimed this task.Jun 9 2016, 11:52 AM
razazel changed the task status from New to Need More Info.
Minty added a comment.Jun 9 2016, 12:23 PM

Odd, not sure why Mediafire is against Goo.gl terms of services.
Direct link is http://www.mediafire.com/download/9dzwohxv6b6j95z/ArmaReport_Log_20160609T012747.zip

razazel changed the task status from Need More Info to Reviewed.Jun 13 2016, 4:47 PM

Not sure about that either, anyway thank you for the reports :)

Hello,

so I have checked you reports and all of them are pretty old, the latest RPT shows that it was created with version 1.56

Did you check out this ticket? Player there is dealing with the same issue that seems to be caused by how he was installing the game.
T76705

Since the issue is DLL related, reinstalling/updating the DirectX, VC++ Redist and you GPU drivers is the one thing that you should most definitely try so if you already haven't done so, please do. Windows

Thank you

Minty added a comment.EditedJun 14 2016, 1:02 AM

Unfortunately, yes, I have checked out the other two tickets on the issue and neither seemed to help, though the bit that I don't understand is the RPT looking old since I've already reinstalled DirectX, VC++ Redist, GPU Drivers, and ARMA 3 itself probably two or three times each.

I am, however, trying to reinstall ARMA 3 again after deleting and unsubscribing from all mods in the workshop to make sure there isn't some kind of dependency, I guess? Not sure why that would impact the startup of the game but it's worth a shot.

Update: Didn't work at all

razazel added a comment.EditedJun 14 2016, 8:50 AM

Could you please take a look into following directory?
C:\Users\<username>\AppData\Local\Arma 3

You should see the bidmp, mdmp and rpt files there. rpt files, try to find the most recent one (they have timestamp as a file name so it should be easy) and once you do please send it here. In case you are not sure about the rpt, it can be opened in notepad so you can check what version was this created for in the header of the file.

Minty added a comment.EditedJun 14 2016, 10:07 PM

I'm not fully sure if the RPTs use ISO 8601 or something else (YYYY/MM/DD vs YYYY/DD/MM), but the RPT on the far right has 2015 in it, so I'm assuming it's the one on the far left however if you could tell me how to make Arma make a new one I could make sure it's up to date and give it to you much more confidently.

It might be worth noting (not sure) that I'm on the steam version, not sure if they get updated separately, but updates should be automatic as I'm sure you know. Steam shows "Current content BuildID: 1158175"

Hello,

the RPT file actually generates each the the game process runs.

Could you please take a look at this page
https://forums.bistudio.com/topic/188201-eden-update-status-dll-init-failed/page-2

Guys there were dealing with the same issue, in their case it was BattlEye blocking a .dll file that.
User MPL TRACE found a solution so his posts might help you the most.

Please let me know if any of that has helped or if BattlEye is popping up similar error.

And one more thing, since the game RPTs were of not much help, please try to export the launcher logs.
Steps on how to export logs from ARMA 3 Launcher:

  1. Start ARMA 3 Launcher
  2. Click Options menu
  3. Drop down menu will appear
  4. Select: Prepare Arma Troubleshooting error and save those files
  5. A notification will pop up with the name of the generated file

Please note that it might take some time for files to collect.

Once you have those, please upload them here.

Thank you

Minty added a comment.EditedJun 15 2016, 9:44 PM

Yes, thank you!
The fix MPL Trace found worked, for the most part. The game now launches and it, so far, has fixed both the launch error and BattlEye error I was getting as well! Though I don't think it works 100% as intended because the opening screen is underwater and it keeps bringing up the EDEN popup whenever I start (Which may be normal, I'm not sure) I can at least play now.
Renaming 'api-ms-win-core-fibers-l1-1-1.dll' to 'api-ms-win-core-fibers-l1-1-1_bak.dll' is what fixed it for me.

Again, thank you so much for helping with this!

It's fixed. Ticket can be closed.

Dwarden closed this task as Resolved.Jan 19 2020, 9:48 AM
Dwarden changed Resolution from Open to Fixed.